|
Boost Users : |
Subject: Re: [Boost-users] mpi/serialization: broadcast function and the value argument
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-12-15 19:05:07
> -----Original Message-----
> From: Matthias Troyer [mailto:troyer_at_[hidden]]
> Sent: 14 December 2010 17:57
<snip>
>
> This will be crucial. If it does not work with, e.g. text or binary
> archives then it will not work with serialization either.
>
> Matthias
Hello,
Confirmed twice. It does work with boost.serialization, but throws an
exception with mpi::broadcast()
/// receiver
Base* bptr=0;
mpi::broadcast(world, bptr, 0);
This throws an exception. See attached for the call stack.
derived is a class inherits from base.
somehow it tries to read something into the length of a string, but that
number if very large. That is just nonsendse.
regards,
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