Project

General

Profile

Life without LXPLUS: tips

setupATLAS

Whether you're on the IJCLAB ATLAs servers or a server at Lyon, setupATLAS is not defined by default, please do

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source $ATLAS_LOCAL_ROOT_BASE/user/atlasLocalSetup.sh 

and then the interactive environment should be quite similar to using lxplus.

containers

When you are on an el9 node and you want to run centos7 release (or vice versa), on an interactive machine you can enter a container via setupATLAS:

setupATLAS -c centos7

In a script shell, to execute a command in a container this is a bit more tricky, here is an example code stud:

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh -c el9 <<EOF
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
asetup  Athena,23.0.36
YOURCOMMANDS
EOF

Download failed

rhel9 / alma9 has by default stopped supporting the SHA1 encryption. If lxplus machine have it enabled, this is not the case for the IJCLAB machine nor the CC-IN2P3 interactive machine. That cause certificate verification failure in particular with sites that have certificates (or CA certificates) encrypted with SHA1. In that case run your download inside the cvmfs alma9 container:

setupATLAS -c el9