60 likes | 220 Views
Athena. Outline. Setting up the environment Running an Athena job. Setup. In order to set all the necessary environment variables add to your .zshrc the following line: source /panfs/ppw1/agrp/atlas/setup/environment/setupEnv.sh To build up the Athena environment you have to:
E N D
Outline • Setting up the environment • Running an Athena job
Setup • In order to set all the necessary environment variables add to your .zshrc the following line:source /panfs/ppw1/agrp/atlas/setup/environment/setupEnv.sh • To build up the Athena environment you have to: • Set up the CVS. This is automatic in lxplus. On the pc-farm you have to set an authentication procedure (ssh or kerberos) against the atlas-cvs server. This is done by running (only once) the script setupCVS:setupCVS username [rsa] • Setup CMT environment – Create environment variables and requirements file. This is done by running (only once per athena environment) the script setupAthena or setupTutorialAthena. For this tutorial run:setupTutorialAthena work_dir 14.2.10 • Every login you have to run the athena_dir/cmt/init.sh script. • Few important tags that need explanation are in the requirements file: • setup – automaticly source package/cmt/setup.sh for every package you checked out. IMPORTANT – if you intend to use Ganga remove this line from the requirements file. • oneTest – all releases use the same testArea. • simpleTest – each release uses its own testArea by creating version sub-directory • atlasProject – Setting the environment of a certain project (like AtlasProduction) • groupArea – Set an addition path holding compiled versions of certain packages. For example this tutorial uses certain updates that are located in directory: $ATLAS_INST_PATH/athena/groupArea/tutorial_14.2.10 • For further discussion you can look at the Atlas Work Book:https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookSetAccount • Follow the tutorial page for understanding what the script does:https://twiki.cern.ch/twiki/bin/view/Atlas/RegularComputingTutorial
Running Athena Jobs • Follow:https://twiki.cern.ch/twiki/bin/view/Atlas/RegularComputingTutorialuntil the full chain (will be done in three weeks)Optional - making a new package
Hello PBS • Run: setupPBSJobTemplate • A new (~/pbsJobTemplate.sh) file was created. • Its submission is done using qsub • Use qstat to see the job in the queue
Hello Grid • Run setupGridJobTemplate • Two new files were created: • File ~/gridJobTemplate.sh which will be executed on the Grid • File ~/gridJobTemplate.jdl which defines the job’s parameters for the Grid. (jdl=Job Description Language)