Re: [OMPI users] launching the mpi runtime

2010-11-29 Thread Jeff Squyres
On Nov 29, 2010, at 2:29 PM, Hicham Mouline wrote: > If the GUI's on windows, and the compute processes are on linux for > instance, no MPI communication is possible right. > That means, I do need to write custom code to communicate between the GUI > process (win) and the mpi master (linux) With

Re: [OMPI users] launching the mpi runtime

2010-11-29 Thread Jeff Squyres
On Nov 24, 2010, at 4:41 PM, Hicham Mouline wrote: >> Sadly true. There has been (very) little demand for this, so we >> haven't spent much (any) time on making it work. > > Is it the same for MacOSX? can't mix MacOsX and linux? > Can't mix Win and MacOSX? The issue is mainly Windows, I believe

Re: [OMPI users] launching the mpi runtime

2010-11-29 Thread Jeff Squyres
On Nov 23, 2010, at 8:34 AM, Hicham Mouline wrote: >> MPI doesn't necessarily mean SPMD -- you can certainly have the GUI call >> MPI_INIT and then call MPI_COMM_SPAWN to launch a different >executable to >> do the compute working stuff. > > This is confusing to me. > If the GUI does that, wil

Re: [OMPI users] launching the mpi runtime

2010-11-29 Thread Hicham Mouline
>> therefore, I guess I need to separate the GUI binary from the mpi-processes >> binary and have the GUI process talk to the "master" mpi process (on linux) >> for calc requests. >> >> I was hoping I wouldn't have to write a custom code to do that. >MPI doesn't necessarily mean SPMD -- you ca

Re: [OMPI users] launching the mpi runtime

2010-11-23 Thread Hicham Mouline
>MPI doesn't necessarily mean SPMD -- you can certainly have the GUI call >MPI_INIT and then call MPI_COMM_SPAWN to launch a different >executable to do >the compute working stuff.  >-- >Jeff Squyres >jsquyres_at_[hidden] This is confusing to me. If the GUI does that, will the GUI process (runn

Re: [OMPI users] launching the mpi runtime

2010-11-22 Thread Jeff Squyres
On Nov 22, 2010, at 11:52 AM, Hicham Mouline wrote: > i have now a application with a gui. The gui launches the calculations > in-process serially. > No MPI involved. Fine. The objective is to parallelize. Gotcha. > I want to keep the GUI(windows) as the control to start calcs and display > resu

Re: [OMPI users] launching the mpi runtime

2010-11-22 Thread Hicham Mouline
rom: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Jeff Squyres > Sent: 22 November 2010 15:53 > To: Open MPI Users > Subject: Re: [OMPI users] launching the mpi runtime > > Other than MPI_COMM_SPAWN[_MULTIPLE], we don't expose the underlying

Re: [OMPI users] launching the mpi runtime

2010-11-22 Thread Jeff Squyres
Other than MPI_COMM_SPAWN[_MULTIPLE], we don't expose the underlying run-time to MPI applications. There is a whole programatic interface for the layer under MPI (the Open MPI Runtime Environment -- ORTE), though. We don't advise mixing ORTE calls in MPI applications, but it is certainly feasi

Re: [OMPI users] launching the mpi runtime

2010-11-18 Thread David Zhang
you could spawn more processes from currently running processes. On Thu, Nov 18, 2010 at 3:05 AM, Hicham Mouline wrote: > Hi, > > One typically uses mpirun to launch a set of mpi processes. > > Is there some programmatical interface to launching the runtime and having > the process that launche