Hi,
I am not sureif this is right place to ask this, but here goes.
I am hoping to implement the following way of geting and copying data
to and from local SEs.
I am using the following in my JDL to send jobs to data via the WMS:
DataRequirements = {
[
DataCatalogType = "DLI";
DataCatalog = "http://lfc.gridpp.rl.ac.uk:8085/";
InputData = {"lfn:/grid/t2k.org/nd280/raw/ND280/
ND280/00005000_00005999/nd280_00005000_0001.daq.mid.gz"};
]
};
This works at qmul but does not seem to work at RAL.
After the job finishes I then wish to copy back to the local SE but am
unsure of how to dynamically determine the surl path to copy to. I
understand that I can get the VO_T2K_ORG_DEFAULT_SE environment
variable but there does not seem to be a consistent way to generate a
surl from this
I.e. at QMUL I would just need to prepend the
VO_T2K_ORG_DEFAULT_SE=se03.esc.qmul.ac.uk with srm:// and append with /
t2k.org to get the root directory of the t2k.org storgae area
$ lcg-ls srm://se03.esc.qmul.ac.uk/t2k.org/
/t2k.org/test
/t2k.org/nd280
/t2k.org/generated
/t2k.org/this_is_a_test.txt
But for other sites I must add extra directories to get to this
storage area:
E.g. Liverpool where I would have to append with /dpm/ph.liv.ac.uk/
home//t2k.org/
$ lcg-ls srm://hepgrid11.ph.liv.ac.uk/dpm/ph.liv.ac.uk/home//t2k.org/
/dpm/ph.liv.ac.uk/home//t2k.org//generated
/dpm/ph.liv.ac.uk/home//t2k.org//mdc0
/dpm/ph.liv.ac.uk/home//t2k.org//mdc1
/dpm/ph.liv.ac.uk/home//t2k.org//nd280
/dpm/ph.liv.ac.uk/home//t2k.org//scanner
/dpm/ph.liv.ac.uk/home//t2k.org//t2k-test1.txt
/dpm/ph.liv.ac.uk/home//t2k.org//t2k-test2.txt
/dpm/ph.liv.ac.uk/home//t2k.org//t2k-test3.txt
/dpm/ph.liv.ac.uk/home//t2k.org//t2k-test4.txt
/dpm/ph.liv.ac.uk/home//t2k.org//t2k-test5.txt
/dpm/ph.liv.ac.uk/home//t2k.org//t2k-test6.txt
/dpm/ph.liv.ac.uk/home//t2k.org//test1.txt
/dpm/ph.liv.ac.uk/home//t2k.org//testfile
/dpm/ph.liv.ac.uk/home//t2k.org//testfile.txt
Is there some consistent way of getting the path for a local surl
which I can then use for lcg-cp?
Cheers,
Ben
Dr Ben Still
Postdoctoral Research Assistant
Particle Physics Research Centre
Queen Mary, University of London
G.O. Jones Building
327 Mile End Road
London
E1 4NS, UK
[log in to unmask]
|