> On Nov 29, 2016, at 8:23 AM, Ole Holm Nielsen <[email protected]> 
> wrote:
> 
> 
> On 11/29/2016 12:27 PM, Daniel Ruiz Molina wrote:
>> I would like to know if it would be possible in SLURM configure two
>> partition, composed by the same nodes, but one for using with GPUs and
>> the other one only for OpenMPI. This configuration was allowed in Sun
>> Grid Engine because GPU resource was assigned to the queue and to the
>> compute node, but in SLURM I have only found the way for assigning a GPU
>> resource to a compute node, independently if that compute belongs to
>> partition X or to partition Y.

That is actually how they recommended setting up GPU nodes in the Slurm docs a 
couple of years ago (maybe changed now). Make a ‘gpu’ partition with the nodes 
and another partition that contains the same nodes. The second partition can 
even limit the total number of CPUs per node to save at least one CPU per GPU 
for use in the GPU partition. We have put the GPU nodes into an ‘interactive’ 
partition because the ‘standard’ partition is heterogenous so we did not want 
to limit the CPUs available on any one node arbitrarily. 

Carl

Reply via email to