-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
batch submission of many workflows #493
Comments
WRT submit, if you try to run 100 of them in parallel, most would go into the incoming queue anyway, waiting for runtime slots to liberate. So out of 100 submitted workflows, there will be 10 running, and 90 queued; just a typical example. So submission could remain being done via a tiny outer shell loop, I guess. WRT getting status, this is indeed useful, and currently not easily possible without outer shell loop either. We were musing about adding a filtering option to many $ reana-cllent list --filter name=bsm --include-progress
NAME RUN_NUMBER CREATED STARTED ENDED STATUS PROGRESS
bsm09 2 2021-04-05T18:12:31 2021-04-05T18:12:32 - running 6/12
bsm08 2 2021-04-05T18:12:29 2021-04-05T18:12:30 2021-04-05T18:22:56 finished 12/12
bsm07 2 2021-04-05T18:12:22 2021-04-05T18:12:24 - running 8/12
... would display the progress statuses only for those workflows that are named WRT download, how are you picturing it? Imagine you have BSM workflow run 1, run 2 and run 3. Would you download some file into |
shell loop works of coursse but could result in many repeated API calls on the server. E.g. Condor has a ssimilar connecpt of With a batch submission it could all be wrapped in a single API call. |
Yes, one API call vs many API calls could make a difference if you are submitting say hundreds of workflows... What would be typical number? |
for RECAST scans often we want to submit N (N=100 or so) workflows in one go. While we can submit them using a pure loop in bash, it might be nice to be able to submit/manipulate a group of workflows (submit/download/status)
e.g.
The text was updated successfully, but these errors were encountered: