Skip to content

Commit

Permalink
Make sure EESSI is initialised
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa authored Oct 9, 2024
1 parent 9fcf33c commit 26a91f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down

0 comments on commit 26a91f0

Please sign in to comment.