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: Reuti (reuti_at_[hidden])
Date: 2010-09-21 05:11:43


Am 21.09.2010 um 10:19 schrieb Ashley Pittman:

> 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.

There are some efforts like http://www.kerrighed.org/wiki/index.php/Main_Page, but for the current release the thread migration is indeed disabled.

-- Reuti

> 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,
>
> --
>
> Ashley Pittman, Bath, UK.
>
> Padb - A parallel job inspection tool for cluster computing
> http://padb.pittman.org.uk
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users