Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Option to use only 7 cores out of 8 on each node
From: Eugene Loh (Eugene.Loh_at_[hidden])
Date: 2010-03-02 13:10:22


Addepalli, Srirangam V wrote:

>i tried using the following syntax with machinefile
>
>mpirun -np 14 -npernode 7 -machinefile machinefile ven_nw.e <coll.dt5
>
It "works" for me. I'm not using SGE, though.

% cat machinefile
node0
node0
node0
node0
node0
node0
node0
node1
node1
node1
node1
node1
node1
node1
% mpirun -tag-output -np 14 -npernode 7 -machinefile machinefile hostname
[1,0]<stdout>:node0
[1,1]<stdout>:node0
[1,2]<stdout>:node0
[1,3]<stdout>:node0
[1,4]<stdout>:node0
[1,5]<stdout>:node0
[1,6]<stdout>:node0
[1,7]<stdout>:node1
[1,8]<stdout>:node1
[1,9]<stdout>:node1
[1,10]<stdout>:node1
[1,11]<stdout>:node1
[1,12]<stdout>:node1
[1,13]<stdout>:node1