Skip to content
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

Add taskCount and Parallelism options when using dsub with Google Cloud Batch #256

Open
croninjoseph opened this issue Jan 25, 2023 · 1 comment

Comments

@croninjoseph
Copy link

Google Cloud Batch has the option to set a taskCount and parallelism.
If for example, taskCount was set to 10 and parallelism was set to 2, Batch would run 10 tasks on 2 VMs. This feature would be helpful if available through dsub.

@wnojopra
Copy link
Contributor

The next dsub update is focusing on bringing the google-batch provider closer to feature parity with the other providers. Adding support for setting taskCount and parallelism should be a fairly reasonable feature to support on top of that.

There are a few examples of setting both in the Google Cloud Batch API in their docs. It should be pretty straightforward to add --taskCount and --parallelism options to dsub only for google-batch provider. The only thing to be careful of is that it doesn't interfere with the current --tasks parameter. Technically it should just work, but we'll need to document carefully parallelism across multiple VMs vs parallelism on one VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants