Opened 7 years ago

Closed 5 years ago

#1135 closed Bug (fixed)

force the model to stop correctly

Reported by: smasson Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.5
Severity: Keywords:
Cc:

Description

when using XIOS, if the model stops because of an identified error, XIOS doesn't stop and runs util the end of the allocated cpu time…

  • a bug is identified in step.F90. The call to xios_context_finalize must also be done if indic < 0
  • however the introduction, in ctl_stop, of a specific case if the first argument is 'STOP' brakes all the nice things we are supposed to do to stop the model properly in nemo_gcm…
          IF( cd1 == 'STOP' ) THEN
             IF(lwp) WRITE(numout,*)  'huge E-R-R-O-R : immediate stop'
             CALL mppstop()
          ENDIF
    

I don't know how to solve this issue properly. Should we remove the above 4 lines introduced in ctl_stop? Should we create a nemo_finalize module? Suggestions are welcome.

Commit History (1)

ChangesetAuthorTimeChangeLog
3985smasson2013-07-23T01:22:47+02:00

trunk: bugfix to force the model to stop correctly with XIOS, part 1, see #1135

Change History (2)

comment:1 Changed 7 years ago by smasson

first point done in r3985

comment:2 Changed 5 years ago by clevy

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.