DQ2 Things
dq2 is handy software for copying files (things like AODs, ESDs, EVNTs, TAGs...) off the grid. To set it up, do this:
source /grid/LCG-share/UI/glite/external/etc/profile.d/grid-env.sh
source /grid/LCG-share/DQ2/endusers/setup.sh.UCL-HEP
voms-proxy-init -voms atlas
Then there are two main commands you'll probably feel like using:
dq2_ls -g <dataset name>
dq2_get -r -v <dataset name> <file in dataset>
The dq2_ls lists files in a dataset. The dq2_get gets them. The -g tells it to list files in the global catalogue, -r says look remotely, -v says tell me what the hell you're doing.
Dataset names are either official things like mc12.005200.T1_McAtNlo_Jimmy.evgen.EVNT.v12000401 or your own job output like user.adamdavison.005667.ntuples.v6
You also sometimes want a whole dataset rather than just one or two files for testing, then you just do:
dq2_get -r -v <dataset name>
And hope you've got enough free disk space.
--
AdamD - 14 Nov 2007
Topic revision: r1 - 2007-11-14
- AdamD