diff --git a/scripts/update_lmod_cache_cvmfs_base.sh b/scripts/update_lmod_cache_cvmfs_base.sh new file mode 100755 index 0000000..df5a5df --- /dev/null +++ b/scripts/update_lmod_cache_cvmfs_base.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +source $(dirname $(realpath $0))/stack.cfg + +CONTAINER="docker://ghcr.io/rug-cit-hpc/build-node:${os}" + +# Generate base module cache +DOT_LMOD="${stack_base_std}/.lmod" +LMOD_RC="${stack_base_std}/.lmod/lmodrc.lua" + +apptainer shell -B /cvmfs ${CONTAINER} < "${LMOD_RC}" <