Skip to content

Commit

Permalink
Update to apptainer for runtime and fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Nov 9, 2023
1 parent f27483e commit 26bc31f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/deploy_lxplus9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cat << EOF > ~recast/public/setup_"${RECAST_ATLAS_VERSION}".sh
export RECAST_DEFAULT_RUN_BACKEND=local
export RECAST_DEFAULT_BUILD_BACKEND=kubernetes
export PACKTIVITY_CONTAINER_RUNTIME=singularity
export PACKTIVITY_CONTAINER_RUNTIME=apptainer
export APPTAINER_CACHEDIR="/tmp/\${USER}/apptainer"
export SINGULARITY_CACHEDIR="\${APPTAINER_CACHEDIR}"
mkdir -p "\${APPTAINER_CACHEDIR}"
Expand All @@ -68,7 +68,7 @@ export KUBECONFIG=/eos/project/r/recast/atlas/cluster/clusterconfig
export PATH="\${PATH}:~recast/public/bin"
echo -e "\n# It is recommended to login to any private container registry now."
echo -e "# Example:\n# apptainer remote login --username \"\${USER}\" docker://gitlab-registry.cern.ch"
echo -e "# Example:\n# apptainer remote login --username \"\$"{USER}"\" docker://gitlab-registry.cern.ch"
EOF
# Link public setup script to this version
Expand Down

0 comments on commit 26bc31f

Please sign in to comment.