Skip to content

Commit 516de1d

Browse files
committed
pin apptainer version for sl7
1 parent d93971a commit 516de1d

File tree

1 file changed

+5
-0
lines changed
  • HeterogeneousCore/SonicTriton/scripts

1 file changed

+5
-0
lines changed

HeterogeneousCore/SonicTriton/scripts/cmsTriton

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ IMAGE=fastml/triton-torchgeo:22.07-py3-geometric
2323
SANDBOX=""
2424
COMPAT_USR=""
2525
EXTRAPATH=/cvmfs/oasis.opensciencegrid.org/mis/apptainer/current/bin
26+
OSVERSION=$(sed -nr 's/[^0-9]*([0-9]+).*/\1/p' /etc/redhat-release)
27+
if [ "$OSVERSION" -eq 7 ]; then
28+
# this is the latest version with guaranteed sl7 support
29+
EXTRAPATH=/cvmfs/oasis.opensciencegrid.org/mis/apptainer/1.2.5/bin
30+
fi
2631
DEVICE=auto
2732
THREADCONTROL=""
2833

0 commit comments

Comments
 (0)