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 9168 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/BDY/bdyini.F90 – NEMO

Ignore:
Timestamp:
2017-12-23T13:27:17+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: OPA_SRC & CONFIG: remove useless warning when reading namelist_cfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/BDY/bdyini.F90

    r9124 r9168  
    8080      READ  ( numnam_ref, nambdy, IOSTAT = ios, ERR = 901) 
    8181901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy in reference namelist', lwp ) 
    82       ! 
    8382      REWIND( numnam_cfg )              ! Namelist nambdy in configuration namelist :Unstructured open boundaries 
    8483      READ  ( numnam_cfg, nambdy, IOSTAT = ios, ERR = 902 ) 
    85 902   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp ) 
     84902   IF( ios > 0 )   CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp ) 
    8685      IF(lwm) WRITE ( numond, nambdy ) 
    8786 
     
    419418            icount = icount + 1 
    420419            ! No REWIND here because may need to read more than one nambdy_index namelist. 
    421             ! Read only namelist_cfg to avoid unseccessfull overwrite 
    422 !!          REWIND( numnam_ref )              ! Namelist nambdy_index in reference namelist : Open boundaries indexes 
    423 !!          READ  ( numnam_ref, namrun, IOSTAT = ios, ERR = 903) 
    424 !!903       IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_index in reference namelist', lwp ) 
    425  
    426 !!          REWIND( numnam_cfg )              ! Namelist nambdy_index in configuration namelist : Open boundaries indexes 
     420            ! Read only namelist_cfg to avoid unseccessfull overwrite  
     421            ! keep full control of the configuration namelist 
    427422            READ  ( numnam_cfg, nambdy_index, IOSTAT = ios, ERR = 904 ) 
    428423904         IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambdy_index in configuration namelist', lwp ) 
Note: See TracChangeset for help on using the changeset viewer.