From 26a91f07876e31d55f901c4ec14737f0e5ecadb7 Mon Sep 17 00:00:00 2001 From: ocaisa Date: Wed, 9 Oct 2024 20:57:58 +0200 Subject: [PATCH] Make sure EESSI is initialised --- scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh b/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh index a35023ebdb..1b450c6a37 100755 --- a/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh +++ b/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh @@ -130,6 +130,9 @@ check_global_read() { fi } +# Make sure EESSI is initialised (doesn't matter what version) +check_eessi_initialised + # Check for required commands command -v nvidia-smi >/dev/null 2>&1 || { echo_yellow "nvidia-smi not found, this script won't do anything useful"; return 1; }