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

    r9366 r9383  
    8484            REWIND( numnam_ref )              ! Namelist namsbc_apr in reference namelist : File for atmospheric pressure forcing 
    8585            READ  ( numnam_ref, namsbc_apr, IOSTAT = ios, ERR = 901) 
    86 901         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_apr in reference namelist', lwm ) 
     86901         CONTINUE 
     87         ENDIF 
     88         call mpp_bcast(ios) 
     89         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_apr in reference namelist', lwp ) 
     90         IF(lwm) THEN 
    8791            REWIND( numnam_cfg )              ! Namelist namsbc_apr in configuration namelist : File for atmospheric pressure forcing 
    8892            READ  ( numnam_cfg, namsbc_apr, IOSTAT = ios, ERR = 902 ) 
    89 902         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_apr in configuration namelist', lwm ) 
    90          ENDIF 
     93902         CONTINUE 
     94         ENDIF 
     95         call mpp_bcast(ios) 
     96         IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_apr in configuration namelist', lwp ) 
    9197 
    9298         IF(lwm) WRITE ( numond, namsbc_apr ) 
Note: See TracChangeset for help on using the changeset viewer.