This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
asc:tutorials:2014october [2014/10/29 15:28] asc [Lesson 5: Running a job on multiple cores] |
asc:tutorials:2014october [2014/10/29 21:17] (current) asc [xAOD tutorial at ANL (October 28-29, 2014)] |
||
---|---|---|---|
Line 4: | Line 4: | ||
However, the lessons given below are simplified for a faster start. Also, the last 2 lessons are designed for the ANL cluster that uses condor for job submissions. | However, the lessons given below are simplified for a faster start. Also, the last 2 lessons are designed for the ANL cluster that uses condor for job submissions. | ||
In addition, we we will test US ATLAS connect as explained at the bottom of this page. | In addition, we we will test US ATLAS connect as explained at the bottom of this page. | ||
+ | |||
+ | Agenda of this tutorial is [[https:// | ||
Line 272: | Line 274: | ||
<code bash> | <code bash> | ||
- | source setup.sh | ||
mkdir lesson_3; cd lesson_3 | mkdir lesson_3; cd lesson_3 | ||
+ | source setup.sh | ||
rcSetup -u; rcSetup Base,2.0.12 | rcSetup -u; rcSetup Base,2.0.12 | ||
rc find_packages | rc find_packages | ||
Line 326: | Line 328: | ||
+ | <note tip>If the program fails saying that some shared library has a wrong format, clean ROOTCORE as "rc clean", | ||
+ | |||
====== Lesson 4: Filling histograms ====== | ====== Lesson 4: Filling histograms ====== | ||
Line 333: | Line 336: | ||
<code bash> | <code bash> | ||
- | source setup.sh | ||
mkdir lesson_4; cd lesson_4 | mkdir lesson_4; cd lesson_4 | ||
</ | </ | ||
+ | |||
+ | Then setup atlas environment: | ||
<code bash> | <code bash> | ||
+ | source setup.sh | ||
rcSetup -u; rcSetup Base,2.0.12 | rcSetup -u; rcSetup Base,2.0.12 | ||
rc find_packages | rc find_packages | ||
Line 451: | Line 456: | ||
- | Now run " | + | Now let us |
- | You can monitor jobs with the command (launched in separate terminal): | + | <code bash> |
+ | ./A_RUN | ||
+ | </ | ||
+ | |||
+ | You can monitor jobs with this command (launched in a separate terminal): | ||
<code bash> | <code bash> | ||
Line 465: | Line 474: | ||
- | If it does not work: Debug it as: | + | If it does not work: debug it as: |
< | < | ||
testRun 00 | testRun 00 | ||
</ | </ | ||
+ | The command runs one job using the input list inputs/ | ||
+ | (Typically, this is due to wrong location of the goodrunlist) | ||
+ | |||
+ | |||
+ | If you run this program second time, clean the output directory: | ||
+ | |||
+ | < | ||
+ | rm -rf outputs/* | ||
+ | </ | ||
+ | (ROOTCORE does not like existing output directories) | ||
- | This will process inputs/ | ||
- | (Typically, this is due to wrong location of the goodrunlist). | ||
**Attention: | **Attention: | ||
Line 528: | Line 545: | ||
</ | </ | ||
- | 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 |
<code bash> | <code bash> | ||
Line 556: | Line 573: | ||
See the instruction on how | See the instruction on how | ||
{{: | {{: | ||
+ | |||
+ | |||
+ | |||
+ | ======Using Eclipse to develop ATLAS code====== | ||
+ | |||
+ | [[asc: | ||
// | // |