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

    r9366 r9383  
    6161         REWIND( numnam_ref )              ! Namelist namzdf in reference namelist : Vertical mixing parameters 
    6262         READ  ( numnam_ref, namzdf, IOSTAT = ios, ERR = 901) 
    63 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf in reference namelist', lwm ) 
     63901      CONTINUE 
     64       ENDIF 
     65       call mpp_bcast(ios) 
     66       IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf in reference namelist', lwm ) 
     67       IF(lwm) THEN 
    6468         REWIND( numnam_cfg )              ! Namelist namzdf in reference namelist : Vertical mixing parameters 
    6569         READ  ( numnam_cfg, namzdf, IOSTAT = ios, ERR = 902 ) 
    66 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf in configuration namelist', lwm ) 
    67       ENDIF 
     70902      CONTINUE 
     71      ENDIF 
     72      call mpp_bcast(ios) 
     73      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf in configuration namelist', lwm ) 
    6874 
    6975      IF(lwm) WRITE ( numond, namzdf ) 
Note: See TracChangeset for help on using the changeset viewer.