New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1429 (FLUSH called with -1 as argument) – NEMO

Opened 9 years ago

Closed 9 years ago

#1429 closed Bug (fixed)

FLUSH called with -1 as argument

Reported by: timgraham Owned by: timgraham
Priority: low Milestone:
Component: OCE Version: v3.6
Severity: Keywords:
Cc:

Description

line 326 of step.F90:
IF(lwm) CALL FLUSH ( numoni )
needs to be protected by an extra IF statement:
IF(lwm .AND. numoni /= -1) CALL FLUSH ( numoni )
to avoid FLUSH being called in cases when the ice model is not used and numoni=-1 (e.g. GYRE config).

On some compilers this causes the model to crash.

Commit History (1)

ChangesetAuthorTimeChangeLog
5012timgraham2015-01-07T18:08:27+01:00

Minor fix for ticket #1429

Change History (1)

comment:1 Changed 9 years ago by timgraham

  • Resolution set to fixed
  • Status changed from new to closed

Fixed at r5012

Note: See TracTickets for help on using tickets.