Setting up 13.0.30 at Nikhef
The latest Athena release available for 32-bit slc3 machines and 64-bit slc4 machines is 13.0.30 ([1]). If you work with slc4 and 64-bit you are not able to check out packages so far, but it is possible to check out packages with slc3 and compile them with slc4 (Update: this issue has been solved!). The following instructions only work with the bash shell.
For changing to the bash shell type in
bash
Setting up 13.0.30 with slc3
Login to an slc3 computer, e.g one of the elel computers:
ssh elel<number>
The following steps have to be performed only once:
- Create a directory in your home directory called ~/cmthome/13.0.30_slc3:
mkdir ~/cmthome/13.0.30_slc3
- Create the file ~/cmthome/13.0.30_slc3/requirements with the following contents:
set CMTSITE STANDALONE set SITEROOT /data/atlas/offline/13.0.30_slc3 macro ATLAS_DIST_AREA ${SITEROOT} macro ATLAS_TEST_AREA /project/atlas/users/<username> #macro ATLAS_GROUP_AREA "/data/atlas/offline/EVGroupArea" apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} apply_tag setup apply_tag simpleTest use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG i686-slc3-gcc323-opt
- Set up the cmt version correspondig to release 13.0.30_slc3
source /data/atlas/offline/13.0.30_slc3/CMT/v1r20p20070720/mgr/setup.sh
- Go to the ~/cmthome/13.0.30_slc3 directory and type
cmt config
- Create a ~/init13.0.30_slc3.sh file in your home directory that looks like
#! /bin/sh # 1 -- setup Athena 13.0.30 source $HOME/cmthome/13.0.30_slc3/setup.sh -tag=setup,13.0.30 # 2 -- setup working area export USERPATH=/project/atlas/users/<username>/ export CMTPATH=${USERPATH}:${CMTPATH} cd /project/atlas/users/<username>/13.0.30
Your working area is set to /project/atlas/users/<username>/.
- You should also create a directory /project/atlas/users/<username>/13.0.30 :
mkdir /project/atlas/users/<username>/13.0.30
The following steps have to be performed every time you start to work:
- Do kerberos authentication:
kinit -4 <username>@CERN.CH [Note CERN.CH in uppercase and <username on ''lxplus''>]
- Set up release 13.0.30_slc3:
source ~/init13.0.30_slc3.sh
That is it. Enjoy Athena! Checking out packages works as usual (see [2])
Setting up 13.0.30 with slc4
Login to an slc4 computer.
The following steps have to be performed only once:
- Create a directory in your home directory called ~/cmthome/13.0.30_slc4:
mkdir ~/cmthome/13.0.30_slc4
- Create the file ~/cmthome/13.0.30_slc4/requirements with the following contents:
set CMTSITE STANDALONE set SITEROOT /data/atlas/offline/13.0.30_slc4 macro ATLAS_DIST_AREA ${SITEROOT} macro ATLAS_TEST_AREA /project/atlas/users/<username> #macro ATLAS_GROUP_AREA "/data/atlas/offline/EVGroupArea" apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} apply_tag setup apply_tag simpleTest use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG x86_64-slc4-gcc34-opt
- Set up the cmt version correspondig to release 13.0.30_slc4
source /data/atlas/offline/13.0.30_slc4/CMT/v1r20p20070720/mgr/setup.sh
- Go to the ~/cmthome/13.0.30_slc4 directory and type
cmt config
- Create a ~/init13.0.30_slc4.sh file in your home directory that looks like
#! /bin/sh # 1 -- setup Athena 13.0.30 source $HOME/cmthome/13.0.30_slc4/setup.sh -tag=setup,13.0.30 # 2 -- setup working area export USERPATH=/project/atlas/users/<username>/13.0.30 export CMTPATH=${USERPATH}:${CMTPATH} cd /project/atlas/users/<username>/13.0.30
Your working area is set to /project/atlas/users/<username>/.
- You should also create a directory /project/atlas/users/<username>/13.0.30 :
mkdir /project/atlas/users/<username>/13.0.30
The following steps have to be performed every time you start to work:
- Do kerberos authentication:
kinit -4 <username>@CERN.CH [Note CERN.CH in uppercase and <username on ''lxplus''>]
- Set up release 13.0.30_slc4:
source ~/init13.0.30_slc4.sh
That is it! Unfortunately checking out packages does not work with slc4. But you can check out packages with slc3 and compile them with slc4. It is useful to set up both enviroments.