diff --git a/bot/test.sh b/bot/test.sh index b6306b902d..44fd8a39c3 100755 --- a/bot/test.sh +++ b/bot/test.sh @@ -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}'"