User Tools

Site Tools


grid:storegrid

Differences

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

Link to this comparison view

Next revision
Previous revision
grid:storegrid [2009/07/29 14:50] – created 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, the output data can be stored on a Grid Storage Element (SE) instead of using up the quota in 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.
  
 ===== How to tell the ganga job to store the output on the SE? ===== ===== How to tell the ganga job to store the output on the SE? =====
-  - go to your home directory on lxplus +go to your home directory on lxplus 
-  open the .gangarc file +open the .gangarc file 
-  modify the following line (line 313 in standard .gangarc file (to get a standard one do 'ganga -g')) :  +modify the following line (line 313 in standard .gangarc file (to get a standard one do 'ganga -g')):  
-    <code>  +<code> 
-     #outputsandbox_types = ['NTupleSvc', 'HistogramPersistencySvc', 'MicroDSTStream'+#outputsandbox_types = ['NTupleSvc', 'HistogramPersistencySvc', 'MicroDSTStream'
-    </code>  +</code>  
-    here are 3 services in the list:  NTupleSvc produces .root files, HistogramPersistencySvc produces histograms, MicroDSTStream produces .dst files.+here are 3 services in the list:  NTupleSvc produces .root files, HistogramPersistencySvc produces histograms, MicroDSTStream produces .dst files.\\  
-  +Outputsandbox means, the output files of these services end up in your sandbox folder on lxplus.\\  
-       * Outputsandbox means, the output files of these services end up in your sandbox folder on lxplus. +If you want the output files NOT to end up on lxplus, but somewhere else, remove the service from the list.\\  
-       * If you want the output files NOT to end up on lxplus, but somewhere else, remove the service from the list.  +For example if you don't want your .root files on lxplus **uncomment** the line and remove 'NTupleSvc': 
-       *For example if you don't want your .root files on lxplus **uncomment** the line and remove 'NTupleSvc': +
 <code> <code>
 outputsandbox_types = ['HistogramPersistencySvc', 'MicroDSTStream'] outputsandbox_types = ['HistogramPersistencySvc', 'MicroDSTStream']
 </code> </code>
-  - save the .gangarc file +save the .gangarc file\\  
-  restart Ganga +restart Ganga\\ 
- +
- +
- +
  
 +in Ganga choose the outputdata option for your job and not outputsandbox, i.e.:
 +<code>
 +ntuple = "filename.root"
 +j.outputdata = [ntuple]
 +</code>
  
  
  
grid/storegrid.1248871852.txt.gz · Last modified: by abuechle