diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-15 07:32:36 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-15 07:32:36 +0200 |
commit | 02ba01efdb61244e6b4f1b18c171967ffa60e533 (patch) | |
tree | 7f6b12dc1562e9be7fcddc940e562ef19b5a4648 /Microbenchmarks | |
parent | 4f9ab55e5278ee3b248b20f3541d289ebfb4d585 (diff) |
dimes24-hetsim-alloc: fix parallel invocation and set -e
Diffstat (limited to 'Microbenchmarks')
-rwxr-xr-x | Microbenchmarks/CPU-DPU/dimes24-hetsim-alloc.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Microbenchmarks/CPU-DPU/dimes24-hetsim-alloc.sh b/Microbenchmarks/CPU-DPU/dimes24-hetsim-alloc.sh index 702194f..bccb3ce 100755 --- a/Microbenchmarks/CPU-DPU/dimes24-hetsim-alloc.sh +++ b/Microbenchmarks/CPU-DPU/dimes24-hetsim-alloc.sh @@ -1,12 +1,11 @@ #!/bin/bash -set -e - mkdir -p log/$(hostname) fn=log/$(hostname)/$(date +%Y%m%d).a run_benchmark_nmc() { local "$@" + set -e sudo limit_ranks_to_numa_node ${numa_rank} ./make-size.sh ${size} n_nops=$((size * 256)) @@ -28,7 +27,7 @@ parallel -j1 --eta --joblog ${fn}.1.joblog --resume --header : \ ::: numa_rank 0 1 \ ::: numa_cpu 0 1 \ ::: nr_ranks $(seq 1 20) \ - ::: size $(seq 0 16) \ + ::: size $(seq 0 16) parallel -j1 --eta --joblog ${fn}.2.joblog --resume --header : \ run_benchmark_nmc nr_ranks={nr_ranks} numa_rank={numa_rank} numa_cpu={numa_cpu} size={size} \ @@ -36,6 +35,6 @@ parallel -j1 --eta --joblog ${fn}.2.joblog --resume --header : \ ::: numa_rank any \ ::: numa_cpu 0 1 \ ::: nr_ranks $(seq 21 40) \ - ::: size $(seq 0 16) \ + ::: size $(seq 0 16) ) >> ${fn}.txt |