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

hydra: remove dependency on libslurm #7260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hzhou
Copy link
Contributor

@hzhou hzhou commented Jan 8, 2025

Pull Request Description

We use libslurm for host list string parsing if it is available. However, libslurm's interface for slurm_hostlist_create changed recently -- from return hostlist_t to returning hostlist_t *. However, users may have different slurm library installed, makding supporting it difficult. Because we always have the fallback parsing routines, let's remove the dependency on libslurm for simplicity.

Reference issue #6806, #7257, PR #6820

[skip warnings]

Author Checklist

  • Provide Description
    Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
  • Commits Follow Good Practice
    Commits are self-contained and do not do two things at once.
    Commit message is of the form: module: short description
    Commit message explains what's in the commit.
  • Passes All Tests
    Whitespace checker. Warnings test. Additional tests via comments.
  • Contribution Agreement
    For non-Argonne authors, check contribution agreement.
    If necessary, request an explicit comment from your companies PR approval manager.

We use libslurm for host list string parsing if it is available.
However, libslurm's interface for slurm_hostlist_create changed recently
-- from return `hostlist_t` to returning `hostlist_t *`. However, users
may have different slurm library installed, makding supporting it
difficult. Because we always have the fallback parsing routines, let's
remove the dependency on libslurm for simplicity.
@hzhou
Copy link
Contributor Author

hzhou commented Jan 8, 2025

test:mpich/ch3/tcp

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