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.
Changeset 4624 for trunk/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2014-04-28T14:09:03+02:00 (10 years ago)
Author:
acc
Message:

#1305. Fix slow start-up problems on some systems by introducing and using lwm logical to restrict output of merged namelists to the first (or only) processor. lwm is true only on the first processor regardless of ln_ctl. Small changes to all flavours of nemogcm.F90 are also required to write namctl and namcfg after the call to mynode which now opens output.namelist.dyn and writes nammpp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/step.F90

    r4491 r4624  
    312312      ENDIF 
    313313      IF( kstp == nit000   )   THEN 
    314          CALL iom_close( numror )     ! close input  ocean restart file 
    315          CALL FLUSH    ( numond )     ! flush output namelist oce 
    316          CALL FLUSH    ( numoni )     ! flush output namelist ice     
     314                 CALL iom_close( numror )     ! close input  ocean restart file 
     315         IF(lwm) CALL FLUSH    ( numond )     ! flush output namelist oce 
     316         IF(lwm) CALL FLUSH    ( numoni )     ! flush output namelist ice     
    317317      ENDIF 
    318318      IF( lrst_oce         )   CALL rst_write    ( kstp )   ! write output ocean restart file 
Note: See TracChangeset for help on using the changeset viewer.