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 9366 for branches/UKMO/test_moci_test_suite_namelist_read/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2018-02-28T16:29:13+01:00 (6 years ago)
Author:
andmirek
Message:

#2050 first version. Compiled OK in moci test suite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/test_moci_test_suite_namelist_read/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r8283 r9366  
    304304      ENDIF 
    305305#endif 
     306 
    306307      narea = narea + 1                                     ! mynode return the rank of proc (0 --> jpnij -1 ) 
    307308 
    308309      lwm = (narea == 1)                                    ! control of output namelists 
    309310      lwp = (narea == 1) .OR. ln_ctl                        ! control of all listing output print 
     311!close namelist on processors other then lwm 
     312      IF( numnam_ref      /= -1 .AND. narea /= 1 )   CLOSE( numnam_ref      )   ! oce reference namelist 
     313      IF( numnam_cfg      /= -1 .AND. narea /= 1 )   CLOSE( numnam_cfg      )   ! oce configuration namelist 
    310314 
    311315      IF(lwm) THEN 
Note: See TracChangeset for help on using the changeset viewer.