Atlas 1002 setup

From Atlas Wiki
Jump to navigation Jump to search

Setup of atlas 10.0.2 software environment

Setting up the atlas software is done in three steps:

  1. Selecting a host and initializing the release 10.0.2 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 10.0.2 environment

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

  • Login to a SLC3 machine *source /project/atlas/nikhef/setup/nikhef_setup_10.0.2.csh

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

This needs to be done once.

  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 10.0.2 test release

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