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/ZDF/zdfbfr.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/ZDF/zdfbfr.F90

    r9366 r9383  
    254254         REWIND( numnam_ref )              ! Namelist nambfr in reference namelist : Bottom momentum boundary condition 
    255255         READ  ( numnam_ref, nambfr, IOSTAT = ios, ERR = 901) 
    256 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambfr in reference namelist', lwm ) 
     256901      CONTINUE 
     257      ENDIF 
     258      call mpp_bcast(ios) 
     259      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambfr in reference namelist', lwp ) 
     260      IF(lwm) THEN 
    257261         REWIND( numnam_cfg )              ! Namelist nambfr in configuration namelist : Bottom momentum boundary condition 
    258262         READ  ( numnam_cfg, nambfr, IOSTAT = ios, ERR = 902 ) 
    259 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambfr in configuration namelist', lwm ) 
    260       ENDIF 
     263902      CONTINUE 
     264      ENDIF 
     265      call mpp_bcast(ios) 
     266      IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambfr in configuration namelist', lwp ) 
     267 
    261268      IF(lwm) WRITE ( numond, nambfr ) 
    262269 
Note: See TracChangeset for help on using the changeset viewer.