Skip to content

Commit

Permalink
show available *CUDA* modules for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Oct 4, 2024
1 parent 21ffc18 commit a3edc20
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/gpu_support/nvidia/install_cuda_and_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ else
fi
echo "Created temporary directory '${tmpdir}'"

# workaround for EasyBuild not being found when loading "extend" module
# module load EasyBuild/4.9.4
echo "List available *CUDA* modules before loading EESSI-extend/${EESSI_VERSION}-easybuild"
module avail CUDA

# load EESSI-extend/2023.06-easybuild module && verify that it is loaded
EESSI_EXTEND_MODULE="EESSI-extend/${EESSI_VERSION}-easybuild"
Expand All @@ -112,7 +112,11 @@ if [ "${ret}" -ne 0 ]; then
fatal_error "An error occured while trying to load ${EESSI_EXTEND_MODULE}\n"
fi

echo "List available *CUDA* modules after loading EESSI-extend/${EESSI_VERSION}-easybuild"
module avail CUDA

# show EasyBuild configuration
echo "Show EasyBuild configuration"
eb --show-config

# do a 'eb --dry-run-short' with the EASYSTACK_FILE and determine list of packages
Expand Down

0 comments on commit a3edc20

Please sign in to comment.