Using ganga at NIKHEF

From Atlas Wiki
Revision as of 12:27, 1 June 2007 by Fkoetsve (talk | contribs)
Jump to navigation Jump to search

You need an afs ticket to run ganga. Also, you need a grid certificate, and you need to setup the grid, as described in the DQ2 at Nikhef wiki. At the same time, assuming you set up the GRID tools according to Martijn’s Wiki, COMMENT OUT THE LINE: source /project/atlas/nikhef/dq2/dq2_setup.csh.NIKHEF If you setup the GRID tools in some other way, make sure the grid tools environment is not loaded. GANGA AND GRID TOOLS ENVIRONMENT CLASH! Apparently, it is a mismatch between the grod tools environment and the Athena environment. You can add the line to an alias or whatever, if you wish. Then setup ATHENA at NIKHEF as described in athena 12.0.6 Wiki.

To setup ganga, add the two following lines to the .cshrc:
setenv GANGA_CONFIG_PATH GangaAtlas/Atlas.ini
#for the local installation
#set path = (/public/public_linux/Ganga/install/4.3.0/bin/ $path)
#for the newest version installed on afs
set path = (/afs/cern.ch/sw/ganga/install/4.3.1/bin/ $path)
setenv LFC_HOST ’lfc03.nikhef.nl’
setenv LCG_CATALOG_TYPE lfc
or if you are working in a sh based shell (such as bash):
export GANGA\_CONFIG\_PATH=GangaAtlas/Atlas.ini #for the local installation #PATH=/public/public_linux/Ganga/install/4.3.0/bin/:${PATH} #for the newest version installed on afs PATH=/afs/cern.ch/sw/ganga/install/4.3.1/bin/:${PATH} source LFC_HOST=’lfc03.nikhef.nl’ source LCG_CATALOG_TYPE=lfc The first time ganga runs, it will ask to create a configuration file $HOME/.gangarc. Answer yes, and edit the config file as follows:

  1. test

In the section labelled [LCG] uncomment the line:
VirtualOrganisation = atlas
and add the line
DefaultSE = tbn18\.nikhef\.nl

  1. In the section labeled [Athena] uncomment the line:

# local path to base paths of dist-kits (lxplus example)
ATLAS_SOFTWARE = /data/atlas/offline/

  1. In the section labeld [ROOT] uncomment and edit the lines:

location = /data/atlas/offline/12.0.6/sw/lcg/external/root/
version = 5.10.00e
arch = slc3_ia3_gcc323