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/DYN/dynnept.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/DYN/dynnept.F90

    r9366 r9383  
    122122         REWIND( numnam_ref )              ! Namelist namdyn_nept in reference namelist : Simplified Neptune 
    123123         READ  ( numnam_ref, namdyn_nept, IOSTAT = ios, ERR = 901) 
    124 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_nept in reference namelist', lwm ) 
     124901      CONTINUE 
     125      ENDIF 
     126      call mpp_bcast(ios) 
     127      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_nept in reference namelist', lwp ) 
     128      IF(lwm) THEN 
    125129         REWIND( numnam_cfg )              ! Namelist namdyn_nept in reference namelist : Simplified Neptune 
    126130         READ  ( numnam_cfg, namdyn_nept, IOSTAT = ios, ERR = 902 ) 
    127 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_nept in configuration namelist', lwm ) 
    128       ENDIF 
     131902      CONTINUE 
     132      ENDIF 
     133      call mpp_bcast(ios) 
     134      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_nept in configuration namelist', lwp ) 
    129135 
    130136      IF(lwm) WRITE ( numond, namdyn_nept ) 
Note: See TracChangeset for help on using the changeset viewer.