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/SBC/sbcblk_clio.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/SBC/sbcblk_clio.F90

    r9366 r9383  
    149149            REWIND( numnam_ref )              ! Namelist namsbc_clio in reference namelist : CLIO files 
    150150            READ  ( numnam_ref, namsbc_clio, IOSTAT = ios, ERR = 901) 
    151 901         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in reference namelist', lwm ) 
     151901         CONTINUE 
     152         ENDIF 
     153         call mpp_bcast(ios) 
     154         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in reference namelist', lwp ) 
     155         IF(lwm) THEN 
    152156            REWIND( numnam_cfg )              ! Namelist namsbc_clio in configuration namelist : CLIO files 
    153157            READ  ( numnam_cfg, namsbc_clio, IOSTAT = ios, ERR = 902 ) 
    154 902         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in configuration namelist', lwm ) 
     158902         CONTINUE 
    155159         ENDIF 
     160         call mpp_bcast(ios) 
     161         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in configuration namelist', lwp ) 
     162 
    156163         IF(lwm) WRITE ( numond, namsbc_clio ) 
    157164 
Note: See TracChangeset for help on using the changeset viewer.