Difference between revisions of "Setting up 13.0.30 at Nikhef"

From Atlas Wiki
Jump to navigation Jump to search
 
Line 18: Line 18:
 
mkdir ~/cmthome/13.0.30_slc3
 
mkdir ~/cmthome/13.0.30_slc3
 
</pre>   
 
</pre>   
   <li> Create the file  ''~/cmthome/requirements''  with the following contents:
+
   <li> Create the file  ''~/cmthome/13.0.30_slc3/requirements''  with the following contents:
 
<pre>
 
<pre>
 
set CMTSITE STANDALONE
 
set CMTSITE STANDALONE
Line 42: Line 42:
 
   <li> Set up the ''cmt'' version correspondig to release 13.0.30_slc3
 
   <li> Set up the ''cmt'' version correspondig to release 13.0.30_slc3
 
<pre>
 
<pre>
source /data/atlas/offline/13.0.30_slc4/CMT/v1r20p20070720/mgr/setup.sh
+
source /data/atlas/offline/13.0.30_slc3/CMT/v1r20p20070720/mgr/setup.sh
 
</pre>  
 
</pre>  
  
Line 82: Line 82:
 
</pre>
 
</pre>
 
</ul>
 
</ul>
That is it. Enjoy Athena!
+
That is it. Enjoy Athena! Checking out packages works as usual(see [https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookRunAthenaHelloWorld])
 +
 
 +
= '''Setting up 13.0.30 with slc4''' =
 +
 
 +
Login to an slc4 computer.
 +
 
 +
'''The following steps have to be performed only once:'''
 +
<ul>
 +
  <li> Create a directory in your home directory called ''cmthome/13.0.30_slc4'':
 +
<pre>
 +
mkdir ~/cmthome/13.0.30_slc4
 +
</pre> 
 +
  <li> Create the file  ''~/cmthome/13.0.30_slc4/requirements''  with the following contents:
 +
<pre>
 +
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
 +
 
 +
</pre>
 +
 
 +
  <li> Set up the ''cmt'' version correspondig to release 13.0.30_slc4
 +
<pre>
 +
source /data/atlas/offline/13.0.30_slc4/CMT/v1r20p20070720/mgr/setup.sh
 +
</pre>
 +
 
 +
<li> Go to the ''~/cmthome/13.0.30_slc4'' directory and type
 +
<pre>
 +
cmt config
 +
</pre>
 +
 
 +
<li> Create a ''init13.0.30_slc4.sh'' file in your home directory that looks like
 +
<pre>
 +
#! /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>/
 +
export CMTPATH=${USERPATH}:${CMTPATH}
 +
 
 +
cd /project/atlas/users/<username>/13.0.30
 +
 
 +
</pre>
 +
 
 +
Your working area is set to ''/project/atlas/users/<username>/''.
 +
 
 +
  <li> You should also create a directory ''/project/atlas/users/<username>/13.0.30'' :
 +
<pre>
 +
mkdir /project/atlas/users/<username>/13.0.30
 +
</pre>
 +
</ul>
 +
'''The following steps have to be performed every time you start to work:'''
 +
<ul>
 +
  <li> Do kerberos authentication:
 +
<pre>
 +
kinit -4 -5 <username>@CERN.CH  [Note CERN.CH in uppercase and <username on ''lxplus''>]
 +
</pre>
 +
  <li> Set up release 13.0.30_slc4:
 +
<pre>
 +
source ~/init13.0.30_slc4.sh
 +
</pre>
 +
</ul>

Revision as of 15:10, 24 January 2008

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. 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 -5 <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>/
    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 -5 <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