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

Magically pick up Slurm CPU limits via SLURM_JOB_CPUS_PER_NODE #4494

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

adamnovak
Copy link
Member

Changelog Entry

To be copied to the draft changelog by merger:

  • vg now tries to limit itself to a good number of threads for the number of CPUs in any enclosing Slurm job, via SLURM_JOB_CPUS_PER_NODE and CPU affinity masks.

Description

This should prevent vg from using hundreds of threads on small Slurm jobs run on large machines, without the user needing to remember to manually pass -t in their Slurm script.

@adamnovak adamnovak merged commit e91be89 into master Jan 17, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant