Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

The centrally maintained ATLAS page for starting on the GRID is the place to start

DQ2 Setup at SLAC

DQ2 is the ATLAS data management system. There is significant documentation on it's general prinicples, usage, and troubleshooting here

In order to being using the DQ2 tools at SLAC one simply needs to source the following script

...

This script is automatically run for you if you are using the standard ATLAS setup and run "bash",
as described here: SLAC ATLAS Computing Environment

...

Code Block
dq2-put --long-surls -p lcg -L SLACXRD_USERDISKLOCALGROUPDISK -s mydirectory user09.AndrewHaas477621.SG_pythia_real_1000GeV.ESD.v1

Wiki Markupwhere "mydirectory" is a directory containing the files you want to add to the dataset.
If you don't like answering "yes" to all the questions, include option "-a".
If you get "LFC exception \ [Could not create path with error Permission denied ... ", it's possible that the group membership of /grid/atlas/dq2/user09 is wrong. Complain to [Non-Grid Jobs at SLAC|https://groups.cern.ch/group/hn-atlas-SLACNonGridJobs/default.aspx]\SLAC!

If your directory contains ".pool.root" files, you need to setup a release first, so dq2-put can calculate the GUID for each file using "pool_extractFileIdentifier". Note: the GUID is created at the time the file is created, based upon the name of the file, machine, etc. To be safe,create the file with an original filename, by inserting some random string in it!

The dataset name you use should conform to the format "user09.DN.name.datatype.version", as above,
where DN is your identifier extracted from your certificate, and can be computed from:

...

Code Block
dq2-ls -f user09.AndrewHaas477621.SG_pythia_real*.ESD.v1

To freeze the dataset:

Code Block

dq2-freeze-dataset user09.AndrewHaas477621.SG_pythia_real_1000GeV.ESD.v1

To get the dataset:

...

Code Block
dq2-register-subscription --archive <dataSet> SLACXRD_USERDISKLOCALGROUPDISK

(the --archive flag makes sure it doesn't automatically get deleted after a week)

...

Code Block
dq2-register-subscription-container --archive  data09_cos.00121416.physics_L1Calo.merge.DPD_CALOCOMM.r733_p37/ SLACXRD_USERDISKLOCALGROUPDISK
The new way:

Go to:

Panel

http://panda.cern.ch:25980/server/pandamon/query?mode=ddm_req

You'll have to first register once with Panda and have your GRID certificate approved by the system (make sure you have it imported into your Firefox browser)

...

A commonly used set of tools for distributed analysis is PANDA

In order to being using these tools at SLAC, one simply needs to source 1 script and set 1 environment variable

...