This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
grid:findongrid [2009/07/29 16:21] – created abuechle | grid:findongrid [2010/01/27 16:17] (current) – abuechle | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
===== Where are the output files (on which SE)? ===== | ===== Where are the output files (on which SE)? ===== | ||
in Ganga when the job has completed do: | in Ganga when the job has completed do: | ||
< | < | ||
- | jobs(jobnumber).subjobs(subjobnumber).backend.getOutputData() | + | jobs(jobnumber).subjobs(subjobnumber).backend.getOutputDataLFNs().getReplicas() |
</ | </ | ||
- | that gives you a logical filename (LFN): | + | that gives you a logical filename (LFN) in the first part: |
< | < | ||
- | ['/ | + | {'/ |
</ | </ | ||
+ | The LFN is then '/ | ||
The data will end up in the SE closest to the location where your job did run.\\ | The data will end up in the SE closest to the location where your job did run.\\ | ||
- | To find out on which SE your file actually | + | The command also tells you on which SE your file is in the second part. So the file is on CASTOR at at the srm address: srm: |
+ | |||
+ | ===== How to get the status of a storage element (SE)? ===== | ||
+ | If you want to know the status of the SE on PIC for example do the following on lxplus: | ||
< | < | ||
SetupProject Dirac | SetupProject Dirac | ||
- | dirac-dms-lfn-replicas / | + | dirac-dms-show-se-status | grep PIC |
</ | </ | ||
- | there you get back for instance the following: | ||
- | < | ||
- | 2009-07-29 12:10:41 UTC dirac-dms-lfn-replicas.py/ | ||
- | {' | ||
- | ' | ||
- | </ | ||
- | so the file is on RAL at at the srm address: ' | ||
- |