From 02ba01efdb61244e6b4f1b18c171967ffa60e533 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 15 Jul 2024 07:32:36 +0200 Subject: dimes24-hetsim-alloc: fix parallel invocation and set -e --- Microbenchmarks/CPU-DPU/dimes24-hetsim-alloc.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Microbenchmarks') 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 -- cgit v1.2.3