ATLASClientAtHU
From NETier2
Overview
The ATLAS-Client software is now available on the odyssey filesystem.
This package consists of DQ2Clients and wlcg-client, and it should provide everything you need to interact with the various systems used by ATLAS.
It includes such things as dq2-ls, dq2-get, dq2-list-dataset-site, globus-job-run, lcg-cp, etc.
Setup
In order to use the software, simply source the appropriate setup script.
Users of sh-like shells should do:
source /odyssey/apps/ATLAS-Client/setup.sh
Users of csh-like shells should source /odyssey/apps/ATLAS-Client/setup.csh.
Note that this will make 32-bit Python 2.4.5 the first python found in your PATH.
There are plans in the works to eliminate this issue, but some of the tools currently still require this.
The above setup allows you to do some simple grid operations. However, most useful interaction with ATLAS systems requires you to authenticate with services through a local proxy certificate based on your grid certificate. Once you have your grid certificate and key (~/.globus/usercert.pem and ~/.globus/userkey.pem, respectively; see [1]) and are a member of the ATLAS VO (see [2]), you can create a proxy that's valid for 24 hours with the following:
voms-proxy-init -valid 24:0 -voms atlas
You'll need to enter the passphrase protecting your key.
Example: Downloading a Dataset
After doing the above setup you can use dq2-get to directly download datasets to your current working directory. Just provide the dataset name. For example:
dq2-get data08_cosmag.00092226.physics_CosmicMuons.recon.ESD_FILTERED.o4_f75_T1225098341
If you know the dataset is present at one of the NET2 DQ2 sites (NET2_DATADISK, NET2_MCDISK, NET2_PRODDISK, BU, or BU_DDM), it's often much faster if you download the dataset from that specific site by using the -s option:
Check that the dataset is at one of the NET2 sites:
dq2-list-dataset-replicas data08_cosmag.00092226.physics_CosmicMuons.recon.ESD_FILTERED.o4_f75_T1225098341
Download it from NET2_DATADISK:
dq2-get -s NET2_DATADISK data08_cosmag.00092226.physics_CosmicMuons.recon.ESD_FILTERED.o4_f75_T1225098341
Please see https://twiki.cern.ch/twiki/bin/view/Atlas/DQ2ClientsHowTo for more information on using the DQ2Clients software.
