Skip to content

Conversation

@ndkeen
Copy link
Contributor

@ndkeen ndkeen commented Oct 30, 2025

We are currently using --cpu_bind to srun and the correct syntax is --cpu-bind (with dash).
There are no warning/error messages using this incorrect syntax, but thankfully, srun was still honoring it.
This PR changes to correct slurm syntax for all NERSC machines.
Should have no impact.

Fixes #7850

[bfb]

to match correct syntax, but not effective change
@ndkeen ndkeen self-assigned this Oct 30, 2025
@ndkeen ndkeen added Machine Files BFB PR leaves answers BFB pm-gpu Perlmutter machine at NERSC (GPU nodes) pm-cpu Perlmutter at NERSC (CPU-only nodes) labels Oct 30, 2025
@ndkeen
Copy link
Contributor Author

ndkeen commented Oct 31, 2025

Testing with our e3sm_developer on pm-cpu and e3sm_eamxx_v1 on pm-gpu. It looks like all tests pass that should pass. We have a few recent issues and those tests fail -- ie there is no change as expected.

ndkeen added a commit that referenced this pull request Nov 4, 2025
…to next (PR #7851)

We are currently using --cpu_bind to srun and the correct syntax is --cpu-bind (with dash).
There are no warning/error messages using this incorrect syntax, but thankfully, srun was still honoring it.
This PR changes to correct slurm syntax for all NERSC machines.
Should have no impact.

Fixes #7850

[bfb]
@ndkeen
Copy link
Contributor Author

ndkeen commented Nov 4, 2025

merged to next

@ndkeen ndkeen merged commit 0f29546 into master Nov 5, 2025
6 checks passed
@ndkeen ndkeen deleted the ndk/machinefiles/perlmutter-correct-cpu-bind-syntax branch November 5, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BFB PR leaves answers BFB Machine Files pm-cpu Perlmutter at NERSC (CPU-only nodes) pm-gpu Perlmutter machine at NERSC (GPU nodes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On perlmutter, correct srun syntax for --cpu-bind option

3 participants