]> git.uio.no Git - u/mrichter/AliRoot.git/blame - doc/aliroot-primer/scripts/lsfjob
Update master to aliroot
[u/mrichter/AliRoot.git] / doc / aliroot-primer / scripts / lsfjob
CommitLineData
967f5306 1#! /bin/sh
2# Take all the C++ macros from the local computer to the working directory
3command scp phristov@pcepalice69:/home/phristov/pp/*.C .
4
5# Execute the simulation macro. Redirect the output and error streams
6command aliroot -b -q sim.C > sim.log 2>&1
7
8# Execute the reconstruction macro. Redirect the output and error streams
9command aliroot -b -q rec.C > rec.log 2>&1
10
11# Create a new CASTOR directory for this job ($LSB_JOBID)
12command rfmkdir /castor/cern.ch/user/p/phristov/pp/$LSB_JOBID
13
14# Copy all log files to CASTOR
15for a in *.log; do rfcp $a /castor/cern.ch/user/p/phristov/pp/$LSB_JOBID; done
16# Copy all ROOT files to CASTOR
17for a in *.root; do rfcp $a /castor/cern.ch/user/p/phristov/pp/$LSB_JOBID; done