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

Consider the new REST API instead of exec'ing sbatch for job submission. #38

Open
kkm000 opened this issue Sep 25, 2021 · 0 comments
Open
Assignees
Labels
design Discussion of a new feature. helpus-design.help.please Need to run design by someone please! P3 Non-blocking, easy workaround exists

Comments

@kkm000
Copy link
Member

kkm000 commented Sep 25, 2021

The previous approach was to start with 2, double and cap at 10: 2, 4, 8, 10, 10, ..., which was already traumatically slow.

The patch https://github.com/burrmill/burrmill/blob/master/lib/build/slurm/sbatch.19.patch reduces the poll time to 1s, which is a good value, given only a few instances are polling the cluster at a single time. However, this patch must be maintained, which is not the best option.

Slurm 20 introduced a REST API. As of v21, not all of command equivalents are covered. Consider using this API, in case it does not impose the same hard limit as the tool does.

@kkm000 kkm000 added P3 Non-blocking, easy workaround exists design Discussion of a new feature. helpus-design.help.please Need to run design by someone please! labels Sep 25, 2021
@kkm000 kkm000 self-assigned this Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Discussion of a new feature. helpus-design.help.please Need to run design by someone please! P3 Non-blocking, easy workaround exists
Projects
None yet
Development

No branches or pull requests

1 participant