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/DIA/diadct.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/DIA/diadct.F90

    r9366 r9383  
    148148        REWIND( numnam_ref )              ! Namelist namdct in reference namelist : Diagnostic: transport through sections 
    149149        READ  ( numnam_ref, namdct, IOSTAT = ios, ERR = 901) 
    150 901     IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdct in reference namelist', lwm ) 
     150901     CONTINUE 
     151     ENDIF 
     152     call mpp_bcast(ios) 
     153     IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdct in reference namelist', lwp ) 
     154     IF(lwm) THEN 
    151155        REWIND( numnam_cfg )              ! Namelist namdct in configuration namelist : Diagnostic: transport through sections 
    152156        READ  ( numnam_cfg, namdct, IOSTAT = ios, ERR = 902 ) 
    153 902     IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdct in configuration namelist', lwm ) 
     157902     CONTINUE 
    154158     ENDIF 
     159     call mpp_bcast(ios) 
     160     IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdct in configuration namelist', lwp ) 
    155161 
    156162     IF(lwm) WRITE ( numond, namdct ) 
Note: See TracChangeset for help on using the changeset viewer.