Skip to content

Commit

Permalink
add module purge to test.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
laraPPr authored Dec 19, 2024
1 parent 17f41e9 commit 07a778c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bot/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ JOB_STORAGE=$(mktemp --directory --tmpdir=${STORAGE} bot_job_tmp_XXX)
echo "bot/test.sh: created unique base tmp storage directory at ${JOB_STORAGE}"

echo "bot/test.sh: MODULEPATH='${MODULEPATH}'"
if [ -z "$HPCUGENT_FAMILY_CLUSTER" ]; then
module purge --force
echo "bot/test.sh: MODULEPATH='${MODULEPATH}'"
fi
# 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 07a778c

Please sign in to comment.