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: Ralph Castain (rhc_at_[hidden])
Date: 2010-03-02 12:55:07


When you say "it fails", what do you mean? That it doesn't run at all, or
that it still fills each node, or...?

On Tue, Mar 2, 2010 at 9:49 AM, Addepalli, Srirangam V <
srirangam.v.addepalli_at_[hidden]> wrote:

> 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
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>