The glast xrootd client tools are available in the xrootd afs application area:
/afs/slac.stanford.edu/g/glast/applications/xrootd/<RELEASE>
Where <RELEASE> is one of the following names:
RELEASE |
Comment |
---|---|
PROD |
production version. Updates will be announced and require a CCB |
DEV |
development version. Updates will not be announced, but this release has been tested |
TEST |
experimental version which might not always be working |
FITS |
test release to read fits files from xrootd. (Will disapear at some moment) |
Each of the release contains a bin directory for the executables and a lib for the xrootd libraries.
No environment variables have to be set as the application do this by them self. For example to copy a file from xrootd one would run the command:
/afs/slac/g/glast/applications/xrootd/PROD/bin/xrdcp root://glast-rdr/... localfile
Using applications from a different location, e.g.: /usr/local/bin/xrdcp, will most likely not work as they are not able to load the xrootd security libraries.
The release contains a full xrootd releases and a few other tools. The applications of interest are:
name |
Description |
---|---|
transfer files from and to xrootd |
|
xrdls |
list directory on all the xrootd servers |
run a program under the xrootd preload library (useful for reading fits files) |
|
xrd.pl |
command line tool to issue commands to xrootd like, stat a file, checksum a file,... |
One think to notice about all the applications is that they are links to a wrapper script. The wrapper script sets the proper environment so that the xrootd authorization libs are found and then runs the proper executable.