Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install CUDA and CUDA-Samples via the bot #381

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
Update EESSI-pilot-install-software.sh
Co-authored-by: Kenneth Hoste <[email protected]>
  • Loading branch information
ocaisa and boegel authored Nov 21, 2023
commit b42b2d76464112f54f734ccd7055a8fa883e54f4
3 changes: 2 additions & 1 deletion EESSI-pilot-install-software.sh
Original file line number Diff line number Diff line change
@@ -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
Loading