Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] open mpi on smp
From: Cally K (kalpana0611_at_[hidden])
Date: 2008-04-17 05:48:26


hi thanks..everyone, it was very helpful.. I have another question too, but
I will post it as a different topic

On 4/17/08, Mark Kosmowski <mark.kosmowski_at_[hidden]> wrote:
>
> Cally:
>
> In the hostfile you add a "slots" line. For example on my dual
> opteron (single core) system, I have slots=2. This can be read about
> in more detail in the FAQ - I provide a link for this section below -
> you may need to scroll down to see the example hostfile at the end of
> the section.
>
> http://www.open-mpi.org/faq/?category=running#mpirun-scheduling
>
> Happy computing,
>
> Mark Kosmowski
>
> > Message: 1
> > Date: Wed, 16 Apr 2008 14:32:58 +0200
> > From: " Jozef K??er " <quickparser_at_[hidden]>
> > Subject: Re: [OMPI users] open mpi on smp
> > To: "Open MPI Users" <users_at_[hidden]>
> > Message-ID:
> > <8803b3d0804160532t60d9e82embeb01b83894163f3_at_[hidden]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I think that in pure OpenMPI environment (without any resorce manager)
> you
> > should be able to run applications like this:
> >
> > mpirun -np 2 mpi_executable
> > or
> > mpirun -np 4 -machinefile machines.list mpi_executable
> >
> > where machines.list contains a list of your computers identified by
> their
> > host names.
> > The former command should run the program locally on 2 processors/cores,
> the
> > latter
> > one on those specified in the list.
> >
> > Regards,
> > Jozef
> >
> > On Tue, Apr 15, 2008 at 6:38 PM, Cally K <kalpana0611_at_[hidden]> wrote:
> >
> > > hi, am beginner in openmpi
> > >
> > >
> > > could anyone tell me how do i run programs in open mpi on smp.. as in
> do I
> > > have to do any changes in hostfile ... like in mpich -- I write
> > >
> > > server:2
> > >
> > > how do I do it openmpi
> > >
> > >
> > > _______________________________________________
> > > users mailing list
> > > users_at_[hidden]
> > > http://www.open-mpi.org/mailman/listinfo.cgi/users
> > >
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>