boost error serialization
Dear All:
I am designing parallel code for MPI with linux.
I am using boost::serialization::access to make the data strucutre to be transferred from one process to another process, just like transferring int data type.
I got the errors as follows:--------------------------------------------------------------------
/lustre/boost_2010_6_8/boost_1_43_0/boost/config/stdlib/libstdcpp3.hpp:40:1: warning: "BOOST_HAS_THREADS" redefined<command line>:1:1: warning: this is the location of the previous definition/lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp: In static member function âstatic void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = population]â:/lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:74: instantiated from âvoid boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = population]â/lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:133: instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = population]â/lustre/boost_2010_6_8/boost_1_43_0/boost/archive/detail/iserializer.hpp:182: instantiated from âvoid boost::archive::detail::iserializer
On 14 Aug 2010, at 17:04, Jack Bryan wrote:
I got more errors: -----------------------------------------------
/lustre/boost_2010_6_8/boost_1_43_0/boost/config/stdlib/libstdcpp3.hpp:40:1: warning: "BOOST_HAS_THREADS" redefined <command line>:1:1: warning: this is the location of the previous definition /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp: In static member function âstatic void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = int*]â: /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:74: instantiated from âvoid boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = int*]â /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:133: instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = int*]â /lustre/boost_2010_6_8/boost_1_43_0/boost/archive/detail/iserializer.hpp:182: instantiated from âvoid boost::archive::detail::iserializer
::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::mpi::packed_iarchive, T = int*]â myNetplanScheduler.cpp:448: instantiated from here /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp:118: error: request for member âserializeâ in âtâ, which is of non-class type âint*â /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp: In static member function âstatic void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = double]â: /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:74: instantiated from âvoid boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = double]â /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:133: instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = double]â /lustre/boost_2010_6_8/boost_1_43_0/boost/archive/detail/iserializer.hpp:182: instantiated from âvoid boost::archive::detail::iserializer ::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::mpi::packed_iarchive, T = double]â myNetplanScheduler.cpp:448: instantiated from here /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp:118: error: request for member âserializeâ in âtâ, which is of non-class type âdoubleâ .................. ---------------------------------------------
Any help is appreciated.
Hi Jack, how often do we have to tell you that it is impossible to help if you don't post any code! Matthias
I responded with a suggestion that you try the version in the trunk. 1.42 and 1.43 got broken but I think we've got this fixed for 1.44 which is on the release branch - it's releaes is "imminent" Robert Ramey Jack Bryan wrote:
Dear All:
I am designing parallel code for MPI with linux.
I am using boost::serialization::access to make the data strucutre to be transferred from one process to another process, just like transferring int data type.
thanks May I know when the boost 1.44 can be released. Any help is appreciated. Jack Aug. 14 2010
To: boost-users@lists.boost.org From: ramey@rrsd.com Date: Sat, 14 Aug 2010 18:00:03 -0800 Subject: Re: [Boost-users] boost error serialization
I responded with a suggestion that you try the version in the trunk. 1.42 and 1.43 got broken but I think we've got this fixed for 1.44 which is on the release branch - it's releaes is "imminent"
Robert Ramey
Jack Bryan wrote:
Dear All:
I am designing parallel code for MPI with linux.
I am using boost::serialization::access to make the data strucutre to be transferred from one process to another process, just like transferring int data type.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
You can try the release candidate from http://boost.cowic.de/rc/ On 14 Aug 2010, at 23:31, Jack Bryan wrote:
thanks
May I know when the boost 1.44 can be released.
Any help is appreciated.
Jack
Aug. 14 2010
To: boost-users@lists.boost.org From: ramey@rrsd.com Date: Sat, 14 Aug 2010 18:00:03 -0800 Subject: Re: [Boost-users] boost error serialization
I responded with a suggestion that you try the version in the trunk. 1.42 and 1.43 got broken but I think we've got this fixed for 1.44 which is on the release branch - it's releaes is "imminent"
Robert Ramey
Jack Bryan wrote:
Dear All:
I am designing parallel code for MPI with linux.
I am using boost::serialization::access to make the data strucutre to be transferred from one process to another process, just like transferring int data type.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Jack Bryan
-
Matthias Troyer
-
Robert Ramey