[A1n_d2n] [EXTERNAL] NEW jobs script to run mc-single-arm in batch farm

Jixie Zhang jixie at jlab.org
Sat May 1 02:15:39 EDT 2021


Dear A1ND2N,
  A new script has been developed to run mc-single-arm in the batch farm.
I have tested it and it works fine.

/volatile/hallc/c-polhe3/jixie/mc-single-arm/go_batchfarm.csh

Usage: go_batchfarm.csh <path_to_inputfile> [run_min=1] [run_max=1]
[WORKSPACE=/volatile/hallc/c-polhe3/jixie/mc-single-arm]
[number_of_subruns=10]
    where $WORKSPACE is you mc-single-arm dir.  The output will be copied
to $WORKSPACE/worksim.

This script will do the following:

1) copy all necessary files into farm node local dir
2) Inside the local dir, execute mc-single-arm using the given inputfile
for run number from $rum_min to $run_max, each run will have
$number_of_subrun subruns
3) convert the rzdat file into root tree. For each run, merge all subruns
into one big root file
4) copy the merged root file to  $WORKSPACE/worksim.

Please note that each job could not exceed 4000 minutes.
I highly recommend simulating 200M events per run, and 5 runs in each job.

An example of job file could be found here:
/volatile/hallc/c-polhe3/jixie/mc-single-arm/job_sim_001_debug

-- 
With Best Regards,
Jixie Zhang
757-269-7735
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/a1n_d2n/attachments/20210501/f7b14434/attachment.html>


More information about the A1n_d2n mailing list