User Tools

Site Tools


grid:storegrid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
grid:storegrid [2009/07/29 16:14] abuechlegrid:storegrid [2009/07/29 16:23] (current) abuechle
Line 1: Line 1:
-====== Storing Data on a Grid Storage Element ======+====== Storing Data on a Grid Storage Element (SE) ======
 ===== Introduction ===== ===== Introduction =====
 When running a job on the Grid (backend = Dirac()), the output data can be stored on a Grid Storage Element (SE) instead of the lxplus AFS account. The access to the files is however a bit different than on lxplus. When running a job on the Grid (backend = Dirac()), the output data can be stored on a Grid Storage Element (SE) instead of the lxplus AFS account. The access to the files is however a bit different than on lxplus.
Line 26: Line 26:
 </code> </code>
  
-===== Where are the output files (on which SE)? ===== +
-in Ganga when the job has completed do: +
-<code> +
-jobs(jobnumber).subjobs(subjobnumber).backend.getOutputData() +
-</code> +
-that gives you a logical filename (LFN): +
-<code> +
-['/lhcb/user/myInitial/myUsername/diracSlice/DiracJobID/filename.root'+
-</code> +
-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: +
-<code> +
-SetupProject Dirac +
-dirac-dms-lfn-replicas /lhcb/user/myInitial/myUsername/diracSlice/DiracJobID/filename.root +
-</code> +
-there you get back for instance the following: +
-<code> +
-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'}}} +
-</code> +
-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'.+
  
grid/storegrid.1248876876.txt.gz · Last modified: by abuechle