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

CPUSET plugin uses wrong SLURM environment variable for CPUs on node #1

Closed
GoogleCodeExporter opened this issue May 12, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

From Matthieu Hautreux of CEA:

 I also made a modification in the cpuset.c file. Indeed, The plugin guesses
 the number of allocated cores on each node using the content of
 SLURM_JOB_CPUS_PER_NODE (using str2int). Unfortunately, as this value now
 looks like 4(x2) for a srun -n8 -N2 ..., there is a problem. I replaced
 SLURM_JOB_CPUS_PER_NODE with SLURM_JOB_CPUS_ON_NODE and it now works fine,
 at least as far as I tested it.


Original issue reported on code.google.com by [email protected] on 13 Feb 2009 at 12:08

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant