[Frost] Farm scripts

Eugene Pasyuk pasyuk at jlab.org
Mon May 21 17:49:07 EDT 2012


Hi Mike,

It seems that you want to process 4 files at once and write output into 
a single file.  Is that correct?
Your job file as it is written will generate 4 separate jobs, one for 
each of the files.
If you want to have one job that uses 4 input files you need to add a line:
SINGLE_JOB: true
For the output it will be more efficient to write into local file on the 
farm and then copy it over to volatile disk:

/home/dugger/g9/rootbeer2.1_64/bin/Linux64RHEL5/etadstmaker1 \
-L/home/dugger/BATCH/g9bPass0v3/togo/run062656.A05.list \
DSTrun062656.A05.root
cp DSTrun062656.A05.root \
  /volatile/clas/clasg9/dugger/data/g9b/DSTrun062656.A05.root


-Eugene

On 5/21/12 17:16 , Michael Dugger wrote:
> Hi,
>
> Since we now have new g9b files, I'd like to process them on the farm.
> However, the last time I farmed out jobs I messed up the farm scripts and
> I don't know what I did wrong. If someone could help me figure out what
> how to fix my scripts, that would be great.
>
> The farm script calls a shell script and the shell script uses a
> run list. An example of each file is included at the bottom of this
> email. I'm sure that I am doing something stupid. If someone has an
> example of a farm script that works for them, that would be useful.
>
> Thanks for your time.
>
> Sincerely,
> Michael
>
>
> #Farm script->
> -----------------------------
> PROJECT: g9
> COMMAND: /home/dugger/BATCH/g9bPass0v3/togo/run062656.A05.sh
> JOBNAME: g9b62656
> SINGLE_JOB: true
> TRACK:  analysis
> INPUT_FILES:
> /volatile/clas/clasg9/g9frost/pass0/v3/ROOT/DST_062656.A05.B03.root
> /volatile/clas/clasg9/g9frost/pass0/v3/ROOT/DST_062656.A05.B00.root
> /volatile/clas/clasg9/g9frost/pass0/v3/ROOT/DST_062656.A05.B02.root
> /volatile/clas/clasg9/g9frost/pass0/v3/ROOT/DST_062656.A05.B01.root
>
>
> #run062656.A05.sh ->
> -----------------------------
> /home/dugger/g9/rootbeer2.1_64/bin/Linux64RHEL5/etadstmaker1
> -L/home/dugger/BATCH/g9bPass0v3/togo/run062656.A05.list
> /volatile/clas/clasg9/dugger/data/g9b/DSTrun062656.A05.root
>
> #run062656.A05.list ->
> -----------------------------
>
> DST_062656.A05.B03.root
> DST_062656.A05.B00.root
> DST_062656.A05.B02.root
> DST_062656.A05.B01.root
>
> _______________________________________________
> Frost mailing list
> Frost at jlab.org
> https://mailman.jlab.org/mailman/listinfo/frost


More information about the Frost mailing list