From 453879e98456477c571be90deebe2b551b66f5c7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 23 Feb 2024 14:10:06 +0100 Subject: STREAM: shell scripting is hard, let's go shopping --- Microbenchmarks/STREAM/run-rank-stress.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'Microbenchmarks/STREAM') diff --git a/Microbenchmarks/STREAM/run-rank-stress.sh b/Microbenchmarks/STREAM/run-rank-stress.sh index 1e321c6..a29f101 100755 --- a/Microbenchmarks/STREAM/run-rank-stress.sh +++ b/Microbenchmarks/STREAM/run-rank-stress.sh @@ -5,6 +5,7 @@ mkdir -p $(hostname) NCORES=$(grep -c '^processor' /proc/cpuinfo) cleanexit() { pkill -f "stress -c ${NCORES}" + exit 0 } trap cleanexit TERM INT -- cgit v1.2.3