Boost logo

Boost Users :

Subject: Re: [Boost-users] [MPI, serialization] Segmentation fault in heterogeneous cluster
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-09-07 22:42:12


On 7 Sep 2010, at 22:41, Francesco Biscani wrote:

> Just an update, in case anyone is still following this.
>
> It turns out that even when serializing the classes to a text archive,
> converting it to string, transmit the string via boost::mpi and then
> rebuilding the classes on the other side from the transmitted string,
> I still have the same error as reported above for heterogeneous
> clusters (in homogeneous clusters it works seemingly ok).
>
> So what I'm doing now is to send the archive in string form using
> directly the MPI_* primitives (using a std::vector<char> as buffer and
> MPI_CHAR datatype). This works in all configurations I've tested.
>
> I'm not entirely sure if the problem is on my side or if this is a
> genuine bug, but I would like to provide any info/testing necessary to
> solve this issue.
>
> Thanks again,

Can you just send me a program that exhibits the problem?
Also, did you test whether your MPI library works on the heterogeneous machine when making the MPI_* calls and packing data into a buffer using the MPI_Pack/MPI_Unpack calls? There might be a problem with pack/unpack on your system.

Matthias


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net