-
Notifications
You must be signed in to change notification settings - Fork 14
Batch Submission
Andrea Marini edited this page Jun 2, 2016
·
1 revision
Submission to the batch system is performed with the script/submit.py:
$python script/submit.py --help
Usage: submit.py [options]
Options:
-h, --help show this help message and exit
-i INPUT, --input=INPUT
Input Configuration file
-d DIR, --dir=DIR Directory where to write the configuration. WARNING OVERWRITE THE DIRECTORY!!!
-v DEBUG, --debug=DEBUG
Debug Verbosity. From 0-3. Default=0
-n NJOBS, --njobs=NJOBS
Number of Job to submit
-q QUEUE, --queue=QUEUE
Queue
[...]
For example:
python script/submit.py -i dat/config.dat -v 3 -n 30 -q 1nh -d mysub/sub1
- You can check the status with the command (after the job started):
python script/submit.py -d mysub/sub1 --status
- you can resubmit jobs i-j,k or the failed job with the commands:
python script/submit.py -d mysub/sub1 --resubmit [ -j fail]
python script/submit.py -d mysub/sub1 --resubmit -j i-j,k
python script/submit.py -d mysub/sub1 --resubmit -j run
- when all jobs finished can be merged with (clear will remove all other files, including debug script and root files):
python scripts/submit.py --hadd [--clear] -d mysub/sub1