- Timestamp:
- 2019-11-06T11:16:45+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/fix_sn_cfctl_ticket2328/src/SAS/nemogcm.F90
r11536 r11866 256 256 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namctl in configuration namelist' ) 257 257 ! 258 lwp = (narea == 1) .OR. ln_ctl ! control of all listing output print 258 ! finalize the definition of namctl variables 259 IF( sn_cfctl%l_config ) THEN 260 ! Activate finer control of report outputs 261 ! optionally switch off output from selected areas (note this only 262 ! applies to output which does not involve global communications) 263 IF( ( narea < sn_cfctl%procmin .OR. narea > sn_cfctl%procmax ) .OR. & 264 & ( MOD( narea - sn_cfctl%procmin, sn_cfctl%procincr ) /= 0 ) ) & 265 & CALL nemo_set_cfctl( sn_cfctl, .FALSE., .FALSE. ) 266 ELSE 267 ! Use ln_ctl to turn on or off all options. 268 CALL nemo_set_cfctl( sn_cfctl, ln_ctl, .TRUE. ) 269 ENDIF 270 ! 271 lwp = (narea == 1) .OR. ln_ctl .OR. sn_cfctl%l_oceout ! control of all listing output print 259 272 ! 260 273 IF(lwp) THEN ! open listing units … … 291 304 ! 292 305 ENDIF 293 !294 ! finalize the definition of namctl variables295 IF( sn_cfctl%l_config ) THEN296 ! Activate finer control of report outputs297 ! optionally switch off output from selected areas (note this only298 ! applies to output which does not involve global communications)299 IF( ( narea < sn_cfctl%procmin .OR. narea > sn_cfctl%procmax ) .OR. &300 & ( MOD( narea - sn_cfctl%procmin, sn_cfctl%procincr ) /= 0 ) ) &301 & CALL nemo_set_cfctl( sn_cfctl, .FALSE., .FALSE. )302 ELSE303 ! Use ln_ctl to turn on or off all options.304 CALL nemo_set_cfctl( sn_cfctl, ln_ctl, .TRUE. )305 ENDIF306 306 ! 307 307 IF(lwm) WRITE( numond, namctl ) … … 347 347 CALL eos_init ! Equation of seawater 348 348 CALL dom_init('SAS') ! Domain 349 IF( ln_ctl ) CALL prt_ctl_init ! Print control 349 IF( ln_ctl .OR. sn_cfctl%l_mppout ) & 350 & CALL prt_ctl_init ! Print control 350 351 351 352 CALL day_init ! model calendar (using both namelist and restart infos)
Note: See TracChangeset
for help on using the changeset viewer.