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/TRA/eosbn2.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/TRA/eosbn2.F90

    r9366 r9383  
    12361236         REWIND( numnam_ref )              ! Namelist nameos in reference namelist : equation of state 
    12371237         READ  ( numnam_ref, nameos, IOSTAT = ios, ERR = 901 ) 
    1238 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nameos in reference namelist', lwm ) 
     1238901      CONTINUE 
     1239      ENDIF 
     1240      call mpp_bcast(ios) 
     1241      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nameos in reference namelist', lwp ) 
     1242      IF(lwm) THEN 
    12391243         REWIND( numnam_cfg )              ! Namelist nameos in configuration namelist : equation of state 
    12401244         READ  ( numnam_cfg, nameos, IOSTAT = ios, ERR = 902 ) 
    1241 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nameos in configuration namelist', lwm ) 
     1245902      CONTINUE 
    12421246      ENDIF 
     1247      call mpp_bcast(ios) 
     1248      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nameos in configuration namelist', lwp ) 
     1249 
    12431250      IF(lwm) WRITE( numond, nameos ) 
    12441251      ! 
Note: See TracChangeset for help on using the changeset viewer.