- Timestamp:
- 2020-06-29T18:02:13+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OFF/nemogcm.F90
r13015 r13176 179 179 INTEGER :: ios, ilocal_comm ! local integers 180 180 !! 181 NAMELIST/namctl/ sn_cfctl, nn_print, nn_ictls, nn_ictle, & 182 & nn_isplt , nn_jsplt, nn_jctls, nn_jctle, & 183 & ln_timing, ln_diacfl 181 NAMELIST/namctl/ sn_cfctl, ln_timing, ln_diacfl, & 182 & nn_isplt, nn_jsplt, nn_ictls, nn_ictle, nn_jctls, nn_jctle 184 183 NAMELIST/namcfg/ ln_read_cfg, cn_domcfg, ln_closea, ln_write_cfg, cn_domcfg_out, ln_use_jattr 185 184 !!---------------------------------------------------------------------- … … 374 373 WRITE(numout,*) ' sn_cfctl%procincr = ', sn_cfctl%procincr 375 374 WRITE(numout,*) ' sn_cfctl%ptimincr = ', sn_cfctl%ptimincr 376 WRITE(numout,*) ' level of print nn_print = ', nn_print377 WRITE(numout,*) ' Start i indice for SUM control nn_ictls = ', nn_ictls378 WRITE(numout,*) ' End i indice for SUM control nn_ictle = ', nn_ictle379 WRITE(numout,*) ' Start j indice for SUM control nn_jctls = ', nn_jctls380 WRITE(numout,*) ' End j indice for SUM control nn_jctle = ', nn_jctle381 WRITE(numout,*) ' number of proc. following i nn_isplt = ', nn_isplt382 WRITE(numout,*) ' number of proc. following j nn_jsplt = ', nn_jsplt383 375 WRITE(numout,*) ' timing by routine ln_timing = ', ln_timing 384 376 WRITE(numout,*) ' CFL diagnostics ln_diacfl = ', ln_diacfl 385 377 ENDIF 386 ! 387 nprint = nn_print ! convert DOCTOR namelist names into OLD names 388 nictls = nn_ictls 389 nictle = nn_ictle 390 njctls = nn_jctls 391 njctle = nn_jctle 392 isplt = nn_isplt 393 jsplt = nn_jsplt 394 378 379 IF( .NOT.ln_read_cfg ) ln_closea = .false. ! dealing possible only with a domcfg file 395 380 IF(lwp) THEN ! control print 396 381 WRITE(numout,*) … … 402 387 WRITE(numout,*) ' filename to be written cn_domcfg_out = ', TRIM(cn_domcfg_out) 403 388 WRITE(numout,*) ' use file attribute if exists as i/p j-start ln_use_jattr = ', ln_use_jattr 404 ENDIF405 IF( .NOT.ln_read_cfg ) ln_closea = .false. ! dealing possible only with a domcfg file406 !407 ! ! Parameter control408 !409 IF( sn_cfctl%l_prtctl .OR. sn_cfctl%l_prttrc ) THEN ! sub-domain area indices for the control prints410 IF( lk_mpp .AND. jpnij > 1 ) THEN411 isplt = jpni ; jsplt = jpnj ; ijsplt = jpni*jpnj ! the domain is forced to the real split domain412 ELSE413 IF( isplt == 1 .AND. jsplt == 1 ) THEN414 CALL ctl_warn( ' - isplt & jsplt are equal to 1', &415 & ' - the print control will be done over the whole domain' )416 ENDIF417 ijsplt = isplt * jsplt ! total number of processors ijsplt418 ENDIF419 IF(lwp) WRITE(numout,*)' - The total number of processors over which the'420 IF(lwp) WRITE(numout,*)' print control will be done is ijsplt : ', ijsplt421 !422 ! ! indices used for the SUM control423 IF( nictls+nictle+njctls+njctle == 0 ) THEN ! print control done over the default area424 lsp_area = .FALSE.425 ELSE ! print control done over a specific area426 lsp_area = .TRUE.427 IF( nictls < 1 .OR. nictls > jpiglo ) THEN428 CALL ctl_warn( ' - nictls must be 1<=nictls>=jpiglo, it is forced to 1' )429 nictls = 1430 ENDIF431 IF( nictle < 1 .OR. nictle > jpiglo ) THEN432 CALL ctl_warn( ' - nictle must be 1<=nictle>=jpiglo, it is forced to jpiglo' )433 nictle = jpiglo434 ENDIF435 IF( njctls < 1 .OR. njctls > jpjglo ) THEN436 CALL ctl_warn( ' - njctls must be 1<=njctls>=jpjglo, it is forced to 1' )437 njctls = 1438 ENDIF439 IF( njctle < 1 .OR. njctle > jpjglo ) THEN440 CALL ctl_warn( ' - njctle must be 1<=njctle>=jpjglo, it is forced to jpjglo' )441 njctle = jpjglo442 ENDIF443 ENDIF444 389 ENDIF 445 390 !
Note: See TracChangeset
for help on using the changeset viewer.