diff --git a/evaluate_cpu_omp_perf.sh b/evaluate_cpu_openmpi_metrics.sh similarity index 55% rename from evaluate_cpu_omp_perf.sh rename to evaluate_cpu_openmpi_metrics.sh index 4017ec0..8124e64 100644 --- a/evaluate_cpu_omp_perf.sh +++ b/evaluate_cpu_openmpi_metrics.sh @@ -1,8 +1,8 @@ -#!/bin/bash -for i in $(seq 1 32); do - echo "$i" - export "OMP_NUM_THREADS=$i" - ./MDBench-GCC -n 50 | grep "Performance" +END=32 +for ((i=1;i<=END;i++)); do + output=$(eval "likwid-mpirun -np 1 -t $i -m -g FLOPS_DP -omp gnu ./MDBench-GCC -n 50") + echo -n "$i," + echo "$output" > "FLOPS_DP/thread_$i.txt" done ## likwid perf measurements on testfront1: diff --git a/evaluate_cpu_runtime.sh b/evaluate_cpu_runtime.sh new file mode 100644 index 0000000..05a366f --- /dev/null +++ b/evaluate_cpu_runtime.sh @@ -0,0 +1,6 @@ +#!/bin/bash +for i in $(seq 1 32); do + echo "$i" + export "OMP_NUM_THREADS=$i" + ./MDBench-GCC -n 50 | grep "Performance" +done