[gridengine users] CPU allocation SOLVED

Ulrich Hiller hiller at mpia-hd.mpg.de
Tue Jul 16 09:41:54 UTC 2013



On 07/16/2013 11:21 AM, Reuti wrote:
> Am 16.07.2013 um 11:08 schrieb Ulrich Hiller:
> 
>> Hi again,
>> i know i should have answered earlier, but in the meantime the problem
>> seems to be solved. A colleague found out that in the command line the
>> host option has to be added with all the nodes (which was not the case
>> in earlier versions - so i was seeking at the wrong place).
>> So the command should look like this:
>> mpirun -np $NSLOTS -host node1,node2,node3,...,noden -prefix
>> my-prefix-if-necessary mycode.py
> 
> Are you assembling this command line on-the-fly? I would fear that your application will run on the wrong machines otherwise. Using the recent Open MPI and MPICH version you get a tight integration automatically and you don't need to specify the hosts there.

At least it works now. The openmpi version is 1.6.5 and it was
configured --with-sge

> 
> I don't know how your Python application works in details, but maybe it uses the `mpirun` only to kickstart its slave tasks and so care must be taken to use the granted machines.

The code was not written by me, but yes it looks like mpirun is the
kickstarter of  the python code on the nodes.

Regards, ulrich



More information about the users mailing list