Skip to content
Snippets Groups Projects
Commit f1233e15 authored by Christoph Alt's avatar Christoph Alt
Browse files

testing gravity wave with 2D and 3D blockdecomp and with and without

barrier
parent 0509ae89
No related branches found
No related tags found
No related merge requests found
Pipeline #698135 passed
Pipeline: cx-test

#698136

    ......@@ -10,11 +10,20 @@ MPIRUN="likwid-mpirun -n ${CORES}"
    ARGUMENT="GravityWave.prm"
    executable="${BUILD_DIR}/${DIR}/GravityWaveCodegenBenchmark"
    basename_exe=$(basename ${executable})
    cmd="$MPIRUN $executable ${BUILD_DIR}/${DIR}/$ARGUMENT"
    if [ -n "$LIKWIDPRFCTR" ];
    then
    cmd="$LIKWIDPRFCTR -o likwid_${basename_exe}_${PERF_GROUP}.json ${cmd}"
    fi
    echo "Running $cmd"
    block_decompositions=("2D" "3D")
    barrier_after_sweep=("true" "false")
    $cmd
    for blockdecomp in ${block_decompositions[@]} ;
    do
    for barrier in ${barrier_after_sweep[@]};
    do
    cmd="$MPIRUN $executable ${BUILD_DIR}/${DIR}/$ARGUMENT -BenchmarkParameters.blockDecomposition=${blockdecomp} -BenchmarkParameters.barrier_after_sweep=${barrier}"
    if [ -n "$LIKWIDPRFCTR" ];
    then
    cmd="$LIKWIDPRFCTR -o likwid_${basename_exe}_${PERF_GROUP}.json ${cmd}"
    fi
    echo "Running $cmd"
    $cmd
    done
    done
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment