Difference between revisions of "Atlas 904 setup"

From Atlas Wiki
Jump to navigation Jump to search
 
 
(7 intermediate revisions by 3 users not shown)
Line 14: Line 14:
 
This needs to be done every time you want to work with the ATLAS software
 
This needs to be done every time you want to work with the ATLAS software
  
* Login to a RH7.3 or SLC3 machine
+
* Login to a RH7.3 machine (apparently it does not work on SLC3 machines yet!)
*<tt>source /project/atlas/nikhef/seup/nikhef_setup_9.0.4.csh</tt>
+
*<tt>source /project/atlas/nikhef/setup/nikhef_setup_9.0.4.csh</tt>
  
 
=== Step 2 - Creating a test release in your private work area ===
 
=== Step 2 - Creating a test release in your private work area ===
  
This needs to be done once.
+
This needs to be done once. (doesn't work on SLC3 machine!)
  
# Go to your personal scratch directory: cd /project/atlas/users/<userid>/ttbar.  Create the <userid> and ttbar directories if required.  
+
# Go to your personal scratch directory: <tt>cd /project/atlas/users/<userid>/ttbar</tt>.  Create the <tt><userid></tt> and <tt>ttbar</tt> directories if required.  
# Obtain an AFS token at cern: klog <cern_userid>@cern.ch
+
# Obtain an AFS token at cern: <tt>klog <cern_userid>@cern.ch</tt> and type your CERN AFS password at the prompt.
# Check out the TestRelease package: cmt co TestRelease  
+
# Check out the TestRelease package: <tt>cmt co TestRelease</tt>
# Change directory to the test release: cd TestRelease/TestRelease-00-00-18/cmt/  
+
# Change directory to the test release: <tt>cd TestRelease/TestRelease-00-00-18/cmt/</tt>
 
# Edit the 'requirements' file as follows:<br>Remove:
 
# Edit the 'requirements' file as follows:<br>Remove:
 
<pre>
 
<pre>
Line 40: Line 40:
 
use TruthExamples  TruthExamples-00-*  Generators/GenAnalysisTools
 
use TruthExamples  TruthExamples-00-*  Generators/GenAnalysisTools
 
</pre>
 
</pre>
# Execute cmt config
+
# Execute <tt>cmt config</tt>
  
 
=== Step 3 - Initializing the environment to use that test release ===
 
=== Step 3 - Initializing the environment to use that test release ===

Latest revision as of 09:10, 25 April 2005

Setup of atlas 9.0.4 software environment

Setting up the atlas software is done in three steps:

  1. Selecting a host and initializing the release 9.0.4 environment,
  2. Creating a test release in your private work area, and
  3. Initializing the environment to use that test release.

Step 2 only needs to be done once, steps 1 and 3 need to be done every time you log in.

Step 1 - Selecting a host and initializing the release 9.0.4 environment

This needs to be done every time you want to work with the ATLAS software

  • Login to a RH7.3 machine (apparently it does not work on SLC3 machines yet!)
  • source /project/atlas/nikhef/setup/nikhef_setup_9.0.4.csh

Step 2 - Creating a test release in your private work area

This needs to be done once. (doesn't work on SLC3 machine!)

  1. Go to your personal scratch directory: cd /project/atlas/users/<userid>/ttbar. Create the <userid> and ttbar directories if required.
  2. Obtain an AFS token at cern: klog <cern_userid>@cern.ch and type your CERN AFS password at the prompt.
  3. Check out the TestRelease package: cmt co TestRelease
  4. Change directory to the test release: cd TestRelease/TestRelease-00-00-18/cmt/
  5. Edit the 'requirements' file as follows:
    Remove:
use AtlasRelease AtlasRelease-*

Insert below the comment block starting with 'Setup the runtime environment'

use AthenaRunTime AthenaRunTime-00-* Control
use AthExHelloWorld AthExHelloWorld-00-* Control/AthenaExamples
use Pythia_i        Pythia_i-00-*        Generators
use Herwig_i        Herwig_i-00-01-*     Generators
#use McAtNlo_i      McAtNlo_i-00-00-10   Generators

use Atlfast         Atlfast-01-*         Simulation
use TruthExamples   TruthExamples-00-*   Generators/GenAnalysisTools
  1. Execute cmt config

Step 3 - Initializing the environment to use that test release

This needs to be done every time you login again and want to use your 9.0.4 test release

  1. Change directory to the test release: cd TestRelease/TestRelease-00-00-18/cmt/
  2. Execute source setup.csh