On 12 January 2013 13:06, yong wu <[email protected]> wrote:

>  Dear William,
> I know the method that request 6 slots on each of the three nodes,
> set up a PE named mpi6,
> [wuy@cluster ~]$ qconf -sp mpi6
> pe_name            mpi6
> slots              999
> user_lists         NONE
> xuser_lists        NONE
> start_proc_args    /opt/gridengine/mpi/startmpi.sh $pe_hostfile
> stop_proc_args     /opt/gridengine/mpi/stopmpi.sh
> allocation_rule    6
> control_slaves     FALSE
> job_is_first_task  TRUE
> urgency_slots      min
> accounting_summary TRUE
>
> then,
> [wuy@cluster ~]$ qsub -h=node0[1-3] -pe mpi6 18
>
> I wonder how to request the special three nodes and the distribution of
> slots on the three nodes is 6, 6, 12.
>
> In Torque, qsub -l nodes=node01:ppn=6+node02:ppn=6+node03:ppn=12,
>
> But how to realize in Grid Engine?
>
There isn't a mechanism that will work in the general case AFAICT.  You
could try requesting all 36 slots and not using all of them.  Usually when
you are being this specific you want exclusive access to the nodes anyway
so requesting all the slots does no harm.


>
>  >set up queues on the nodes with the appropriate number of slots and a
> $fillup pe and request that queue
> This is a temporary measure. If he/she is not a manager, the method is not
> suitable for him/her. And the next time, the empty free nodes are no longer
> the node01, node02 and node03.
>
> Best regards,
> -wuy
>
>  2013/1/12 William Hay <[email protected]>
>
>>
>>
>>
>> On 12 January 2013 07:46, yong wu <[email protected]> wrote:
>>
>>>  Dear all,
>>>     The hostname of three empty free nodes is node01, node02 and node03,
>>> and each host have 12 slots.
>>>
>>> Request 6 slots per the three nodes,
>>> qsub -pe mpi6 18
>>>
>> One way would be to set up queues on the nodes with the appropriate
>> number of slots and a $fillup pe and request that queue.
>>  You'd need to control total slots on hosts in some other way.
>>
>>
>>
>>
>>>
>>> But how can I request 24 slots on the three nodes, the
>>> slots distribution is 6, 6, 12.
>>>
>>> Thanks!
>>>
>>> Best regards,
>>> Yong Wu
>>>
>>
>>
>
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to