Use GridFTP
From ATLAS-TRIUMF
[edit] Using GridFTP
It doesn't really make much sense to install these tools one at a time; better to install a whole gLite UI...
However, if you just want to use GridFTP on your own desktop, and it is a fairly standard SL3 setup, you can do the following:
- add SLC3 paths to your YUM / apt config file
- install the GridFTP client following the specific instructions for Grid Canada where appropriate
Now, whenever you want to get a file from, say, castor at CERN, you can do:
- export GLOBUS_LOCATION=/opt/globus
- . /opt/globus/etc/globus-user-env.sh
- grid-proxy-init (or voms-proxy-init -voms atlas:/atlas/ca)
- globus-url-copy gsiftp://castorgrid.cern.ch/castor/cern.ch/grid/atlas/datafiles/testfile file:///home/isabel/testfile (where /castor/cern.ch/grid/atlas/datafiles/testfile is what you would call the file if you were using castor at CERN)
If you get messages like "error: 530 530 no local mapping for GlobusID", it probably means that your ATLAS VO membership is still pending... The grid-proxy remains valid for 12 hours by default, so you don't need to keep re-typing grid-proxy-init for every file, and the first two commands, which create the environment variables, remain valid for the duration of your login session.
--Isabel 13:22, 6 Sep 2005 (PDT)

