Re: [OMPI users] Segmentation fault at program end with 2+ processes

2010-05-20 Thread Prentice Bisbal
I hope I'm not too late in my reply, and I hope I'm not repeating the same solution others have given you. I had a similar error in a code a few months ago. The error was this: I think I was doing an MPI_Pack/Unpack to send data between nodes. The problem was that I was allocating space for a buff

Re: [OMPI users] Segmentation fault at program end with 2+ processes

2010-05-15 Thread Jeff Squyres
Ouch. These are the worst kinds of bugs to find. :-( If you attach a debugger to these processes and step through the final death throes of the process, does it provide any additional insight? I have not infrequently done stuff like this: { int i = 0; printf("Process %d ready to

[OMPI users] Segmentation fault at program end with 2+ processes

2010-05-14 Thread Paul-Michael Agapow
Apologies for the vague details of the problem I'm about to describe, but then I only understand it vaguely. Any pointers about the best directions for further investigation would be appreciated. Lengthy details follow: So I'm "MPI-izing" a pre-existing C++ program (not mine) and have run into som