Re: [OMPI users] Spawn and Disconnect

2006-04-26 Thread Michael Kluskens
Correction on this, this problem only occurs (with OpenMPI 1.2) when I don't use mpirun to launch my process. I know seems strange to most mpi users, it turns out that when using OpenMPI and only needing one process (because I spawn everything else I need), I had found it quicker just to la

[OMPI users] Spawn and Disconnect

2006-04-25 Thread Michael Kluskens
I'm running OpenMPI 1.1 (v9704)and when a spawned processes exits the parent does not die (see previous discussions about 1.0.1/1.0.2); however, the next time the parent tries to spawn a process MPI_Comm_spawn does not return. My test output below: parent: 0 of 1 parent: How many proce

[OMPI users] Spawn and Disconnect

2006-03-07 Thread Brignone, Sergio
Edgar, here is the F77 version of the source code. Thanks Sergio -Original Message- From: Edgar Gabriel [mailto:gabr...@cs.uh.edu] Sent: Tuesday, March 07, 2006 12:09 PM To: Open MPI Users Subject: Re: [OMPI users] Spawn and Disconnect I know that there was a bug in the F90 interface

Re: [OMPI users] Spawn and Disconnect

2006-03-07 Thread Edgar Gabriel
@lanl.gov; Open MPI Users Subject: Re: [OMPI users] Spawn and Disconnect Just to add an example that may help to this "disconnect" discussion : Attached is the code of a test that does the following (and it works perfectly with OpenMPI 1.0.1) 1) master spawns slave1 2) master s

Re: [OMPI users] Spawn and Disconnect

2006-03-07 Thread Brignone, Sergio
@lanl.gov; Open MPI Users Subject: Re: [OMPI users] Spawn and Disconnect Just to add an example that may help to this "disconnect" discussion : Attached is the code of a test that does the following (and it works perfectly with OpenMPI 1.0.1) 1) master spawns slave1 2) master s

Re: [OMPI users] Spawn and Disconnect

2006-03-03 Thread Jean Latour
Just to add an example that may help to this "disconnect" discussion : Attached is the code of a test that does the following (and it works perfectly with OpenMPI 1.0.1) 1) master spawns slave1 2) master spawns slave2 3) exechange messages between master and slaves over intercommunicator 4) sl

Re: [OMPI users] Spawn and Disconnect

2006-03-02 Thread Ralph Castain
We expect to have much better support for the entire comm_spawn process in the next incarnation of the RTE. I don't expect that to be included in a release, however, until 1.1 (Jeff may be able to give you an estimate for when that will happen). Jeff et al may be able to give you access to an

Re: [OMPI users] Spawn and Disconnect

2006-03-02 Thread Edgar Gabriel
Open MPI currently does not fully support a proper disconnection of parent and child processes. Thus, if a child dies/aborts, the parents will abort as well, despite of calling MPI_Comm_disconnect. (The new RTE will have better support for these operations, Ralph/Jeff can probably give a better

[OMPI users] Spawn and Disconnect

2006-03-01 Thread Brignone, Sergio
Hi everybody, I am trying to run a master/slave set. Because of the nature of the problem I need to start and stop (kill) some slaves. The problem is that as soon as one of the slave dies, the master dies also. This is what I am doing: MASTER: MPI_Init(...) MPI_Comm_spawn(sl