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 9169 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2017-12-26T17:32:56+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: all SRC: finalize the removal of useless warning when reading namelist_cfg + remove all nn_closea + nn_msh replaced by a logical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90

    r9124 r9169  
    194194      REWIND( numnam_ref )              ! Namelist namctl in reference namelist : Control prints 
    195195      READ  ( numnam_ref, namctl, IOSTAT = ios, ERR = 901 ) 
    196 901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namctl in reference namelist', .TRUE. ) 
    197       ! 
     196901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namctl in reference namelist', .TRUE. ) 
    198197      REWIND( numnam_cfg )              ! Namelist namctl in confguration namelist 
    199198      READ  ( numnam_cfg, namctl, IOSTAT = ios, ERR = 902 ) 
    200 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namctl in configuration namelist', .TRUE. ) 
     199902   IF( ios >  0 )  CALL ctl_nam ( ios , 'namctl in configuration namelist', .TRUE. ) 
    201200      ! 
    202201      REWIND( numnam_ref )              ! Namelist namcfg in reference namelist : Control prints 
    203202      READ  ( numnam_ref, namcfg, IOSTAT = ios, ERR = 903 ) 
    204 903   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcfg in reference namelist', .TRUE. ) 
    205  
     203903   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namcfg in reference namelist', .TRUE. ) 
    206204      REWIND( numnam_cfg )              ! Namelist namcfg in confguration namelist : Control prints & Benchmark 
    207205      READ  ( numnam_cfg, namcfg, IOSTAT = ios, ERR = 904 ) 
    208 904   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcfg in configuration namelist', .TRUE. )    
     206904   IF( ios >  0 )  CALL ctl_nam ( ios , 'namcfg in configuration namelist', .TRUE. )    
    209207 
    210208      !                             !--------------------------! 
Note: See TracChangeset for help on using the changeset viewer.