From c079ff94117a9c76051cfd2d7c63134b126000f9 Mon Sep 17 00:00:00 2001 From: Julian Morillo Date: Mon, 27 Jan 2025 11:33:12 +0100 Subject: [PATCH] Update trace.sh --- hands-on-extrae/mpi/trace.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hands-on-extrae/mpi/trace.sh b/hands-on-extrae/mpi/trace.sh index 0578444..f3095bc 100755 --- a/hands-on-extrae/mpi/trace.sh +++ b/hands-on-extrae/mpi/trace.sh @@ -1,6 +1,7 @@ #!/bin/bash -source /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen3/software/Extrae/4.2.0-gompi-2023b/etc/extrae.sh +if [ -z $EBROOTEXTRAE ]; then echo "Extrae module not loaded?" >&2; exit 1; fi +source $EBROOTEXTRAE/etc/extrae.sh export OMP_NUM_THREADS=4 export EXTRAE_CONFIG_FILE=extrae.xml -- GitLab