Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Option to use only 7 cores out of 8 on each node
From: Addepalli, Srirangam V (srirangam.v.addepalli_at_[hidden])
Date: 2010-03-02 11:49:00


Hello All.
I am trying to run a parallel application that should use one core less than the no of cores that are available on the system. Are there any flags that i can use to specify this.

i tried using the following syntax with machinefile

openmpi-1.4-BM/bin/mpirun -np 14 -npernode 7 -machinefile machinefile ven_nw.e <coll.dt5. This fails. Is there any other way around this. When i get two nodes (with 16 cores) allocated from SGE
and we want to use only 14 cores out of the 16 allocated.

Rangam

My machine file has

compute-9-8.local
compute-9-8.local
compute-9-8.local
compute-9-8.local
compute-9-8.local
compute-9-8.local
compute-9-8.local
compute-9-6.local
compute-9-6.local
compute-9-6.local
compute-9-6.local
compute-9-6.local
compute-9-6.local
compute-9-6.local