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 " <quickpar...@gmail.com> > Subject: Re: [OMPI users] open mpi on smp > To: "Open MPI Users" <us...@open-mpi.org> > Message-ID: > <8803b3d0804160532t60d9e82embeb01b8389416...@mail.gmail.com> > 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 <kalpana0...@gmail.com> 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 > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > >