Warning, /snippets/JLab_Farm_Scripts/README.md is written in an unsupported language. File is not indexed.
0001 # JLab Farm Scripts
0002 A small collection of scripts for creating and running jobs on the JLab farm.
0003
0004 Remember, verify that your script runs and works on an interactive node before submitting a large set of jobs. Check that your output is as expected.
0005 *Please* read the comments in the scripts!
0006
0007 ## JLab_Farming.sh
0008 This script creates and submits jobs to a new swif2 workflow. As is, it takes 4 arguments.
0009 1. The number of files to run.
0010 2. The number of events to run per file.
0011 3. A blank argument 3, defaults to 10.
0012 4. A blank argument 4, defaults to 10.
0013
0014 The intention with args 3/4 is to demonstrate how to add and utilise further arguments you may need in your script.
0015 Check the paths on lines 10, 58 and 80 carefully. Modify as needed.
0016 Insert the script you want to run on line 103.
0017
0018 ## JLab_Farming_Job.sh
0019 This script is the job actually submitted to the farm to run. The arguments are the same as JLab_Farming.sh.
0020 Make sure the paths match between the two files.
0021 As above, check file paths carefully. Test a small sample first!
0022 Note that this script calls Init_Env.sh as the first command after entering eic-shell.
0023
0024 ## Init_Env.sh
0025
0026 This simply sources a series of things you will need to run your simulation/reconstruction.
0027 Change as needed for your desired configuration.