summaryrefslogtreecommitdiff
path: root/Microbenchmarks
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-23 14:10:06 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-23 14:10:06 +0100
commit453879e98456477c571be90deebe2b551b66f5c7 (patch)
tree124510586e8483c164cf6db3ea85400e917d25e9 /Microbenchmarks
parent09a8f09e2c00e484d59ceab09519984fc487237f (diff)
STREAM: shell scripting is hard, let's go shopping
Diffstat (limited to 'Microbenchmarks')
-rwxr-xr-xMicrobenchmarks/STREAM/run-rank-stress.sh1
1 files changed, 1 insertions, 0 deletions
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