Did you use "-l gpu=1" in your job script?

On Fri, Dec 4, 2015 at 8:37 PM, Rajil Saraswat <[email protected]> wrote:
> On 4 December 2015 at 18:46, Reuti <[email protected]> wrote:
>> Hi,
>>
>> Am 05.12.2015 um 01:21 schrieb Rajil Saraswat:
>>
>>> Hello,
>>>
>>> We have a Rocks cluster with two nodes each with 1 GPU and 32 CPUS. I
>>> have defined a separate queue (gpu.q) containing these two hosts
>>> compute-4-0 and compute-4-1.
>>>
>>> Since we have only 1 gpu per node, i want the first job to be run on
>>> compute-4-0 and the second job to be run on compute-4-1. However, with
>>> my current configuration the second submitted job also tries to
>>> execute on compute-4-0. How can i force the job to execute on
>>> compute-4-1 if compute-4-0 is already running something, and
>>> subsequent submitted jobs should end up in 'qw'?
>>
>> A GPU job besides a conventional job or two GPU jobs at the same time?
>
> My solver uses both gpu and cpu at the same time. So i need two
> GPU+CPU jobs running on each node like this:
>
> 8CPU + 1GPU on first node
> 8CPU + 1GPU on second node
>
>>
>>
>> As gpu is set to one here, I wonder how a second GPU job can start here. 
>> What is the output of:
>>
>> $ qhost -F gpu
>>
>
> compute-4-1 linux-x64 32 0.00 126.1G 965.5M 1000.0M 0.0
>    Host Resource(s): hc:gpu=1.000000
> compute-4-1 linux-x64 32 0.00 126.1G 965.5M 1000.0M 0.0
>     Host Resource(s): hc:gpu=1.000000
>
>
> -Rajil
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users



-- 
Best,

Feng
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to