This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| grid:storegrid [2009/07/29 14:50] – created abuechle | grid: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 |
| ===== 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 |
| - | | + | modify the following line (line 313 in standard .gangarc file (to get a standard one do 'ganga -g')): |
| - | < | + | < |
| - | | + | # |
| - | </ | + | </ |
| - | 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 ' |
| - | *For example if you don't want your .root files on lxplus **uncomment** the line and remove ' | + | |
| < | < | ||
| outputsandbox_types = [' | outputsandbox_types = [' | ||
| </ | </ | ||
| - | - save the .gangarc file | + | save the .gangarc file\\ |
| - | | + | restart Ganga\\ |
| - | + | ||
| - | + | ||
| - | + | ||
| + | in Ganga choose the outputdata option for your job and not outputsandbox, | ||
| + | < | ||
| + | ntuple = " | ||
| + | j.outputdata = [ntuple] | ||
| + | </ | ||