|
Boost Users : |
Subject: Re: [Boost-users] [MPI, serialization] Segmentation fault in heterogeneous cluster
From: Francesco Biscani (bluescarni_at_[hidden])
Date: 2010-09-03 07:56:31
Hi Matthias,
I'm gonna try right now. Just as an update, the problem seems to go
away if I serialize the payload in a text archive, convert it to
string, and send the string instead of the archive.
Cheers,
Francesco.
On Fri, Sep 3, 2010 at 1:30 PM, Matthias Troyer <troyer_at_[hidden]> wrote:
>
> On 3 Sep 2010, at 17:31, Francesco Biscani wrote:
>
>> Hi Matthias,
>>
>> I updated to Boost 1.44.0 but unfortunately the crash is now even in
>> local mode (mpirun -np 2). The strange thing is that the serialization
>> code is apparently working fine when used with text archives, but with
>> MPI archives the slave process, upon reception, is deserializing the
>> objects with seemingly random values (e.g., huge values instead of 1
>> or 0 for an integer data member of a structure).
>>
>> I'm trying to isolate the problem right now and, in case I can
>> reproduce it with a minimal example, I will post it here (though it is
>> likely some mistake on my part, it's the first time I use MPI and
>> serialization libraries).
>
> Hi Francesco
>
> Have you tried it with binary archives?
>
> Matthias
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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