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

    r9366 r9383  
    105105         REWIND( numnam_ref )              ! Namelist namdyn_adv in reference namelist : Momentum advection scheme 
    106106         READ  ( numnam_ref, namdyn_adv, IOSTAT = ios, ERR = 901) 
    107 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in reference namelist', lwm ) 
     107901      CONTINUE 
     108      ENDIF 
     109      call mpp_bcast(ios) 
     110      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in reference namelist', lwp ) 
     111      IF(lwm) THEN 
    108112         REWIND( numnam_cfg )              ! Namelist namdyn_adv in configuration namelist : Momentum advection scheme 
    109113         READ  ( numnam_cfg, namdyn_adv, IOSTAT = ios, ERR = 902 ) 
    110 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in configuration namelist', lwm ) 
     114902      CONTINUE 
    111115      ENDIF 
     116      call mpp_bcast(ios) 
     117      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in configuration namelist', lwp ) 
    112118 
    113119      IF(lwm) WRITE ( numond, namdyn_adv ) 
Note: See TracChangeset for help on using the changeset viewer.