User Tools

Site Tools


grid:findongrid

This is an old revision of the document!


Where are the output files (on which SE)?

in Ganga when the job has completed do:

jobs(jobnumber).subjobs(subjobnumber).backend.getOutputDataLFNs()

that gives you a logical filename (LFN):

['/lhcb/user/myInitial/myUsername/diracSlice/DiracJobID/filename.root']

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 is, execute the following commands on lxplus:

SetupProject Dirac
dirac-dms-lfn-replicas /lhcb/user/myInitial/myUsername/diracSlice/DiracJobID/filename.root

there you get back for instance the following:

2009-07-29 12:10:41 UTC dirac-dms-lfn-replicas.py/DiracAPI  INFO: Replica Lookup Time: 96.89 seconds
{'Failed': {},
 'Successful': {'/lhcb/user/a/abuechle/4125/4125675/bsKK_23July09.root': {'RAL-USER': 'srm://srm-lhcb.gridpp.rl.ac.uk/castor/ads.rl.ac.uk/prod/lhcb/user/a/abuechle/4125/4125675/bsKK_23July09.root'}}}

so the file is on RAL at at the srm address: 'srm:srm-lhcb.gridpp.rl.ac.uk/castor/ads.rl.ac.uk/prod/lhcb/user/a/abuechle/4125/4125675/bsKK_23July09.root'. ===== 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: <code> SetupProject Dirac dirac-dms-show-se-status | grep PIC </code>

grid/findongrid.1264518620.txt.gz · Last modified: 2010/01/26 16:10 by abuechle