desihub / desispec

DESI spectral pipeline
BSD 3-Clause "New" or "Revised" License
35 stars 24 forks source link

Automated job launcher #2292

Closed sbailey closed 1 week ago

sbailey commented 1 month ago

One of the hassles of running a production is that it requires more jobs than the NERSC 5000 limit in the regular queue. Currently this is handled by humans monitoring the queue and launching additional nights/months when it drops below some threshold of pending jobs. This could be automated with something like an hourly scronjob script to

Ideally this is a wrapper to existing job launching infrastructure and doesn't require any additional changes to the processing tables or other bookkeeping. Items to work out:

weaverba137 commented 1 month ago

I have a very basic shell script that performs some of this functionality. I can provide details tomorrow.

weaverba137 commented 1 month ago

This script handles the basic logic of:

The script can be wrapped in a batch job submitted to the workflow queue.

sbailey commented 1 week ago

Implemented in PR #2322 ; closing ticket.