Next revision | Previous revision |
users:taarre:se [2014/04/29 10:40] – created taarre | users:taarre:se [2014/05/05 16:47] (current) – taarre |
---|
Your account is\\ | Your account is\\ |
''srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**''\\ | srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username** |
where **username** is your lxplus username.\\ | where **username** is your lxplus username.\\ |
\\ | \\ |
To check that this account exists\\ | To check that this account exists\\ |
''lcg-ls -l -D srmv2 -b srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**''\\ | lcg-ls -l -D srmv2 -b srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username** |
\\ | \\ |
Use these options in crab.cfg\\ | Use these options in crab.cfg\\ |
''return_data = 0\\ | return_data = 0 |
copy_data = 1\\ | copy_data = 1 |
storage_element = T2_CH_CSCS\\ | storage_element = T2_CH_CSCS\\ |
storage_path =/srm/managerv2?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/\\ | storage_path =/srm/managerv2?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/ |
user_remote_dir = /yourdirectory''\\ | user_remote_dir = /yourdirectory |
\\ | \\ |
Output is stored in\\ | Output is stored in\\ |
''srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/yourdirectory''\\ | srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/yourdirectory |
\\ | |
To create directory on Storage Element\\ | To create directory on Storage Element\\ |
''srmmkdir srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/yourdirectoryname''\\ | srmmkdir srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/yourdirectoryname |
| \\ |
| To copy from Storage Element to local workspace\\ |
| srmcp srm://storage01.lcg.cscs.ch:8443/srm/managerv2\?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/**username**/yourdirectoryname path/to/location |
| For more information, go to [[https://wiki.chipp.ch/twiki/bin/view/CmsTier3/HowToAccessSe|How to work with the SE]]\\ |
| For the proxy\\ |
| voms-proxy-init -voms cms |
| voms-proxy-info -all |
| CRAB commands and [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookCRABTutorial | tutorial]] + [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookRunningGrid|Data analysis with CRAB]]\\ |
| |
| "crab -create", create all jobs (no submission!) |
| "crab -submit", submit all jobs above created |
| The above two commands can be done in a single step ("crab -create -submit") |
| "crab -status", check the status of all jobs above submitted |
| "crab -getoutput", retrieve the output of all jobs above submitted and terminated |
| "crab -report", prints a summary of the task progress and creates a lumiSummary.json file to be used e.g. in lumiCalc.py (see the LumiCalc TWiki) to compute the luminosity those output files correspond to |
| "crab -publish", publish the results stored in the SE |
| Other stuff |
| crab -submit -c <dir name> |
| crab -status -c <dir name> |
| |
| Example of [[users:taarre:crabconfig|Crab config file]] |