User Tools

Site Tools


asc:tutorials:2014october

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
Last revision Both sides next revision
asc:tutorials:2014october [2014/10/29 15:32]
asc [Lesson 3: C++/ROOT program to read xAOD]
asc:tutorials:2014october [2014/10/29 20:31]
asc [Lesson 6: Working on the ANL farm]
Line 326: Line 326:
  
  
 +<note tip>If the program fails saying that some shared library has a wrong format, clean ROOTCORE as "rc clean", and then compile everything again with "rc find_packages; rc compile"</note> 
 + 
 ====== Lesson 4: Filling histograms ====== ====== Lesson 4: Filling histograms ======
  
Line 453: Line 454:
  
  
-Now run "./A_RUN" to launch 2 jobs using 2 cores. Each job will read a portion of the original "inputdata.txt"  +Now let us  launch 2 jobs using 2 cores. Each job will read a portion of the original "inputdata.txt". Do this: 
 + 
 +<code bash> 
 +./A_RUN 
 +</code>  
  
 You can monitor jobs with this command (launched in a separate terminal): You can monitor jobs with this command (launched in a separate terminal):
Line 467: Line 472:
  
  
-If it does not work: Debug it as:+If it does not work: debug it as:
 <code> <code>
 testRun 00 testRun 00
 </code> </code>
 +The command runs one job using the input list inputs/list00.  It  shows where the problem is.
 +(Typically, this is due to wrong location of the goodrunlist)
 +
 +
 +If you run this program second time, clean the output directory:
 +
 +<code>
 +rm -rf outputs/*
 +</code>
 +(ROOTCORE does not like existing output directories)
  
-This will process inputs/list00 (first part of the input list) and shows where the problem is. 
-(Typically, this is due to wrong location of the goodrunlist). 
  
 **Attention:** **Attention:**
Line 530: Line 543:
 </code> </code>
  
-When the jobs are done, the output files will be inside "Jobs" directory. Merge the ROOT outputs into one file as:+When the jobs are done, the output files will be inside the "Job" directory. Merge the ROOT outputs into one file as:
  
 <code bash> <code bash>
Line 558: Line 571:
 See the instruction on how  See the instruction on how 
 {{:asc:tutorials:atlas_connect_handout_-_xaod_2014.pdf| to use ATLAS connect for this tutorial}} {{:asc:tutorials:atlas_connect_handout_-_xaod_2014.pdf| to use ATLAS connect for this tutorial}}
 +
 +
 +
 +======Using Eclipse to develop ATLAS code======
 +
 +[[asc:tutorials:eclipse| here is the link to this tutorial]]
  
 //[[[email protected]|Sergei Chekanov (ANL)]] 2014/10/09 13:50// //[[[email protected]|Sergei Chekanov (ANL)]] 2014/10/09 13:50//
asc/tutorials/2014october.txt · Last modified: 2014/10/29 21:17 by asc