Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] message truncated error
From: jody (jody.xha_at_[hidden])
Date: 2010-11-01 03:08:08


Hi Jack

Usually MPI_ERR_TRUNCATE means that the buffer you use in MPI_Recv
(or MPI::COMM_WORLD.Recv) is too sdmall to hold the message coming in.
Check your code to make sure you assign enough memory to your buffers.

regards
Jody

On Mon, Nov 1, 2010 at 7:26 AM, Jack Bryan <dtustudy68_at_[hidden]> wrote:
> HI,
> In my MPI program, master send many msaages to another worker with the same
> tag.
> The worker uses
> s
> MPI::COMM_WORLD.Recv(&message_para_to_one_worker, 1,
> message_para_to_workers_type, 0, downStreamTaskTag);
> to receive the messages
> I got error:
>
> n36:94880] *** An error occurred in MPI_Recv
> [n36:94880] *** on communicator MPI_COMM_WORLD
> [n36:94880] *** MPI_ERR_TRUNCATE: message truncated
> [n36:94880] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
> [n36:94880] *** Process received signal ***
> [n36:94880] Signal: Segmentation fault (11)
> [n36:94880] Signal code: Address not mapped (1)
>
> Is this (the same tag) the reason for the errors ?
> ANy help is appreciated.
> thanks
> Jack
> Oct. 31 2010
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>