TWiki> ATLAS Web>RunningAnalysisAtBNL (revision 1)EditAttach


This page is about specific instructions to run distributed analysis from BNL, more detailed info on how to set up analysis code etc. for Nevis is at RunningAnalysis. You can tar up the area you developed at Nevis and copy it over to BNL. Note that in principle it should be possible to run pathena from Nevis. I haven't tried that yet.

Basic analysis setup at BNL

Most of the info regarding computing at BNL can be accessed from

ATLAS software support at BNL is at

To log in at BNL, you have to go through the gateway, then rterm -i acas+

It's best to do everything in bash, so bash

Create a $HOME/cmthome directory, and in it create a requirements file to look like this:

macro PROJ_RELEASE   "latest" \
         11.3.0         "11.3.0" \
         12.0.6         "12.0.6" \
         12.0.7         "12.0.7" \
         13.0.10        "13.0.10" \  
         13.0.20        "13.0.20" \  
         13.0.25        "13.0.25" \  
         13.0.30        "13.0.30" \  
         13.1.0         "13.1.0" \
         13.2.0         "13.2.0" \
         rel_0          "rel_0" \
         rel_1          "rel_1" \
         rel_2          "rel_2" \
         rel_3          "rel_3" \
         rel_4          "rel_4" \
         rel_5          "rel_5" \
         rel_6          "rel_6"

macro PROJ_BASE_RELEASE   "$(PROJ_RELEASE)" \      "13.0.25" \      "13.0.25" \      "13.0.25" \      "13.0.25" \      "13.0.25" \      "13.0.25" \      "13.0.25" \      "13.0.25"

         bugfix      "bugfix/$(PROJ_BASE_RELEASE)" \
         dev         "dev/$(PROJ_BASE_RELEASE)"

set SITEROOT /opt/usatlas/kit_rel/${PROJ_SUBDIR}
apply_tag oneTest 
apply_tag setupCMT
apply_tag setup
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
macro setup_slc3compat "" \
      gcc323  "/opt/usatlas/kit_rel/SLC3/setup_slc3compat"
setup_script $(setup_slc3compat)

That last line is needed to run pathena later on.

Then, the first time (and presumably every time you edit that requirements file), do

cd $HOME/cmthome
source /afs/usatlas/cernsw/contrib/CMT/v1r19/mgr/
cmt config

The following times, something like

source ~/cmthome/ -tag=12.0.6,gcc323
is enough.

Setting up for grid usage at BNL requires

source /afs/

To use panda you need to check out and compile the pandatools package where you also have your analysis code.

cmt co PhysicsAnalysis/DistributedAnalysis/PandaTools
cd PhysicsAnalysis/DistributedAnalysis/PandaTools/cmt
cmt config

To use dq2:

source /afs/

(Note that in csh or tcsh I have often observed "Word too long." errors when issuing these commands and subsequent problems.)

Now go back to your normal running area and test your code on a local file. If that works (with a reasonably large number of events), comment out the input file and number of events in you joboptions, and instead of

athena myoptions > log
run something like
pathena --inDS trig1_misal1_csc11_V1.005014.J5_pythia_jetjet.recon.ESD.v12000604 --outDS user.GustaafBrooijmans.trig1_misal1_csc11_V1.005014.J5_pythia_jetjet.recon.AAN.v12000604
You may need to add something like --site LYON if most files are not at BNL.

Then you can go monitor your job at

-- GustaafBrooijmans - 13 Sep 2007

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2007-09-13 - GustaafBrooijmans
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback