Skip to content

Commit

Permalink
use JOB_STORAGE as parent dir for SINGULARITY_TMPDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Dec 4, 2024
1 parent 6433728 commit 3452993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ echo "bot/build.sh: LOAD_MODULES='${LOAD_MODULES}'"
# singularity/apptainer settings: CONTAINER, HOME, TMPDIR, BIND
CONTAINER=$(cfg_get_value "repository" "container")
export SINGULARITY_HOME="${PWD}:/eessi_bot_job"
export SINGULARITY_TMPDIR="${PWD}/singularity_tmpdir"
export SINGULARITY_TMPDIR="${JOB_STORAGE}/singularity_tmpdir"
mkdir -p ${SINGULARITY_TMPDIR}

# load modules if LOAD_MODULES is not empty
Expand Down

0 comments on commit 3452993

Please sign in to comment.