Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Open MPI error MPI_ERR_TRUNCATE: message truncated
From: David Zhang (solarbikedz_at_[hidden])
Date: 2010-07-07 20:32:27


This error typically occurs when the received message is bigger than the
specified buffer size. You need to narrow your code down to offending
receive command to see if this is indeed the case.

On Wed, Jul 7, 2010 at 8:42 AM, Jack Bryan <dtustudy68_at_[hidden]> wrote:

> Dear All:
>
> I need to transfer some messages from workers master node on MPI cluster
> with Open MPI.
>
> The number of messages is fixed.
>
> When I increase the number of worker nodes, i got error:
>
> ------------------------------------------
>
> terminate called after throwing an instance of
> 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::mpi::exception>
> >'
> what(): MPI_Unpack: MPI_ERR_TRUNCATE: message truncated
> [n231:45873] *** Process received signal ***
> [n231:45873] Signal: Aborted (6)
> [n231:45873] Signal code: (-6)
> [n231:45873] [ 0] /lib64/libpthread.so.0 [0x3c50e0e4c0]
> [n231:45873] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3c50230215]
> [n231:45873] [ 2] /lib64/libc.so.6(abort+0x110) [0x3c50231cc0]
>
>
> --------------------------------------------------------------
>
> For 40 workers , it works well.
>
> But for 50 workers, it got this error.
>
> The largest message size is not more then 72 bytes.
>
> Any help is appreciated.
>
> thanks
>
> Jack
>
> July 7 2010
>
> ------------------------------
> The New Busy is not the too busy. Combine all your e-mail accounts with
> Hotmail. Get busy.<http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
David Zhang
University of California, San Diego