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/SOL/solver.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/SOL/solver.F90

    r9366 r9383  
    6666         REWIND( numnam_ref )              ! Namelist namsol in reference namelist : Elliptic solver / free surface 
    6767         READ  ( numnam_ref, namsol, IOSTAT = ios, ERR = 901) 
    68 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsol in reference namelist', lwm ) 
     68901      CONTINUE 
     69      ENDIF 
     70      call mpp_bcast(ios) 
     71      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsol in reference namelist', lwp ) 
     72      IF(lwm) THEN 
    6973         REWIND( numnam_cfg )              ! Namelist namsol in configuration namelist : Elliptic solver / free surface 
    7074         READ  ( numnam_cfg, namsol, IOSTAT = ios, ERR = 902 ) 
    71 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsol in configuration namelist', lwm ) 
     75902      CONTINUE 
    7276      ENDIF 
     77      call mpp_bcast(ios) 
     78      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsol in configuration namelist', lwp ) 
    7379 
    7480      IF(lwm) WRITE ( numond, namsol ) 
Note: See TracChangeset for help on using the changeset viewer.