Changeset 994


Ignore:
Timestamp:
12/19/19 15:02:45 (4 years ago)
Author:
dubos
Message:

testing : update benchmark scripts

Location:
configs/testing/benchmark
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configs/testing/benchmark/benchmark.sh

    r702 r994  
    99} 
    1010 
    11 function create_run() # NBP TIME_STEP NSPLIT OMP_LEVEL_SIZE NB_MPI NB_OMP 
     11function create_run2() # NBP LLM TIME_STEP NSPLIT_I NSPLIT_J OMP_LEVEL_SIZE NB_MPI NB_OMP 
    1212{ 
    1313  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" 
    1819  mkdir $NAME 
    1920  cp run.def job.sh mpmd.conf gcm.sh *.xml $NAME 
     
    2223 
    2324  replace NBP $NBP run.def 
     25  replace LLM $LLM run.def 
    2426  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 
    3033  cd .. 
     34} 
     35 
     36function 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 
     41function 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_* 
    3177} 
    3278 
     
    202248 
    203249echo "Usage : benchmark.sh COMMAND" 
    204 echo "Available commands : create_220km create_35km submit clean stats" 
     250echo "Available commands : create_220km create_110km create_70km create_35km create_8km submit clean stats" 
    205251echo "Your command : $1" 
    206252 
  • configs/testing/benchmark/job.sh

    r702 r994  
    1010#MSUB -T 1800 
    1111# account, partition (Xeon/KNL) 
    12 #MSUB -A gch0316 
     12#MSUB -A gen0239 
    1313#MSUB -q skylake 
    1414# Mount  on compute node 
  • configs/testing/benchmark/run.def

    r702 r994  
    99nbp=NBP 
    1010optim_it=0 
    11 nsplit_i=NSPLIT 
    12 nsplit_j=NSPLIT 
    13 llm=79 
     11nsplit_i=NSPLIT_I 
     12nsplit_j=NSPLIT_J 
     13llm=LLM 
    1414omp_level_size=OMP_LEVEL_SIZE 
    1515disvert=std 
Note: See TracChangeset for help on using the changeset viewer.