I believe your slurm.conf is defining 4 nodes with a single logical
processor each. You are then trying to allocate two CPUs on a single node
with srun, which (according to your slurm.conf) you do not have.

You may want to consider `srun -n 2 hostname` and see where that lands you.

Regards,

Josh McSavaney
Bit Flipper
Rochester Institute of Technology



On Mon, Sep 8, 2014 at 7:42 PM, Christopher Samuel <sam...@unimelb.edu.au>
wrote:

>
> On 09/09/14 07:26, Michal Zielinski wrote:
>
>  I have a small test cluster (node[1-4]) running slurm 14.03.0 setup with
>> CR_CPU and no usage restrictions. Each node has just 1 CPU.
>>
> [...]
>
>> But, *srun -c 2 hostname* does not work, and it returns the above error.
>>
>> I have no idea why I can't dedicate 2 cores to a single job if I can
>> dedicate each core individually to a job.
>>
>
> What does "scontrol show node" say?
>
> cheers,
> Chris
> --
>  Christopher Samuel        Senior Systems Administrator
>  VLSCI - Victorian Life Sciences Computation Initiative
>  Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
>  http://www.vlsci.org.au/      http://twitter.com/vlsci
>

Reply via email to