glideinWMS / glideinwms

The glideinWMS Project
http://tinyurl.com/glideinwms
Apache License 2.0
16 stars 46 forks source link

Added APPTAINER/SINGULARITY_CACHEDIR and APPTAINER/SINGULARITY_TMPDIR #404

Closed mambelli closed 6 months ago

mambelli commented 6 months ago

Added APPTAINER/SINGULARITY_CACHEDIR and APPTAINER/SINGULARITY_TMPDIR to make sure that Apptainer/Singularity files are in the Glidein tree

The default cache in Apptainer is ~/.apptainer/cache which was in outside the Glidein space. Temp dir uses $TMPDIR which is $GLIDEIN_LOCAL_TMP_DIR in Glideins. The new defaults are $GLIDEIN_LOCAL_TMP_DIR/apptainer/cache and $GLIDEIN_LOCAL_TMP_DIR/apptainer/tmp Define the variables to an empty value to use Apptainer defaults.

This PR fixes #403