Am 02.03.2010 um 19:26 schrieb Eugene Loh:
> Eugene Loh wrote:
>> Addepalli, Srirangam V wrote:
>>> i tried using the following syntax with machinefile
>>> mpirun -np 14 -npernode 7 -machinefile machinefile ven_nw.e
>> It "works" for me. I'm not using SGE, though.
When it's tightly integrated with SGE, maybe you need a PE with a
fixed allocation rule of 7. Then all should work automatically and
without any need of a machinefile for mpiexec. If you want to use the
node exclusively for your job although you want only 7 out of 8
available slots, you also need to request an exclusive resource (e.g.
named "exclusive") which is attached to each exechost.
>> % cat machinefile
>> % mpirun -tag-output -np 14 -npernode 7 -machinefile machinefile
> Incidentally, the key ingredient here is the "-npernode 7" part.
> The machine file only needs enough slots. E.g., you could have had:
> % cat machinefile
> node0 slots=20
> node1 slots=20
> mpirun will see that there are enough slots on each node, but load
> only 7 up per node due to the -npernode switch.
> That said, I don't know what's going wrong in your case -- only
> that things work as advertised for me.
> users mailing list