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/TRA/traqsr.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/TRA/traqsr.F90

    r9366 r9383  
    438438         REWIND( numnam_ref )              ! Namelist namtra_qsr in reference namelist : Ratio and length of penetration 
    439439         READ  ( numnam_ref, namtra_qsr, IOSTAT = ios, ERR = 901) 
    440 901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_qsr in reference namelist', lwm ) 
     440901      CONTINUE 
     441      ENDIF 
     442      call mpp_bcast(ios) 
     443      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_qsr in reference namelist', lwp ) 
     444      IF(lwm) THEN 
    441445         REWIND( numnam_cfg )              !  Namelist namtra_qsr in configuration namelist : Ratio and length of penetration 
    442446         READ  ( numnam_cfg, namtra_qsr, IOSTAT = ios, ERR = 902 ) 
    443 902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_qsr in configuration namelist', lwm ) 
    444       ENDIF 
     447902      CONTINUE 
     448      ENDIF 
     449      call mpp_bcast(ios) 
     450      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_qsr in configuration namelist', lwp ) 
    445451 
    446452      IF(lwm) WRITE ( numond, namtra_qsr ) 
Note: See TracChangeset for help on using the changeset viewer.