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/STO/stopar.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/STO/stopar.F90

    r9366 r9383  
    265265         REWIND( numnam_ref )              ! Namelist namdyn_adv in reference namelist : Momentum advection scheme 
    266266         READ  ( numnam_ref, namsto, IOSTAT = ios, ERR = 901) 
    267 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsto in reference namelist', lwm ) 
     267901      CONTINUE 
     268      ENDIF 
     269      call mpp_bcast(ios) 
     270      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsto in reference namelist', lwp ) 
     271      IF(lwm) THEN 
    268272         REWIND( numnam_cfg )              ! Namelist namdyn_adv in configuration namelist : Momentum advection scheme 
    269273         READ  ( numnam_cfg, namsto, IOSTAT = ios, ERR = 902 ) 
    270 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsto in configuration namelist', lwm ) 
    271       ENDIF 
     274902      CONTINUE 
     275      ENDIF 
     276      call mpp_bcast(ios) 
     277      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsto in configuration namelist', lwp ) 
     278 
    272279      IF(lwm) WRITE ( numond, namsto ) 
    273280 
Note: See TracChangeset for help on using the changeset viewer.