Re: [OMPI users] Spawn problem

2008-03-31 Thread Joao Vicente Lima
, 2008 at 11:49 AM, Joao Vicente Lima wrote: > 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 sp

Re: [OMPI users] Spawn problem

2008-03-31 Thread Joao Vicente Lima
tions don't know in advance the number of childrens needed to complete his work. The spawn works is creat ... I will made other tests. thanks, Joao On Mon, Mar 31, 2008 at 3:03 AM, Matt Hughes wrote: > On 30/03/2008, Joao Vicente Lima wrote: > > Hi, > > sorry bring this again

[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;

[OMPI users] MPI_Comm_spawn errors

2008-02-18 Thread Joao Vicente Lima
Hi all, I'm getting errors with spawn in the situations: 1) spawn1.c - spawning 2 process on localhost, one by one, the error is: spawning ... [localhost:31390] *** Process received signal *** [localhost:31390] Signal: Segmentation fault (11) [localhost:31390] Signal code: Address not mapped (1)

[OMPI users] init_thread + spawn error

2007-10-01 Thread Joao Vicente Lima
Hi all! I'm getting a error on call MPI_Init_thread and MPI_Comm_spawn. am I mistaking something? the attachments contains my ompi_info and source ... thank! Joao char *arg[]= {"spawn1", (char *)0}; MPI_Init_thread (&argc, &argv, MPI_THREAD_MULTIPLE, &provided); MPI_Comm_spawn ("./spa