- Timestamp:
- 2019-12-12T13:15:13+01:00 (4 years ago)
- Location:
- NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/tests/STATION_ASF/MY_SRC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/tests/STATION_ASF/MY_SRC/nemogcm.F90
r12202 r12210 158 158 INTEGER :: ios, ilocal_comm ! local integers 159 159 !! 160 NAMELIST/namctl/ ln_ctl , sn_cfctl, nn_print, nn_ictls, nn_ictle, &160 NAMELIST/namctl/ sn_cfctl%l_prtctl , sn_cfctl, nn_print, nn_ictls, nn_ictle, & 161 161 & nn_isplt , nn_jsplt, nn_jctls, nn_jctle, & 162 162 & ln_timing, ln_diacfl … … 197 197 ! 198 198 ! !--------------------! 199 ! ! Open listing units ! -> need ln_ctl from namctl to define lwp199 ! ! Open listing units ! -> need sn_cfctl%l_prtctl from namctl to define lwp 200 200 ! !--------------------! 201 201 ! … … 206 206 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namctl in configuration namelist' ) 207 207 ! 208 lwp = (narea == 1) .OR. ln_ctl ! control of all listing output print208 lwp = (narea == 1) .OR. sn_cfctl%l_prtctl ! control of all listing output print 209 209 ! 210 210 IF(lwp) THEN ! open listing units … … 247 247 & CALL nemo_set_cfctl( sn_cfctl, .FALSE., .FALSE. ) 248 248 ELSE 249 ! Use ln_ctl to turn on or off all options.250 CALL nemo_set_cfctl( sn_cfctl, ln_ctl, .TRUE. )249 ! Use sn_cfctl%l_prtctl to turn on or off all options. 250 CALL nemo_set_cfctl( sn_cfctl, sn_cfctl%l_prtctl, .TRUE. ) 251 251 ENDIF 252 252 ! … … 292 292 IF( lk_c1d ) CALL c1d_init ! 1D column configuration 293 293 CALL dom_init("OPA") ! Domain 294 IF( ln_ctl ) CALL prt_ctl_init ! Print control294 IF( sn_cfctl%l_prtctl ) CALL prt_ctl_init ! Print control 295 295 296 296 CALL day_init ! model calendar (using both namelist and restart infos) … … 322 322 WRITE(numout,*) '~~~~~~~~' 323 323 WRITE(numout,*) ' Namelist namctl' 324 WRITE(numout,*) ' run control (for debugging) ln_ctl = ', ln_ctl324 WRITE(numout,*) ' run control (for debugging) sn_cfctl%l_prtctl = ', sn_cfctl%l_prtctl 325 325 WRITE(numout,*) ' finer control over o/p sn_cfctl%l_config = ', sn_cfctl%l_config 326 326 WRITE(numout,*) ' sn_cfctl%l_runstat = ', sn_cfctl%l_runstat … … 367 367 ! ! Parameter control 368 368 ! 369 IF( ln_ctl ) THEN ! sub-domain area indices for the control prints369 IF( sn_cfctl%l_prtctl ) THEN ! sub-domain area indices for the control prints 370 370 IF( lk_mpp .AND. jpnij > 1 ) THEN 371 371 isplt = jpni ; jsplt = jpnj ; ijsplt = jpni*jpnj ! the domain is forced to the real split domain -
NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/tests/STATION_ASF/MY_SRC/sbcssm.F90
r12202 r12210 131 131 vb (:,:,1) = ssv_m(:,:) 132 132 133 IF( ln_ctl) THEN ! print control133 IF(sn_cfctl%l_prtctl) THEN ! print control 134 134 CALL prt_ctl(tab2d_1=sst_m, clinfo1=' sst_m - : ', mask1=tmask ) 135 135 CALL prt_ctl(tab2d_1=sss_m, clinfo1=' sss_m - : ', mask1=tmask ) -
NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/tests/STATION_ASF/MY_SRC/stpctl.F90
r11930 r12210 67 67 ! 68 68 ll_wrtstp = ( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) 69 ll_colruns = ll_wrtstp .AND. ( ln_ctl .OR. sn_cfctl%l_runstat )69 ll_colruns = ll_wrtstp .AND. ( sn_cfctl%l_prtctl .OR. sn_cfctl%l_runstat ) 70 70 ll_wrtruns = ll_colruns 71 71 IF( kt == nit000 .AND. lwp ) THEN … … 77 77 ! ! open run.stat file(s) at start whatever 78 78 ! ! the value of sn_cfctl%ptimincr 79 IF( ln_ctl .OR. sn_cfctl%l_runstat ) THEN79 IF( sn_cfctl%l_prtctl .OR. sn_cfctl%l_runstat ) THEN 80 80 CALL ctl_opn( numrun, 'run.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 81 81 clname = 'run.stat.nc' … … 114 114 END IF 115 115 ! !== error handling ==! 116 IF( ( ln_ctl .OR. lsomeoce ) .AND. ( & ! have use mpp_max (because ln_ctl=.T.) or contains some ocean points116 IF( ( sn_cfctl%l_prtctl .OR. lsomeoce ) .AND. ( & ! have use mpp_max (because sn_cfctl%l_prtctl=.T.) or contains some ocean points 117 117 & zmax(1) > 5._wp .OR. & ! too large wind stress ( > 5 N/m^2 ) 118 118 & zmax(2) > 2000._wp .OR. & ! too large non-solar heat flux ( > 2000 W/m^2) … … 128 128 CALL dia_wri_state( 'output.abort' ) ! create an output.abort file 129 129 130 IF( .NOT. ln_ctl ) THEN130 IF( .NOT. sn_cfctl%l_prtctl ) THEN 131 131 WRITE(ctmp8,*) 'E R R O R message from sub-domain: ', narea 132 132 CALL ctl_stop( 'STOP', ctmp1, ' ', ctmp2, ' ', ctmp6, ' ' )
Note: See TracChangeset
for help on using the changeset viewer.