Changeset 520 for configs/testing/bash/X64_CURIE.sh
- Timestamp:
- 01/15/17 01:03:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configs/testing/bash/X64_CURIE.sh
r510 r520 5 5 # create_runs.sh and submit.sh 6 6 7 # NB : we must the queue 'normal' because there seems to be a limit7 # NB : we must use the queue 'normal' because there seems to be a limit 8 8 # on the number of jobs that can be submitted to queue 'test' 9 9 … … 18 18 function split_mpi_80() { 19 19 setvar nbp 81 nsplit_i 4 nsplit_j 2 20 } 21 function split_mpi_omp_40() { 22 setvar nbp 41 nsplit_i 2 nsplit_j 2 omp_level_size 4 20 23 } 21 24 … … 33 36 #------------------------------ job_XXX ----------------------------- 34 37 38 # Serial jobs 35 39 function job_serial() { # EXP_NAME 36 job_X64_CURIE $1 1 ""40 job_X64_CURIE $1 1 1 "./gcm.exe" 37 41 } 38 42 function job_serial_40() { # EXP_NAME … … 40 44 } 41 45 46 # MPI jobs 42 47 function job_mpi() { #EXP_NAME NB_MPI 43 job_X64_CURIE $1 $2 ccc_mprun48 job_X64_CURIE $1 $2 1 "ccc_mprun ./gcm.exe" 44 49 } 45 50 function job_mpi_40() { # EXP_NAME … … 50 55 } 51 56 52 function job_X64_CURIE() { # EXP_NAME MPI_TASKS MPIRUN 57 # MPI-OMP jobs 58 function job_mpi_omp() { #EXP_NAME NB_MPI NB_OMP 59 job_X64_CURIE $1 $2 $3 "ccc_mprun ./gcm.exe" 60 } 61 function job_mpi_omp_40() { # EXP_NAME 62 job_mpi_omp $1 40 4 63 } 64 65 # Generic 66 function job_X64_CURIE() { # EXP_NAME MPI_TASKS OMP_TASKS MPIRUN 53 67 cat <<EOF 54 68 #!/bin/bash … … 60 74 ## Number of tasks (=MPI processes) to use 61 75 #MSUB -n $2 76 ## Number of OpenMP threads 77 #MSUB -c $3 62 78 ## Elapsed time limit in seconds 63 79 #MSUB -T 600 … … 65 81 #MSUB -Q normal 66 82 67 export OMP_NUM_THREADS= 183 export OMP_NUM_THREADS=$3 68 84 cd \${BRIDGE_MSUB_PWD} 69 85 … … 73 89 date > gcm.log 74 90 ulimit -s unlimited 75 $ 3./gcm.exe >> gcm.log91 $4 ./gcm.exe >> gcm.log 76 92 date >> gcm.log 77 93
Note: See TracChangeset
for help on using the changeset viewer.