Changeset 994
- Timestamp:
- 12/19/19 15:02:45 (4 years ago)
- Location:
- configs/testing/benchmark
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
configs/testing/benchmark/benchmark.sh
r702 r994 9 9 } 10 10 11 function create_run () # NBP TIME_STEP NSPLITOMP_LEVEL_SIZE NB_MPI NB_OMP11 function create_run2() # NBP LLM TIME_STEP NSPLIT_I NSPLIT_J OMP_LEVEL_SIZE NB_MPI NB_OMP 12 12 { 13 13 NBP=$1 14 TIME_STEP=$2 15 shift; shift 16 17 NAME="run_$1_$2_$3_$4" 14 LLM=$2 15 TIME_STEP=$3 16 shift; shift; shift 17 18 NAME="run_$1_$2_$3_$4_$5" 18 19 mkdir $NAME 19 20 cp run.def job.sh mpmd.conf gcm.sh *.xml $NAME … … 22 23 23 24 replace NBP $NBP run.def 25 replace LLM $LLM run.def 24 26 replace TIME_STEP $TIME_STEP run.def 25 replace NSPLIT $1 run.def 26 replace OMP_LEVEL_SIZE $2 run.def 27 replace NUM_MPI $3 mpmd.conf 28 replace NUM_MPI $3 job.sh 29 replace NUM_OMP $4 job.sh 27 replace NSPLIT_I $1 run.def 28 replace NSPLIT_J $2 run.def 29 replace OMP_LEVEL_SIZE $3 run.def 30 replace NUM_MPI $4 mpmd.conf 31 replace NUM_MPI $4 job.sh 32 replace NUM_OMP $5 job.sh 30 33 cd .. 34 } 35 36 function create_run() # NBP TIME_STEP NSPLIT OMP_LEVEL_SIZE NB_MPI NB_OMP 37 { 38 create_run2 $1 79 $2 $3 $3 $4 $5 $6 39 } 40 41 function cmd_create_220km_39() 42 { 43 rm -rf run_* 44 create_run2 41 39 600 2 2 1 040 01 45 create_run2 41 39 600 2 2 1 010 04 46 create_run2 41 39 600 2 2 2 040 02 47 create_run2 41 39 600 2 2 2 010 08 48 create_run2 41 39 600 2 2 4 040 04 49 create_run2 41 39 600 2 2 4 010 16 50 51 create_run2 41 39 600 2 3 1 060 01 52 create_run2 41 39 600 2 3 1 010 06 53 create_run2 41 39 600 2 3 2 060 02 54 create_run2 41 39 600 2 3 2 010 12 55 create_run2 41 39 600 2 3 4 060 04 56 create_run2 41 39 600 2 3 4 010 24 57 58 create_run2 41 39 600 3 3 1 090 01 59 60 create_run2 41 39 600 3 4 1 120 01 61 create_run2 41 39 600 3 4 1 020 06 62 create_run2 41 39 600 3 4 1 010 12 63 create_run2 41 39 600 3 4 2 120 01 64 create_run2 41 39 600 3 4 2 020 12 65 create_run2 41 39 600 3 4 2 010 24 66 create_run2 41 39 600 3 4 4 120 04 67 create_run2 41 39 600 3 4 4 020 12 68 create_run2 41 39 600 3 4 4 010 24 69 70 create_run2 41 39 600 4 4 1 160 01 71 create_run2 41 39 600 4 4 1 040 04 72 create_run2 41 39 600 4 4 2 160 02 73 create_run2 41 39 600 4 4 2 040 08 74 create_run2 41 39 600 4 4 4 160 04 75 create_run2 41 39 600 4 4 4 040 16 76 ls -d run_* 31 77 } 32 78 … … 202 248 203 249 echo "Usage : benchmark.sh COMMAND" 204 echo "Available commands : create_220km create_ 35km submit clean stats"250 echo "Available commands : create_220km create_110km create_70km create_35km create_8km submit clean stats" 205 251 echo "Your command : $1" 206 252 -
configs/testing/benchmark/job.sh
r702 r994 10 10 #MSUB -T 1800 11 11 # account, partition (Xeon/KNL) 12 #MSUB -A g ch031612 #MSUB -A gen0239 13 13 #MSUB -q skylake 14 14 # Mount on compute node -
configs/testing/benchmark/run.def
r702 r994 9 9 nbp=NBP 10 10 optim_it=0 11 nsplit_i=NSPLIT 12 nsplit_j=NSPLIT 13 llm= 7911 nsplit_i=NSPLIT_I 12 nsplit_j=NSPLIT_J 13 llm=LLM 14 14 omp_level_size=OMP_LEVEL_SIZE 15 15 disvert=std
Note: See TracChangeset
for help on using the changeset viewer.