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 centos 7
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