[GE users] Parallel environment

Reuti reuti at staff.uni-marburg.de
Thu May 29 17:53:11 BST 2008


Am 29.05.2008 um 18:35 schrieb Fedele STABILE:

> I have this environment:
> 3 nodes 4 cpu each
> a queue all.q configured with 12 slot
> i can see 3 instances of this queue one on each node

How many slots are defined in the queue definition for these nodes?

> the submit command
> qsh -pe mpi 4
> or
> qsub -pe mpi 4
>
> not done, but

You could check the waiting job with:

qalter -w v <jobid>
qstat -j <jobid>

Any other jobs running from other users:

qstat -u "*"

> if i submit with
> qsh -pe mpi 3
> or
> qsub -pe mpi 3
>
> i can allocate 3 slot and if i read in pe_hostfile i see
> 1 cpu allocated each node

Your allocation_rule is still set to be fixed 4?

-- Reuti


> Fedele
>
> Il giorno gio, 29/05/2008 alle 17.11 +0200, Reuti ha scritto:
>> Am 29.05.2008 um 17:00 schrieb Fedele STABILE:
>>
>>> Even if i force PE to allocate 4 cpu with
>>> allocation_rule 4
>>> i allocate only 1 cpu per node
>>
>> What do you mean in detail? You submit with "-pe mpi 4" and get only
>> one task for your job as you see in the load? Do you tell the program
>> how many slots to use?
>>
>> mpirun -np $NSLOTS mypgm
>>
>> If you are *always* only on one machine per, you don't need any
>> machinefile. Otherwise you have to define "mpi" like outlined in
>> $SGE_ROOT/mpi and start:
>>
>> mpirun -np $NSLOTS -machinefile $TMPDIR/machines mypgm
>>
>> (As said, for HP-MPI you have to alter the generation of the
>> machinefile slightly: http://gridengine.sunsource.net/servlets/
>> ReadMsg?listName=users&msgNo=23323)
>>
>> -- Reuti
>>
>>
>>> Fedele
>>>
>>> Il giorno gio, 29/05/2008 alle 07.49 -0700, Daniel Templeton ha
>>> scritto:
>>>> If you set the allocation rule to 1, it will guarantee that only  
>>>> one
>>>> slave will run per node.
>>>>
>>>> Daniel
>>>>
>>>> Fedele STABILE wrote:
>>>>> I'm trying to configure a parallel environment on my cluster:
>>>>> each node has 4 cpu, but i can use only 1 cpu per node.
>>>>>
>>>>> I'm using the make PE environment with round_robin and with  
>>>>> fill_up
>>>>> strategy, but anyway i can use 1 cpu per node.
>>>>> Is there a feature in the configuration of queues?
>>>>>
>>>>> Fedele
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>>>> For additional commands, e-mail: users- 
>>>>> help at gridengine.sunsource.net
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>>> For additional commands, e-mail: users- 
>>>> help at gridengine.sunsource.net
>>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list