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