Skip to content

Add --wait-for-workers for work queue workers through makeflow - #4546

Merged
btovar merged 2 commits into
cooperative-computing-lab:masterfrom
RHartung-ND:master
Oct 27, 2026
Merged

btovar merged 2 commits into
cooperative-computing-lab:masterfrom
RHartung-ND:master

Conversation

@RHartung-ND

@RHartung-ND RHartung-ND commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Proposed Changes

Context:
Makeflow had an unadvertised --wait-queue-size option that was stored as a batch option but never read by any driver, so there was no way to make a Makeflow-driven manager hold dispatch until N workers connected. Passing --wait-for-workers failed with "unrecognized option".

Changes:
Added --wait-for-workers. Work Queue batch drivers apply it with the manager's "wait-for-workers" tune.

Merge Checklist

The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update: Update the manual to reflect user-visible changes.
  • Type Labels: Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels: Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM: Mark your PR as ready to merge.

@dthain

dthain commented Oct 23, 2026

Copy link
Copy Markdown
Member

This looks good -- but while you are at it, can you add the same pass-through to batch_job_vine.c? I believe it has the same underlying capabilitiy.

@RHartung-ND
RHartung-ND marked this pull request as draft October 23, 2026 21:42
@RHartung-ND

Copy link
Copy Markdown
Member Author

I just pushed an update that replicates the change for TaskVine as well. Let me know if everything looks good!

@RHartung-ND
RHartung-ND marked this pull request as ready for review October 24, 2026 20:14
@btovar btovar added this to the 7.17.5 milestone Oct 27, 2026
@btovar
btovar merged commit f376a3b into cooperative-computing-lab:master Oct 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants