Changeset 11624 for NEMO/branches/2019/dev_r11613_ENHANCE-04_namelists_as_internalfiles/src/ICE/icestp.F90
- Timestamp:
- 2019-10-01T15:07:45+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11613_ENHANCE-04_namelists_as_internalfiles/src/ICE/icestp.F90
r11536 r11624 232 232 IF(lwp) WRITE(numout,*) '~~~~~~~~' 233 233 ! 234 ! ! Open the reference and configuration namelist files andnamelist output file235 CALL ctl_opn( numnam_ice_ref, 'namelist_ice_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1,numout, lwp )236 CALL ctl_opn( numnam_ice_cfg, 'namelist_ice_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1,numout, lwp )237 IF(lwm) CALL ctl_opn( numoni , 'output.namelist.ice', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, 1 )234 ! ! Load the reference and configuration namelist files and open namelist output file 235 CALL load_nml( numnam_ice_ref, 'namelist_ice_ref', numout, lwp ) 236 CALL load_nml( numnam_ice_cfg, 'namelist_ice_cfg', numout, lwp ) 237 IF(lwm) CALL ctl_opn( numoni , 'output.namelist.ice', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, 1 ) 238 238 ! 239 239 CALL par_init ! set some ice run parameters … … 301 301 !!------------------------------------------------------------------- 302 302 ! 303 REWIND( numnam_ice_ref ) ! Namelist nampar in reference namelist : Parameters for ice304 303 READ ( numnam_ice_ref, nampar, IOSTAT = ios, ERR = 901) 305 304 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampar in reference namelist' ) 306 REWIND( numnam_ice_cfg ) ! Namelist nampar in configuration namelist : Parameters for ice307 305 READ ( numnam_ice_cfg, nampar, IOSTAT = ios, ERR = 902 ) 308 306 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampar in configuration namelist' )
Note: See TracChangeset
for help on using the changeset viewer.