Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Sep 27, 2024

This environment variable was used for Perlmutter when --cpus-per-task=N did not work yet. It was copied around to other templates.

These days, --cpus-per-task should work and the name of the env variable was renamed in SLURM to SLURM_CPUS_PER_TASK. https://slurm.schedmd.com/sbatch.html#OPT_SLURM_CPUS_PER_TASK

Thanks to NERSC engineers for reporting this update!

@ax3l ax3l added component: documentation Docs, readme and manual machine / system Machine or system-specific issue labels Sep 27, 2024
@ax3l ax3l requested review from EZoni, kngott and n01r September 27, 2024 22:29
This environment variable was used for Perlmutter when
`--cpus-per-task=N` did not work yet. It was copied around to
other templates.

These days, `--cpus-per-task` should work and the name of the
env variable was renamed in SLURM to `SLURM_CPUS_PER_TASK`.
https://slurm.schedmd.com/sbatch.html#OPT_SLURM_CPUS_PER_TASK

Thanks to NERSC engineers for reporting this update!
@ax3l ax3l force-pushed the doc-slurm-cpus-per-task branch from a0a808b to e2cd5b0 Compare September 27, 2024 22:35
Copy link
Member

@kngott kngott left a comment

Choose a reason for hiding this comment

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

Checked the SLURM_CPUS_PER_TASK variable is successfully set when -c is set in the batch flags. It does, so I think this should work. 😃

@EZoni
Copy link
Member

EZoni commented Oct 14, 2024

Merging this as it was approved by @kngott two weeks ago and hasn't received further comments since.

@EZoni EZoni merged commit 61e8706 into BLAST-WarpX:development Oct 14, 2024
dpgrote pushed a commit to dpgrote/WarpX that referenced this pull request Oct 23, 2024
This environment variable was used for Perlmutter when `--cpus-per-task=N` did not work yet. It was copied around to other templates.

These days, `--cpus-per-task` should work and the name of the env variable was renamed in SLURM to `SLURM_CPUS_PER_TASK`.
https://slurm.schedmd.com/sbatch.html#OPT_SLURM_CPUS_PER_TASK

Thanks to NERSC engineers for reporting this update!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: documentation Docs, readme and manual machine / system Machine or system-specific issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants