Changeset 11790
- Timestamp:
- 2019-10-24T17:40:27+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11756_text_output/src/SAS/nemogcm.F90
r11782 r11790 234 234 CALL ctl_opn( numnam_ref, 'namelist_sas_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 235 235 CALL ctl_opn( numnam_cfg, 'namelist_sas_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 236 IF( lwm .AND. nprint > 2 ) CALL ctl_opn( numond, 'output.namelist_sas.dyn', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. )237 236 ELSE 238 237 IF( lwm ) CALL ctl_opn( numout, 'ocean.output', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) … … 240 239 CALL ctl_opn( numnam_ref, 'namelist_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 241 240 CALL ctl_opn( numnam_cfg, 'namelist_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 242 IF( lwm .AND. nprint > 2 ) CALL ctl_opn( numond, 'output.namelist.dyn', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. )243 241 ENDIF 244 242 ! open /dev/null file to be able to supress output write easily … … 257 255 ! 258 256 lwp = (narea == 1) .OR. ln_ctl ! control of all listing output print 257 ! 258 nprint = nn_print ! convert DOCTOR namelist names into OLD names 259 ! Open output.namelist only if needed 260 IF( lk_oasis ) THEN 261 IF( lwm .AND. nprint > 2 ) CALL ctl_opn( numond, 'output.namelist_sas.dyn', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 262 ELSE 263 IF( lwm .AND. nprint > 2 ) CALL ctl_opn( numond, 'output.namelist.dyn', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 264 ENDIF 259 265 ! 260 266 IF(lwp) THEN ! open listing units … … 323 329 CALL usr_def_nam( cn_cfg, nn_cfg, jpiglo, jpjglo, jpkglo, jperio ) 324 330 ENDIF 325 !326 nprint = nn_print ! convert DOCTOR namelist names into OLD names327 331 ! 328 332 IF(lwm .AND. nprint > 2) WRITE( numond, namcfg )
Note: See TracChangeset
for help on using the changeset viewer.