Opened 6 years ago

Closed 6 years ago

#1429 closed Bug (fixed)

FLUSH called with -1 as argument

Reported by: timgraham Owned by: timgraham
Priority: low Milestone:
Component: OCE Version: release-3.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 6 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.