Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-28 Thread Everette Clemmer
Yes I did, forgot to mention that in my last. Most of the example code I've seen online passes the buffer variable by reference... I think I've gotten past the segfault at this point, but it looks like MPI_Isend is never completing. I have an MPI_Test() that sets a flag immediately following the M

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-22 Thread jody
Did you also change the "&buffer" to buffer in your MPI_Send call? Jody On Tue, Sep 22, 2009 at 1:38 PM, Everette Clemmer wrote: > Hmm, tried changing MPI_Irecv( &buffer) to MPI_Irecv( buffer...) > and still no luck. Stack trace follows if that's helpful: > > prompt$ mpirun -np 2 ./display_t

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-22 Thread Everette Clemmer
Hmm, tried changing MPI_Irecv( &buffer) to MPI_Irecv( buffer...) and still no luck. Stack trace follows if that's helpful: prompt$ mpirun -np 2 ./display_test_debug Sending 'q' from node 0 to node 1 [COMPUTER:50898] *** Process received signal *** [COMPUTER:50898] Signal: Segmentation fault (1

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-22 Thread Ake Sandgren
On Mon, 2009-09-21 at 19:26 -0400, Everette Clemmer wrote: > Hey all, > > I'm getting a segmentation fault when I attempt to receive a single > character via MPI_Irecv. Code follows: > > void recv_func() { > if( !MASTER ) { > charbuffer[ 1 ]; >

[OMPI users] MPI_Irecv segmentation fault

2009-09-21 Thread Everette Clemmer
Hey all, I'm getting a segmentation fault when I attempt to receive a single character via MPI_Irecv. Code follows: void recv_func() { if( !MASTER ) { charbuffer[ 1 ]; int flag; MPI_Req