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/sbcssr.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/sbcssr.F90

    r9366 r9383  
    177177         REWIND( numnam_ref )              ! Namelist namsbc_ssr in reference namelist :  
    178178         READ  ( numnam_ref, namsbc_ssr, IOSTAT = ios, ERR = 901) 
    179 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_ssr in reference namelist', lwm ) 
     179901      CONTINUE 
     180      ENDIF 
     181      call mpp_bcast(ios) 
     182      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_ssr in reference namelist', lwp ) 
     183      IF(lwm) THEN 
    180184         REWIND( numnam_cfg )              ! Namelist namsbc_ssr in configuration namelist : 
    181185         READ  ( numnam_cfg, namsbc_ssr, IOSTAT = ios, ERR = 902 ) 
    182 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_ssr in configuration namelist', lwm ) 
    183       ENDIF 
     186902      CONTINUE 
     187      ENDIF 
     188      call mpp_bcast(ios) 
     189      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_ssr in configuration namelist', lwp ) 
     190 
    184191      IF(lwm) WRITE ( numond, namsbc_ssr ) 
    185192 
Note: See TracChangeset for help on using the changeset viewer.