Skip to content

Commit

Permalink
add module purge
Browse files Browse the repository at this point in the history
  • Loading branch information
laraPPr authored Dec 19, 2024
1 parent db618eb commit 35b8b01
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bot/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ echo "bot/test.sh: created unique base tmp storage directory at ${JOB_STORAGE}"

echo "bot/test.sh: MODULEPATH='${MODULEPATH}'"
echo "bot/test.sh: does it know that it is on a UGent cluster? HPCUGENT_FAMILY_CLUSTER='${HPCUGENT_FAMILY_CLUSTER}'"
if [ -z "$HPCUGENT_FAMILY_CLUSTER" ]; then
module --force purge
echo "bot/test.sh: MODULEPATH='${MODULEPATH}'"
fi
module --force purge
# should be ok to this because won't cause trouble on mc clusters and if modules need to be loaded it is part of the bot script which happens after this
echo "bot/test.sh: MODULEPATH='${MODULEPATH}'"
# obtain list of modules to be loaded
LOAD_MODULES=$(cfg_get_value "site_config" "load_modules")
echo "bot/test.sh: LOAD_MODULES='${LOAD_MODULES}'"
Expand Down

0 comments on commit 35b8b01

Please sign in to comment.