Instead of lying about nodes, you could create a second partition for
non-gpu loads with access to only 20 cores per node.

On Mon, Apr 6, 2015 at 6:43 PM Christopher B Coffey <[email protected]>
wrote:

> Hello,
>
> I'm curious how you handle the allocation of GPU's and cores on GPU
> systems in your cluster.  My new GPU system is 24 core, with 2 Tesla K80's
> (4 gpus total).  We allocate cores/mem by:
>
> SelectType=select/cons_res
> SelectTypeParameters=CR_Core_Memory
>
>
> What I'm thinking of doing is lying to Slurm about the true cores, and
> specifying CPUs=20, along with Gres=gpu:tesla:4.  Is this a reasonable
> solution in order to ensure there is a core reserved for each gpu in the
> system?  My thought is to allocate the 20 cores on the system to non-GPU
> type work instead of leaving them idle.
>
> Thanks!
>
> Chris
>
>
>

Reply via email to