<html style="direction: ltr;">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bgcolor="#FFFFFF" text="#000000">
It worked out.<br>
srun -N2 --ntasks=25 --pty devtest<br>
actually ran on 25 cores, 16 of the first and 9 on the second<br>
<br>
Thanks alot.<br>
<br>
<div class="moz-cite-prefix">On 21/01/2018 08:33, Nadav Toledo
wrote:<br>
</div>
<blockquote cite="mid:5A643442.5060704@cs.technion.ac.il"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
Sorry for delay answer.<br>
First thank you for pointing this out I would have missed that
for sure<br>
Second, If i run the command you wrote, i get only 2 cores, is
that how it suppose to work?<br>
<br>
meaning :<br>
srun --ntasks=17 --pty bash<br>
<br>
~$ nproc<br>
2<br>
<br>
also running dd if=/dev/zero of=/dev/null & , 5 times only
takes 2 cores<br>
<br>
Am i missing something?<br>
<br>
<br>
<div class="moz-cite-prefix">On 18/01/2018 10:16, Loris Bennett
wrote:<br>
</div>
<blockquote cite="mid:87bmhra8ex.fsf@hornfels.zedat.fu-berlin.de"
type="cite">
<blockquote type="cite">
<pre wrap="">Nadav Toledo <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nadavtoledo@cs.technion.ac.il"><nadavtoledo@cs.technion.ac.il></a> writes:
</pre>
<blockquote type="cite">
<pre wrap=""> Nadav Toledo <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nadavtoledo@cs.technion.ac.il"><nadavtoledo@cs.technion.ac.il></a> writes:
Hey everyone,
We've just setup a slurm cluster with few nodes each has 16 cores.
Is it possible to submit a job for 17cores or more?
If not, is there a workaround?
Thanks in advance, Nadav
It should be possible. Have you tried? If so, do you get an error?
</pre>
</blockquote>
<pre wrap="">srun -c17 --pty bash
srun: error: CPU count per node can not be satisfied
srun: error: Unable to allocate resources: Requested node configuration is not available
</pre>
</blockquote>
<pre wrap="">The option -c is the short form of --cpus-per-task, which really means
"cores per process". As you only have 16 cores per node, you can't run
a single process on 17 cores.
You probably want
srun --ntasks=17 --pty bash
I'd suggest you use the long forms of the options until you get more
familiar with Slurm (although even that can still be confusing,
cf. core/cpu, task/process).
Cheers,
Loris
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>