Difference between revisions of "NIKHEF PAT workshop Oct2006"

From Atlas Wiki
Jump to navigation Jump to search
Line 34: Line 34:
 
</pre>
 
</pre>
  
==Setup for the release 12.0.1==
+
==Setup for the release 12.0.2==
 
*Do the following:
 
*Do the following:
 
<pre>
 
<pre>
source setup.sh -tag=12.0.1
+
source setup.sh -tag=12.0.2
 
</pre>
 
</pre>
  
Line 47: Line 47:
 
*Stuff like this should be printed to your screen:
 
*Stuff like this should be printed to your screen:
 
<pre>
 
<pre>
/afs/cern.ch/user/k/ketevi/scratch0/Tutorial/12.0.1:
+
/afs/cern.ch/user/o/ordonez/scratch0/Workshop/12.0.2:
/afs/cern.ch/atlas/software/builds/AtlasOffline/12.0.1
+
/afs/cern.ch/atlas/software/builds/AtlasOffline/12.0.2
 
</pre>
 
</pre>
  
 
*You see that the path to your working directory, the path to the release directory and the external are set correctly - do not proceed unless this is done correctly.
 
*You see that the path to your working directory, the path to the release directory and the external are set correctly - do not proceed unless this is done correctly.

Revision as of 13:13, 22 September 2006

Set up CMT

  • Login to lxplus at CERN and create a working directory called "Tutorial". We will use the release 12.0.2 this tutorial:
ssh lxplus.cern.ch
cd scratch0
mkdir Tutorial
cd Tutorial
mkdir 12.0.2
  • Create a file called "requirements" and setup CMT. My requirements file looks like this where my working area for 12.0.2 is ${HOME}/scratch0/Workshop/12.0.2:
set   CMTSITE  CERN
set   SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist
                      
macro ATLAS_GROUP_AREA "/afs/cern.ch/atlas/groups/PAT/Tutorial"
 
macro ATLAS_TEST_AREA "" \
        12.0.2 "${HOME}/scratch0/Workshop/12.0.2"
 
 
apply_tag oneTest
 
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
  • Then do the following:
source /afs/cern.ch/sw/contrib/CMT/v1r18p20060301/mgr/setup.sh
cmt config

Setup for the release 12.0.2

  • Do the following:
source setup.sh -tag=12.0.2
  • Check that the CMT path is correct by doing this
echo $CMTPATH
  • Stuff like this should be printed to your screen:
/afs/cern.ch/user/o/ordonez/scratch0/Workshop/12.0.2:
/afs/cern.ch/atlas/software/builds/AtlasOffline/12.0.2
  • You see that the path to your working directory, the path to the release directory and the external are set correctly - do not proceed unless this is done correctly.