Changeset 4692 for trunk/NEMOGCM
- Timestamp:
- 2014-06-25T19:08:29+02:00 (10 years ago)
- Location:
- trunk/NEMOGCM/SETTE
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_MOBILIS
r4687 r4692 13 13 export OMP_NUM_THREADS=1 14 14 export OCORES=NPROCS 15 export XCORES=N OT_USED15 export XCORES=NXIOPROCS 16 16 export SETTE_DIR=DEF_SETTE_DIR 17 export XIO_HOME=/home/acc/XIOS 17 18 # 18 19 # load sette functions (only post_test_tidyup needed) … … 54 55 cd $EXE_DIR 55 56 echo Directory is `pwd` 57 if [ $XCORES -eq 0 ]; then 56 58 # 59 # Run SPMD case 57 60 # 58 # Run the parallel MPI executable 61 echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 62 -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode \ 63 --mca mpi_paffinity_alone 1 ./opa 64 time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 65 -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode \ 66 --mca mpi_paffinity_alone 1 ./opa 67 else 68 if [ ! -f ./xios_server.exe ] && [ -f ${XIO_HOME}/bin/xios_server.exe ]; then 69 cp ${XIO_HOME}/bin/xios_server.exe . 70 fi 71 if [ ! -f ./xios_server.exe ]; then 72 echo "./xios_server.exe not found" 73 echo "run aborted" 74 exit 75 fi 59 76 # 60 echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 61 -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode \ 62 --mca mpi_paffinity_alone 1 ./opa 77 # Run MPMD case 63 78 # 64 time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 65 -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode \ 66 --mca mpi_paffinity_alone 1 ./opa 79 echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 80 -x MALLOC_TRIM_THRESHOLD_=33554432 \ 81 -np $XCORES ./xios_server.exe \ 82 : -np $OCORES --bynode --mca mpi_paffinity_alone 1 ./opa 67 83 # 84 time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 85 -x MALLOC_TRIM_THRESHOLD_=33554432 \ 86 -np $XCORES ./xios_server.exe \ 87 : -np $OCORES --bynode --mca mpi_paffinity_alone 1 ./opa 88 # 89 fi 68 90 # 69 91 post_test_tidyup -
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.