Skip to content

Commit

Permalink
Merge pull request #679 from casparvl/disabling_lmod_cache_in_test_step
Browse files Browse the repository at this point in the history
Disable LMOD cache in test step so we can use modules built in the build step
  • Loading branch information
boegel authored Aug 20, 2024
2 parents 72e7b2e + af8d9dc commit 728eb66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ echo "EESSI_SOFTWARE_SUBDIR_OVERRIDE: $EESSI_SOFTWARE_SUBDIR_OVERRIDE"

source $TOPDIR/init/bash

# We have to ignore the LMOD cache, otherwise the software that is built in the build step cannot be found/loaded
# Reason is that the LMOD cache is normally only updated on the Stratum 0, once everything is ingested
export LMOD_IGNORE_CACHE=1

# Load the ReFrame module
# Currently, we load the default version. Maybe we should somehow make this configurable in the future?
module load ReFrame
Expand Down

0 comments on commit 728eb66

Please sign in to comment.