Skip to content

Commit

Permalink
Merge branch 'cuda_install' of github.com:ocaisa/software-layer into …
Browse files Browse the repository at this point in the history
…cuda_install
  • Loading branch information
ocaisa committed Nov 30, 2023
2 parents 9d275fe + b42b2d7 commit 9ff5157
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion EESSI-pilot-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ done

echo ">> Creating/updating Lmod cache..."
export LMOD_RC="${EASYBUILD_INSTALLPATH}/.lmod/lmodrc.lua"
if [ ! -f $LMOD_RC ] || 'create_lmodrc.py' == $(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep '^create_lmodrc.py$' | egrep -v 'known-issues|missing'); then
lmodrc_changed=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep '^create_lmodrc.py$' > /dev/null; echo $?)
if [ ! -f $LMOD_RC ] || [ ${lmodrc_changed} == '0' ]; then
python3 $TOPDIR/create_lmodrc.py ${EASYBUILD_INSTALLPATH}
check_exit_code $? "$LMOD_RC created" "Failed to create $LMOD_RC"
fi
Expand Down
9 changes: 6 additions & 3 deletions eessi-2023.06-eb-4.8.2-2023a.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
easyconfigs:
- CUDA-Samples-12.1-GCC-12.3.0-CUDA-12.1.1.eb
options:
from-pr: 19189
- CUDA-Samples-12.1-GCC-12.3.0-CUDA-12.1.1.eb:
# use easyconfig that only install subset of CUDA samples,
# to circumvent problem with nvcc linking to glibc of host OS;
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/19189
options:
from-pr: 19189

0 comments on commit 9ff5157

Please sign in to comment.