- 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/SAO/nemogcm.F90
r12960 r13176 29 29 USE sao_intp 30 30 ! 31 USE prtctl ! Print control 31 32 USE in_out_manager ! I/O manager 32 33 USE lib_mpp ! distributed memory computing … … 93 94 INTEGER :: ios, ilocal_comm ! local integer 94 95 ! 95 NAMELIST/namctl/ sn_cfctl, nn_print, nn_ictls, nn_ictle, & 96 & nn_isplt , nn_jsplt, nn_jctls, nn_jctle, & 97 & ln_timing, ln_diacfl 96 NAMELIST/namctl/ sn_cfctl, ln_timing, ln_diacfl, & 97 & nn_isplt, nn_jsplt, nn_ictls, nn_ictle, nn_jctls, nn_jctle 98 98 NAMELIST/namcfg/ ln_read_cfg, cn_domcfg, ln_closea, ln_write_cfg, cn_domcfg_out, ln_use_jattr 99 99 !!---------------------------------------------------------------------- … … 270 270 WRITE(numout,*) ' sn_cfctl%procincr = ', sn_cfctl%procincr 271 271 WRITE(numout,*) ' sn_cfctl%ptimincr = ', sn_cfctl%ptimincr 272 WRITE(numout,*) ' level of print nn_print = ', nn_print273 WRITE(numout,*) ' Start i indice for SUM control nn_ictls = ', nn_ictls274 WRITE(numout,*) ' End i indice for SUM control nn_ictle = ', nn_ictle275 WRITE(numout,*) ' Start j indice for SUM control nn_jctls = ', nn_jctls276 WRITE(numout,*) ' End j indice for SUM control nn_jctle = ', nn_jctle277 WRITE(numout,*) ' number of proc. following i nn_isplt = ', nn_isplt278 WRITE(numout,*) ' number of proc. following j nn_jsplt = ', nn_jsplt279 272 WRITE(numout,*) ' timing by routine ln_timing = ', ln_timing 280 273 WRITE(numout,*) ' CFL diagnostics ln_diacfl = ', ln_diacfl 281 274 ENDIF 282 275 ! 283 nprint = nn_print ! convert DOCTOR namelist names into OLD names 284 nictls = nn_ictls 285 nictle = nn_ictle 286 njctls = nn_jctls 287 njctle = nn_jctle 288 isplt = nn_isplt 289 jsplt = nn_jsplt 290 276 IF( .NOT.ln_read_cfg ) ln_closea = .false. ! dealing possible only with a domcfg file 291 277 IF(lwp) THEN ! control print 292 278 WRITE(numout,*) … … 298 284 WRITE(numout,*) ' filename to be written cn_domcfg_out = ', TRIM(cn_domcfg_out) 299 285 WRITE(numout,*) ' use file attribute if exists as i/p j-start ln_use_jattr = ', ln_use_jattr 300 ENDIF301 IF( .NOT.ln_read_cfg ) ln_closea = .false. ! dealing possible only with a domcfg file302 !303 ! ! Parameter control304 !305 IF( sn_cfctl%l_prtctl .OR. sn_cfctl%l_prttrc ) THEN ! sub-domain area indices for the control prints306 IF( lk_mpp .AND. jpnij > 1 ) THEN307 isplt = jpni ; jsplt = jpnj ; ijsplt = jpni*jpnj ! the domain is forced to the real split domain308 ELSE309 IF( isplt == 1 .AND. jsplt == 1 ) THEN310 CALL ctl_warn( ' - isplt & jsplt are equal to 1', &311 & ' - the print control will be done over the whole domain' )312 ENDIF313 ijsplt = isplt * jsplt ! total number of processors ijsplt314 ENDIF315 IF(lwp) WRITE(numout,*)' - The total number of processors over which the'316 IF(lwp) WRITE(numout,*)' print control will be done is ijsplt : ', ijsplt317 !318 ! ! indices used for the SUM control319 IF( nictls+nictle+njctls+njctle == 0 ) THEN ! print control done over the default area320 lsp_area = .FALSE.321 ELSE ! print control done over a specific area322 lsp_area = .TRUE.323 IF( nictls < 1 .OR. nictls > jpiglo ) THEN324 CALL ctl_warn( ' - nictls must be 1<=nictls>=jpiglo, it is forced to 1' )325 nictls = 1326 ENDIF327 IF( nictle < 1 .OR. nictle > jpiglo ) THEN328 CALL ctl_warn( ' - nictle must be 1<=nictle>=jpiglo, it is forced to jpiglo' )329 nictle = jpiglo330 ENDIF331 IF( njctls < 1 .OR. njctls > jpjglo ) THEN332 CALL ctl_warn( ' - njctls must be 1<=njctls>=jpjglo, it is forced to 1' )333 njctls = 1334 ENDIF335 IF( njctle < 1 .OR. njctle > jpjglo ) THEN336 CALL ctl_warn( ' - njctle must be 1<=njctle>=jpjglo, it is forced to jpjglo' )337 njctle = jpjglo338 ENDIF339 ENDIF340 286 ENDIF 341 287 !
Note: See TracChangeset
for help on using the changeset viewer.