Skip to content
Snippets Groups Projects

Add script to submit slices of runs for a proposal

Merged Robert Rosca requested to merge feat/submission-script into master
1 unresolved thread
Files
3
+ 31
0
@@ -189,3 +189,34 @@ status in myMdC should update as the processing occurs.
@@ -189,3 +189,34 @@ status in myMdC should update as the processing occurs.
The command ``squeue -u xcaltst`` will show running & pending Slurm jobs started
The command ``squeue -u xcaltst`` will show running & pending Slurm jobs started
by this test system.
by this test system.
 
 
Manually Submitting Jobs
 
------------------------
 
 
A script `manual_launch.py` is provided to manually submit jobs to the service.
 
 
```bash
 
usage: manual_launch.py [-h] --proposal PROPOSAL [--delay DELAY] [--noconfirm] [--really] slices [slices ...]
 
 
Manually submit calibration jobs.
 
 
positional arguments:
 
slices slices (or single numbers) of runs to process, inclusive range, starting at 1 (e.g. 1:3 parsed to {1, 2, 3}, 10 parsed to {10}, :10
 
parsed to {1, 2, ..., 10})
 
 
optional arguments:
 
-h, --help show this help message and exit
 
--proposal PROPOSAL proposal number
 
--delay DELAY delay in seconds between submissions
 
--noconfirm skip confirmation
 
--really actually submit jobs instead of just printing them
 
 
To run in the background use `nohup PYTHONUNBUFFERED=1 python manual_launch.py ... &` followed by `disown`.
 
```
 
 
Slices inclusive, so `1:10` would mean runs 1 to 10 inclusive of 1 and 10. The
 
'slice' can also be a single number.
 
 
Example of usage would be `python3 ./manual_launch.py 1 10:12 160:-1 --delay 60
 
--proposal 2222 --really` to submit runs 1, 10 to 12, and 160+ for calibration,
 
for proposal 2222, with a 60 second delay between submissions.
Loading