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 using slurm job arrays #96

Closed
JamesWrigley opened this issue Sep 16, 2023 · 0 comments · Fixed by #335
Closed

Consider using slurm job arrays #96

JamesWrigley opened this issue Sep 16, 2023 · 0 comments · Fixed by #335
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@JamesWrigley
Copy link
Member

When reprocessing lots of runs with e.g. amore-proto reprocess all, we always loop over each run one at a time and launch a slurm job for each one. For a proposal with 323 runs this takes about 40 minutes, which is a bit annoying if you only want to reprocess cluster variables anyway.

An alternative would be to launch all the slurm jobs at once at the beginning using job arrays: https://slurm.schedmd.com/job_array.html
And then loop over the runs to process the non-cluster variables as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant