- Timestamp:
- 2013-11-20T19:24:53+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/LIM_SRC_3/iceini.F90
r4293 r4298 71 71 & 'use more ocean levels or less ice/snow layers/categories.' ) 72 72 73 ! ! Open the namelist file 74 CALL ctl_opn( numnam_ice, 'namelist_ice', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 73 ! Open the reference and configuration namelist files and namelist output file 74 CALL ctl_opn( numnam_ice_ref, 'namelist_ice_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 75 CALL ctl_opn( numnam_ice_cfg, 'namelist_ice_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 76 CALL ctl_opn( numoni, 'output.namelist.ice', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 75 77 ! 76 78 CALL ice_run ! set some ice run parameters … … 129 131 !!------------------------------------------------------------------- 130 132 NAMELIST/namicerun/ cn_icerst_in, cn_icerst_out, ln_limdyn, amax, cai, cao, ln_nicep, ln_limdiahsb, ln_limdiaout 133 INTEGER :: ios ! Local integer output status for namelist read 131 134 !!------------------------------------------------------------------- 132 135 ! 133 REWIND( numnam_ice ) ! Read Namelist namicerun 134 READ ( numnam_ice , namicerun ) 135 ! 136 !IF( lk_mpp .AND. ln_nicep ) THEN 137 ! ln_nicep = .FALSE. 138 ! CALL ctl_warn( 'ice_run : specific control print for LIM3 desactivated with MPI' ) 139 !ENDIF 136 REWIND( numnam_ice_ref ) ! Namelist namicerun in reference namelist : Parameters for ice 137 READ ( numnam_ice_ref, namicerun, IOSTAT = ios, ERR = 901) 138 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicerun in reference namelist', lwp ) 139 140 REWIND( numnam_ice_cfg ) ! Namelist namicerun in configuration namelist : Parameters for ice 141 READ ( numnam_ice_cfg, namicerun, IOSTAT = ios, ERR = 902 ) 142 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namicerun in configuration namelist', lwp ) 143 WRITE ( numoni, namicerun ) 144 ! 145 IF( lk_mpp .AND. ln_nicep ) THEN 146 ln_nicep = .FALSE. 147 CALL ctl_warn( 'ice_run : specific control print for LIM3 desactivated with MPI' ) 148 ENDIF 140 149 ! 141 150 IF(lwp) THEN ! control print
Note: See TracChangeset
for help on using the changeset viewer.