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 9383 for branches/UKMO/test_moci_test_suite_namelist_read/NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90 – NEMO

Ignore:
Timestamp:
2018-03-08T10:22:55+01:00 (6 years ago)
Author:
andmirek
Message:

#2050 fixes and changes

File:
1 edited

Legend:

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

    r9366 r9383  
    952952         REWIND( numnam_ref )              ! Namelist nam_vvl in reference namelist :  
    953953         READ  ( numnam_ref, nam_vvl, IOSTAT = ios, ERR = 901) 
    954 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_vvl in reference namelist', lwm ) 
     954901      CONTINUE 
     955      ENDIF 
     956      call mpp_bcast(ios) 
     957      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_vvl in reference namelist', lwp ) 
     958      IF(lwm) THEN 
    955959         REWIND( numnam_cfg )              ! Namelist nam_vvl in configuration namelist : Parameters of the run 
    956960         READ  ( numnam_cfg, nam_vvl, IOSTAT = ios, ERR = 902 ) 
    957 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_vvl in configuration namelist', lwm ) 
    958       ENDIF 
     961902      CONTINUE 
     962      ENDIF 
     963      call mpp_bcast(ios) 
     964      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_vvl in configuration namelist', lwp ) 
     965 
    959966      IF(lwm) WRITE ( numond, nam_vvl ) 
    960967 
Note: See TracChangeset for help on using the changeset viewer.