Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Thread as MPI process
From: Ashley Pittman (ashley_at_[hidden])
Date: 2010-09-21 04:19:49

On 20 Sep 2010, at 22:24, Mikael Lavoie wrote:
> I wanna know if it exist a implementation that permit to run a single host process on the master of the cluster, that will then spawn 1 process per -np X defined thread at the host specified in the host list. The host will then act as a syncronized sender/collecter of the work done.

I don't fully understand you explanation either but I may be able to help clear up what you are asking for:

If you mean "pthreads" or "linux threads" then no, you cannot have different threads on different nodes under any programming paradigm.

However if you mean "execution threads" or in MPI parlance "ranks" then yes, under OpenMPI each "rank" will be a separate process on one of the nodes in the host list, as Jody says look at MPI_Comm_Spawn for this.


Ashley Pittman, Bath, UK.
Padb - A parallel job inspection tool for cluster computing