Re: [OMPI users] Spawn problem

2008-03-31 Thread Joao Vicente Lima
Hi again, when I call MPI_Init_thread in the same program the error is: spawning ... opal_mutex_lock(): Resource deadlock avoided [localhost:07566] *** Process received signal *** [localhost:07566] Signal: Aborted (6) [localhost:07566] Signal code: (-6) [localhost:07566] [ 0] /lib/libpthread.so.0

Re: [OMPI users] Spawn problem

2008-03-31 Thread Joao Vicente Lima
Really MPI_Finalize is crashing and calling MPI_Comm_{free,disconnect} works! I don't know if the free/disconnect must appear before a MPI_Finalize for this case (spawn processes) some suggest ? I use loops in spawn: - first for testing :) - and second because certain MPI applications don't

Re: [OMPI users] RPM build errors when creating multiple rpms

2008-03-31 Thread Jeff Squyres
On Mar 26, 2008, at 10:05 AM, Ashley Pittman wrote: The community Open MPI projects distributes SRPMs which, when built, do not install into /opt by default -- you have to request it specifically. Out of interest how does open-mpi handle the mpir_dll_name symbol in the library, it's suppos

Re: [OMPI users] Spawn problem

2008-03-31 Thread Matt Hughes
On 30/03/2008, Joao Vicente Lima wrote: > Hi, > sorry bring this again ... but i hope use spawn in ompi someday :-D I believe it's crashing in MPI_Finalize because you have not closed all communication paths between the parent and the child processes. For the parent process, try calling MPI_Comm

Re: [OMPI users] Spawn problem

2008-03-31 Thread Terry Frankcombe
My C++ is a little rusty. Is that returned intercommunicator going where you think it is? If you unroll the loop does the same badness happen? On Mon, 2008-03-31 at 02:41 -0300, Joao Vicente Lima wrote: > Hi, > sorry bring this again ... but i hope use spawn in ompi someday :-D > > The executi

[OMPI users] Spawn problem

2008-03-31 Thread Joao Vicente Lima
Hi, sorry bring this again ... but i hope use spawn in ompi someday :-D The execution of spawn in this way works fine: MPI_Comm_spawn ("./spawn1", MPI_ARGV_NULL, 2, MPI_INFO_NULL, 0, MPI_COMM_SELF, &intercomm, MPI_ERRCODES_IGNORE); but if this code go to a for I get a problem : for (i= 0; i < 2;