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

Dask help - Addd batch runner section #730

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

martin-springer
Copy link
Contributor

This PR adds a section to the Dask help. The addition explains the usage of Batch Runners on Kestrel with examples. (https://jobqueue.dask.org/en/stable/runners-overview.html)

@martin-springer martin-springer changed the base branch from master to gh-pages January 24, 2025 19:11
@martin-springer martin-springer marked this pull request as draft January 24, 2025 19:11
@martin-springer martin-springer marked this pull request as ready for review January 24, 2025 19:11
@yandthj yandthj requested a review from mselensky January 24, 2025 19:13
@martin-springer
Copy link
Contributor Author

@tdthatcher - Tim, here's a draft for a potential addition of the SLURMRunner class.
@mselensky - Matt, please take a look and let me know what you think. I'm happy to make changes.

Copy link
Collaborator

@mselensky mselensky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution @martin-springer ! This looks great to me; I think it will be a helpful reference for Kestrel users. I had just a couple of minor tweaks, summarized below:

Summary of requested changes

dask_slurm_runner_launcher.sh

  • Remove path to log folder in --output (since folder needs to exist and this sometimes confuses people)
  • Remove path to output in srun line, as it will redirect to what is specified in #SBATCH --output
  • Added --partition=shared, since I think Dask is often a great thing to run on partial node(s)
  • Elaborated a bit on what MALLOC_TRIM_THRESHOLD_ does

@mselensky
Copy link
Collaborator

mselensky commented Jan 28, 2025

Forgot to say, I already committed those changes, so there is no further effort needed on your part. Will wait to hear from @yandthj on the final merge.

Thanks again!

@yandthj yandthj merged commit 469b6a7 into NREL:gh-pages Jan 28, 2025
@martin-springer
Copy link
Contributor Author

Great! Thank you both for the tweaks and getting this merged.

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.

3 participants