User Tools

Site Tools


asc:workbook_grid

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
asc:workbook_grid [2013/10/23 15:27]
asc
asc:workbook_grid [2023/10/04 19:04] (current)
asc
Line 16: Line 16:
 <code bash setup.sh> <code bash setup.sh>
 #!/bin/bash #!/bin/bash
-export AVERS=17.0.4 +export ALRB_localConfigDir="/share/sl6/cvmfs/localConfig"
-export TEST_AREA=$HOME/testarea+
 export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
 source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
-asetup --release=$AVERS --testarea=$TEST_AREA+localSetupDQ2Client  --skipConfirm 
 +voms-proxy-init -voms atlas -valid 96:00
 </code> </code>
  
 Put it in a file "setup.sh" and then "source setup.sh". Put it in a file "setup.sh" and then "source setup.sh".
- 
-Then type: 
-<code> 
-localSetupDQ2Client 
-voms-proxy-init -voms atlas -valid 96:00 
-</code> 
  
 Say "yes" and type your password. Say "yes" and type your password.
Line 43: Line 37:
  
  
-Before starting using this, type: 
-<code> 
-voms-proxy-init -voms atlas  
-</code> 
  
-or using the standard (proxy for 3 days):+In this example, we use  the standard (proxy for 3 days):
 <code> <code>
 grid-proxy-init -valid  96:00  grid-proxy-init -valid  96:00 
Line 58: Line 48:
 voms-proxy-info -all  voms-proxy-info -all 
 </code> </code>
 +
 +If there is a problem run these commands to debug them:
 +
 +<code>
 +setupATLAS
 +diagnostics
 +gridCert
 +</code>
 +
  
 Then check the location of your data: Then check the location of your data:
Line 73: Line 72:
  
  
-====== Using Pathena and pbook, prun  commands ======+====== Using Pathena commands ======
  
 Do the setup as above then then type: Do the setup as above then then type:
Line 82: Line 81:
  
 The general ATLAS instructions for pathena can be found [[https://twiki.cern.ch/twiki/bin/view/Atlas/DAonPanda|here]].  The general ATLAS instructions for pathena can be found [[https://twiki.cern.ch/twiki/bin/view/Atlas/DAonPanda|here]]. 
 +
 +Also look at:
 +[[https://twiki.atlas-canada.ca/bin/view/AtlasCanada/ATLASLocalRootBase#Using_PandaClient | Using_PandaClient]] how to setup Panda.
 +(attention: do not setup dq2-get together with panda!)
 +
 +
 +===== Putting files on the grid =====
 +(thanks to Taylor for checking)
 +
 +Setup Atlas release. For SL6, source this code:
 +
 +<code bash>
 +#!/bin/bash
 +export AVERS=17.7.0
 +export TEST_AREA=$HOME/testarea
 +export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
 +source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
 +asetup --release=$AVERS --cmtconfig=x86_64-slc6-gcc46-opt --testarea=$TEST_AREA
 +localSetupDQ2Client  --skipConfirm
 +voms-proxy-init -voms atlas -valid 96:00
 +localSetupPandaClient --noAthenaCheck
 +</code>
 +
 +Then put files (assumes MWT2_UC_SCRATCHDISK):
 +
 +<code>
 +dq2-put -d -L MWT2_UC_SCRATCHDISK  -s ./<folder of files> user.<username>.<custom name>
 +</code>
 +
 + Create and register it before doing this:
 +
 +You can also register it on the grid.
 +<code>
 +dq2-register-dataset user.<name>.test1
 +dq2-register-location user.<name>.test1  MWT2_UC_SCRATCHDISK
 +</code>
 +
 +====== Replicate data on the grid ======
 +
 +
 +Go to: https://rucio-ui.cern.ch/
 +
 +Use your X509 certificate go login
 +
 +(On top click) Data Transfer (R2D2) > Request new rules > click “List of DIDS” > copy your dataset list to the box and click Search > in step 2 use "BNL-OSG2_SCRATCHDISK” or something that you have permission to write > in step 3 you can change lifetime, I suggest to put 365 > then continue and finish the procedure and it will tell you that your new rule is established or something similar.
  
  
asc/workbook_grid.1382542074.txt.gz · Last modified: 2013/10/23 15:27 by asc