Changeset 4692 for trunk/NEMOGCM/SETTE/sette_xios.sh
- Timestamp:
- 2014-06-25T19:08:29+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/SETTE/sette_xios.sh
r4687 r4692 103 103 104 104 CMP_NAM=${1:-$COMPILER} 105 # 106 #================================================================================= 105 107 # Copy job_batch_COMPILER file for specific compiler into job_batch_template 108 # Note this batch template needs to be capable of launching both SPMD and MPMD 109 # tasks with internal selection depending on the value of NUM_XIOSERVERS 110 # (0=SPMD; >0 = MPMD) 106 111 #================================================================================= 107 # Note this script sets up and submits a mixture of SPMD and MPMD jobs corresponding 108 # to ATTACHED and DETACHED mode, XIOS jobs. In general, the launch command for these 109 # jobs is different and is accommodated here by employing two different batch-file 110 # templates. This script expects to find both a BATCH_TEMPLATE/batch-${COMPILER} and 111 # a BATCH_TEMPLATE/batch-mpmd-${COMPILER} template. If your test system doesn't 112 # require this distinction, simply make both files identical. 113 #================================================================================= 114 # Initially copy standard (SPMD) template for attached mode tests 112 # 115 113 cd ${SETTE_DIR} 116 114 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit … … 192 190 cd ${SETTE_DIR} 193 191 # 194 # Copy MPMD job_batch_COMPILER file for specific compiler into job_batch_template195 cp BATCH_TEMPLATE/batch-mpmd-${COMPILER} job_batch_template || exit196 #197 192 . ./prepare_exe_dir.sh 198 193 JOB_FILE=${EXE_DIR}/run_job.sh … … 250 245 ## Restartability tests for GYRE 251 246 252 NPROC=152 247 NPROC=64 248 jp_cfg=30 249 jpni=8 250 jpnj=8 253 251 export NUM_XIOSERVERS=0 254 252 export USING_MPMD="false" … … 260 258 cd ${SETTE_DIR} 261 259 # 262 # Copy SPMD job_batch_COMPILER file for specific compiler into job_batch_template263 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit264 #265 260 . ./param.cfg 266 261 . ./all_functions.sh … … 276 271 set_namelist namelist_cfg nn_bench 1 277 272 set_namelist namelist_cfg ln_clobber .true. 278 set_namelist namelist_cfg jp_cfg 144 279 set_namelist namelist_cfg jpni 19 280 set_namelist namelist_cfg jpnj 8 273 set_namelist namelist_cfg jp_cfg $jp_cfg 274 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 275 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 276 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 277 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 278 set_namelist namelist_cfg jpni $jpni 279 set_namelist namelist_cfg jpnj $jpnj 281 280 set_namelist namelist_cfg jpnij $NPROC 282 281 … … 297 296 cd ${SETTE_DIR} 298 297 # 299 # Copy SPMD job_batch_COMPILER file for specific compiler into job_batch_template300 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit301 #302 298 . ./prepare_exe_dir.sh 303 299 # … … 311 307 set_namelist namelist_cfg nn_bench 1 312 308 set_namelist namelist_cfg ln_clobber .true. 313 set_namelist namelist_cfg jp_cfg 144 314 set_namelist namelist_cfg jpni 19 315 set_namelist namelist_cfg jpnj 8 309 set_namelist namelist_cfg jp_cfg $jp_cfg 310 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 311 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 312 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 313 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 314 set_namelist namelist_cfg jpni $jpni 315 set_namelist namelist_cfg jpnj $jpnj 316 316 set_namelist namelist_cfg jpnij $NPROC 317 317 … … 330 330 cd ${SETTE_DIR} 331 331 # 332 # Copy MPMD job_batch_COMPILER file for specific compiler into job_batch_template333 cp BATCH_TEMPLATE/batch-mpmd-${COMPILER} job_batch_template || exit334 #335 332 . ./prepare_exe_dir.sh 336 333 # … … 344 341 set_namelist namelist_cfg nn_bench 1 345 342 set_namelist namelist_cfg ln_clobber .true. 346 set_namelist namelist_cfg jp_cfg 144 347 set_namelist namelist_cfg jpni 19 348 set_namelist namelist_cfg jpnj 8 343 set_namelist namelist_cfg jp_cfg $jp_cfg 344 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 345 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 346 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 347 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 348 set_namelist namelist_cfg jpni $jpni 349 set_namelist namelist_cfg jpnj $jpnj 349 350 set_namelist namelist_cfg jpnij $NPROC 350 351 … … 372 373 set_namelist namelist_cfg nn_bench 1 373 374 set_namelist namelist_cfg ln_clobber .true. 374 set_namelist namelist_cfg jp_cfg 144 375 set_namelist namelist_cfg jpni 19 376 set_namelist namelist_cfg jpnj 8 375 set_namelist namelist_cfg jp_cfg $jp_cfg 376 set_namelist namelist_cfg jpidta $(( $jp_cfg * 30 + 2 )) 377 set_namelist namelist_cfg jpjdta $(( $jp_cfg * 20 + 2 )) 378 set_namelist namelist_cfg jpiglo $(( $jp_cfg * 30 + 2 )) 379 set_namelist namelist_cfg jpjglo $(( $jp_cfg * 20 + 2 )) 380 set_namelist namelist_cfg jpni $jpni 381 set_namelist namelist_cfg jpnj $jpnj 377 382 set_namelist namelist_cfg jpnij $NPROC 378 383
Note: See TracChangeset
for help on using the changeset viewer.