We now distribute cmssw-env, cmssw-cc{6,7,8}, cmssw-el{8,9}
(available under /cvmfs/cms.cern.ch/common
) helper scripts to setup cms env. The singularity images used by these scripts are available under /cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw
e.g.
/cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw/el9:x86_64
/cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw/el8:x86_64
/cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw/cc7:x86_64
/cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw/slc6:amd64
On lxplus, run cmssw-env
command to setup up the env e.g.
lxplus> cmssw-env --cmsos slc5
Singularity> cat /etc/redhat-release
Scientific Linux CERN SLC release 5.11 (Boron)
Singularity> exit
lxplus>
OR
lxplus> cmssw-env --cmsos slc5 --command-to-run cat /etc/redhat-release
Scientific Linux CERN SLC release 5.11 (Boron)
lxplus> cmssw-cc6
Singularity> cat /etc/redhat-release
CentOS release 6.10 (Final)
Singularity> exit
lxplus>
OR
lxplus> cmssw-cc6 --command-to-run cat /etc/redhat-release
CentOS release 6.10 (Final)
lxplus> cmssw-cc7
Singularity> cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
Singularity> exit
lxplus>
OR
lxplus> cmssw-cc7 --command-to-run cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
lxplus> cmssw-el8 # OR cmssw-el9
Singularity> cat /etc/redhat-release
AlmaLinux release 8.5 (Arctic Sphynx)
Singularity> exit
lxplus>
OR
lxplus> cmssw-el9 --command-to-run cat /etc/redhat-release
AlmaLinux release 9.0 Beta (Emerald Puma)