You are here: Home Experiment Information US ATLAS Grid Users Setting Up the ATLAS Grid Environment

Setting Up the ATLAS Grid Environment

by John Hover last modified Jul 16, 2009 11:40 AM
Contributors: John DeStefano
How to automate the set-up of environment variables for US ATLAS grid jobs.

As a US ATLAS user, you will likely use your grid certificate to copy data files or to submit jobs over the grid.

At Tier 1, we recommend that you take advantage of the following script, which will setup all the environment variables necessary for you to use the certificate for the grid.

To source the script from CERN, from a session on lxplus.cern.ch, enter:

source /afs/cern.ch/project/gd/LCG-share/sl4/etc/profile.d/grid-env.[sh|csh]

where the .sh extension should be used in Bourne and BASH shell environments, and the .csh extension should be used in C shell and Tcsh environments.

To source the script from BNL:

From a BNL Scientific Linux or RHEL host, enter:

source /afs/usatlas.bnl.gov/osg/client/@sys/current/setup.[sh|csh]

 

To verify the environment:

After sourcing the script, verify your certificate installation with the command:

voms-proxy-init -voms atlas

This should return with a message similar to the following:

Your identity: /DC=org/DC=doegrids/OU=People/CN=John Smith 123456

You will be prompted to enter your pass phrase for this certificate.  Once you enter the pass phrase, a grid proxy will be created for you.

Document Actions