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

    r9366 r9383  
    139139         REWIND( numnam_ref )              ! Namelist namdyn_hpg in reference namelist : Hydrostatic pressure gradient 
    140140         READ  ( numnam_ref, namdyn_hpg, IOSTAT = ios, ERR = 901) 
    141 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_hpg in reference namelist', lwm ) 
     141901      CONTINUE 
     142      ENDIF 
     143      call mpp_bcast(ios) 
     144      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_hpg in reference namelist', lwp ) 
     145      IF(lwm) THEN 
    142146         REWIND( numnam_cfg )              ! Namelist namdyn_hpg in configuration namelist : Hydrostatic pressure gradient 
    143147         READ  ( numnam_cfg, namdyn_hpg, IOSTAT = ios, ERR = 902 ) 
    144 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_hpg in configuration namelist', lwm ) 
     148902      CONTINUE 
    145149      ENDIF 
     150      call mpp_bcast(ios) 
     151      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_hpg in configuration namelist', lwp ) 
    146152 
    147153      IF(lwm) WRITE ( numond, namdyn_hpg ) 
Note: See TracChangeset for help on using the changeset viewer.