Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] MPI_ERR_TRUNCATE
From: Nick Collier (nick.collier_at_[hidden])
Date: 2008-10-17 18:03:09


Hi,

I'm getting an error I don't quite understand. The code:

MPI_Irecv(recv->data, recv->count, recv->datatype, recv->sender_id,
recv->agent_type, MPI_COMM_WORLD,
                                                &recv->request);

...

recv = (AgentRequestRecv*) item->data;
MPI_Wait(&recv->request, &status);
receive_complete(process, recv);

And under some conditions, I get the error:

[3] [belafonte.home:04938] *** An error occurred in MPI_Wait
[3] [belafonte.home:04938] *** on communicator MPI_COMM_WORLD
[3] [belafonte.home:04938] *** MPI_ERR_TRUNCATE: message truncated
[3] [belafonte.home:04938] *** MPI_ERRORS_ARE_FATAL (goodbye)

When I do get the error, tracking the send and receive counts shows
them as equal. And what I don't understand is that the
receive_complete function in the above executes and the recv Struct
actually contains the data that was sent. So, I'm confused about the
error and what its trying to tell me as it looks like everything
worked OK.

This is on OSX 10.5.5 with OpenMPI 1.2.6.

thanks,

Nick