Changeset 13159 for NEMO/branches/2020/dev_r12563_ASINTER-06_ABL_improvement/tests/STATION_ASF/MY_SRC/nemogcm.F90
- Timestamp:
- 2020-06-26T10:26:32+02:00 (4 years ago)
- Location:
- NEMO/branches/2020/dev_r12563_ASINTER-06_ABL_improvement
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12563_ASINTER-06_ABL_improvement
- Property svn:externals
-
old new 8 8 9 9 # SETTE 10 ^/utils/CI/sette@ HEADsette10 ^/utils/CI/sette@12931 sette
-
- Property svn:externals
-
NEMO/branches/2020/dev_r12563_ASINTER-06_ABL_improvement/tests/STATION_ASF/MY_SRC/nemogcm.F90
r12254 r13159 98 98 IF( nstop /= 0 .AND. lwp ) THEN ! error print 99 99 WRITE(ctmp1,*) ' ==>>> nemo_gcm: a total of ', nstop, ' errors have been found' 100 CALL ctl_stop( ctmp1 ) 100 WRITE(ctmp2,*) ' Look for "E R R O R" messages in all existing ocean_output* files' 101 CALL ctl_stop( ' ', ctmp1, ' ', ctmp2 ) 101 102 ENDIF 102 103 ! … … 177 178 ! 178 179 ! finalize the definition of namctl variables 179 IF( sn_cfctl%l_allon ) THEN 180 ! Turn on all options. 181 CALL nemo_set_cfctl( sn_cfctl, .TRUE., .TRUE. ) 182 ! Ensure all processors are active 183 sn_cfctl%procmin = 0 ; sn_cfctl%procmax = 1000000 ; sn_cfctl%procincr = 1 184 ELSEIF( sn_cfctl%l_config ) THEN 185 ! Activate finer control of report outputs 186 ! optionally switch off output from selected areas (note this only 187 ! applies to output which does not involve global communications) 188 IF( ( narea < sn_cfctl%procmin .OR. narea > sn_cfctl%procmax ) .OR. & 189 & ( MOD( narea - sn_cfctl%procmin, sn_cfctl%procincr ) /= 0 ) ) & 190 & CALL nemo_set_cfctl( sn_cfctl, .FALSE., .FALSE. ) 191 ELSE 192 ! turn off all options. 193 CALL nemo_set_cfctl( sn_cfctl, .FALSE., .TRUE. ) 194 ENDIF 180 IF( narea < sn_cfctl%procmin .OR. narea > sn_cfctl%procmax .OR. MOD( narea - sn_cfctl%procmin, sn_cfctl%procincr ) /= 0 ) & 181 & CALL nemo_set_cfctl( sn_cfctl, .FALSE. ) 195 182 ! 196 183 lwp = (narea == 1) .OR. sn_cfctl%l_oceout ! control of all listing output print … … 311 298 WRITE(numout,*) '~~~~~~~~' 312 299 WRITE(numout,*) ' Namelist namctl' 313 WRITE(numout,*) ' sn_cfctl%l_glochk = ', sn_cfctl%l_glochk314 WRITE(numout,*) ' sn_cfctl%l_allon = ', sn_cfctl%l_allon315 WRITE(numout,*) ' finer control over o/p sn_cfctl%l_config = ', sn_cfctl%l_config316 300 WRITE(numout,*) ' sn_cfctl%l_runstat = ', sn_cfctl%l_runstat 317 301 WRITE(numout,*) ' sn_cfctl%l_trcstat = ', sn_cfctl%l_trcstat … … 449 433 450 434 451 SUBROUTINE nemo_set_cfctl(sn_cfctl, setto , for_all)435 SUBROUTINE nemo_set_cfctl(sn_cfctl, setto ) 452 436 !!---------------------------------------------------------------------- 453 437 !! *** ROUTINE nemo_set_cfctl *** 454 438 !! 455 439 !! ** Purpose : Set elements of the output control structure to setto. 456 !! for_all should be .false. unless all areas are to be457 !! treated identically.458 440 !! 459 441 !! ** Method : Note this routine can be used to switch on/off some 460 !! types of output for selected areas but any output types 461 !! that involve global communications (e.g. mpp_max, glob_sum) 462 !! should be protected from selective switching by the 463 !! for_all argument 464 !!---------------------------------------------------------------------- 465 LOGICAL :: setto, for_all 466 TYPE(sn_ctl) :: sn_cfctl 467 !!---------------------------------------------------------------------- 468 IF( for_all ) THEN 469 sn_cfctl%l_runstat = setto 470 sn_cfctl%l_trcstat = setto 471 ENDIF 442 !! types of output for selected areas. 443 !!---------------------------------------------------------------------- 444 TYPE(sn_ctl), INTENT(inout) :: sn_cfctl 445 LOGICAL , INTENT(in ) :: setto 446 !!---------------------------------------------------------------------- 447 sn_cfctl%l_runstat = setto 448 sn_cfctl%l_trcstat = setto 472 449 sn_cfctl%l_oceout = setto 473 450 sn_cfctl%l_layout = setto
Note: See TracChangeset
for help on using the changeset viewer.