User Tools

Site Tools


asc:workbook_cpf

Differences

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

Link to this comparison view

Next revision
Previous revision
asc:workbook_cpf [2013/05/30 18:53]
127.0.0.1 external edit
asc:workbook_cpf [2013/10/22 16:22] (current)
asc
Line 2: Line 2:
  
  
-Please read the manual here [[asc:asc_arcond]]+Please read the manual here [[asc:asc_arcond]]
 + 
 +===== Quick start: ===== 
 + 
 + 
 +<code bash> 
 +source source /share/grid/app/asc_app/asc_rel/1.0/setup-script/set_asc.sh 
 +cp -r /users/chakanau/public/Arcond/example 
 +cd example/arc 
 +</code>
  
 ====== Checking available data ====== ====== Checking available data ======
Line 8: Line 17:
  
 It is good idea to check the availability of your data in the ArCond static database. As example, you can list all files on all boxes as: It is good idea to check the availability of your data in the ArCond static database. As example, you can list all files on all boxes as:
-<code> arc_ls DATASET </code> 
  
-Example: +<code> arc_ls [path to you dataset] </code>
-<code> arc_ls mc08.106379.PythiaPhotonJet_AsymJetFilter.recon.AOD.e347_s462_r541</code>+
  
 +All data are arranged on several disks (/data1, /data2, /data3, /data4, /data5, /dataxrd) of the farm.  
 You can check all data available on a specific disk ("/data1") as You can check all data available on a specific disk ("/data1") as
 +
 +<code> arc_ls  -s /data1</code>
 +
 +("s" means "summary). This prints a "summary" of all files on /data1 disk. You can list all files as
 +
  
 <code> arc_ls  /data1</code> <code> arc_ls  /data1</code>
  
-or data which are in subdirectory "/data1/MonteCarlo" :+or data which are in subdirectory "/data1/mc12_8TeV" :
  
-<code> arc_ls  /data1/MonteCarlo/</code>+<code> arc_ls  /data1/mc12_8TeV</code> 
 + 
 +If you are looking for a specific MC, pipe the output to "grep": 
 + 
 +<code> 
 +arc_ls  -d /data1/mc12_8TeV | grep 147915.Pythia8_AU2CT10 
 +</code> 
 + 
 +(here we are looking for the MC set "147915.Pythia8_AU2CT10".
  
 If you want to list only directories, use this syntax: If you want to list only directories, use this syntax:
  
-<code> arc_ls  -d /data1/</code>+<code> arc_ls  -d /data1/mc12_8TeV 
 +</code>
  
 This is especially useful if you want to check which runs are available. This is especially useful if you want to check which runs are available.
  
-To generate a summary of all files on all nodes, use this: 
  
-<code> arc_ls  -s  /data1/</code>+Similarly, you can search for data: 
 + 
 +<code> 
 +arc_ls  -/data1/data12_8TeV 
 +</code>
  
 One can use also a pattern matching, similar to the linux "grep". For example, to show only AOD files, use this example: One can use also a pattern matching, similar to the linux "grep". For example, to show only AOD files, use this example:
  
 <code> arc_ls  -e  "AOD" </code> <code> arc_ls  -e  "AOD" </code>
 +
 +
 +<note tip>Typically, you should know the exact path to your data on the farm. This will be sent to you after you request to put data on the farm.</note>
  
  
asc/workbook_cpf.1369940005.txt.gz · Last modified: 2013/10/22 16:20 (external edit)