From 275edb404b8c9a63a445fa6ad181de8d69d34e4f Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Fri, 11 Oct 2024 18:38:51 +0200 Subject: [PATCH] Put a Lmod-relevant wrapper in place for archdetect accelerator detection --- init/lmod_eessi_archdetect_wrapper_accel.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 init/lmod_eessi_archdetect_wrapper_accel.sh diff --git a/init/lmod_eessi_archdetect_wrapper_accel.sh b/init/lmod_eessi_archdetect_wrapper_accel.sh new file mode 100644 index 0000000000..d4a0038cb5 --- /dev/null +++ b/init/lmod_eessi_archdetect_wrapper_accel.sh @@ -0,0 +1,2 @@ +# This can be leveraged by the source_sh() feature of Lmod +export EESSI_ACCEL_SUBDIR=$($(dirname $(readlink -f $BASH_SOURCE))/eessi_archdetect.sh accelpath)