Hi all,
I am trying to separate structure from content and send a vector of strings.
Without the separation it works fine, I do receive the data on workers.
When I try to separate structure and data it fails to compile. My simple
code and the error message are below.
Any idea, what am I doing wrong?
Compilation
mpicxx test.cpp -o test -I /boost/include/boost-1_37/
/boost/lib/libboost_mpi-gcc41-mt-1_37.a
/boost/lib/libboost_serialization-gcc41-mt-1_37.a
/boost/lib/libboost_date_time-gcc41-mt-1_37.a
Code
1 #include "mpi_ver_headers.h"
2
3 using namespace std;
4 namespace mpi = boost::mpi;
5 mpi::communicator world;
6
7
8 int main(int argc, char* argv[]){
9 vectorstd::string a;
10 int sz;
11 mpi::environment env(argc, argv);
12 if (world.rank() == 0){
13 broadcast(world, mpi::skeleton(a), 0);
14 mpi::content c = mpi::get_content(a);
15 for(int i =1; i < world.size(); i++){
16 for(int l = 1; l < 3; l++)
17 a.push_back("A");
18 sz = a.size();
19 world.send(i, 3, sz);
20 world.send(i, 1, &a[0], sz);
21 world.recv(i, 2);
22 }
23 }
24 if(world.rank() > 0){
25 broadcast(world, mpi::skeleton(a), 0);
26 mpi::content c =
mpi::get_content(a);
27 world.recv(0, 3 , sz);
28 a.resize(sz);
29 world.recv(0, 1, &a[0], sz);
30 for(int l=0; l < sz; l++)
31 cout << a[l] << "\t";
32 cout << endl;
33 world.send(0, 2);
34 }
35 }
"mpi_ver_headers.h" is
........
29 #include
30 #include
31 #include
32 #include
33 #include
34 #include
35 #include
36 #include
37 #include
38 #include
39 #include
40 #include
41 #include
42 #include
43 #include
44 #include
45 #include
46 #include
47 #include
48 #include
49 #include
50 #include
51 #include
52 #include
53 #include
54 #include
55 #include
56 #include "boost/date_time/gregorian/gregorian.hpp"
57 #include
58 #include
59 #include
60 #include
Error
/boost/include/boost-1_37/boost/mpi/datatype.hpp: In function
âompi_datatype_t* boost::mpi::get_mpi_datatype(const T&) [with T =
std::basic_string]â:
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_primitive.hpp:96:
instantiated from âvoid
boost::mpi::detail::mpi_datatype_primitive::save(const T&) [with T =
std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:95:
instantiated from âstatic void
boost::archive::save_access::save_primitive(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:212:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::save_primitive::invoke(Archive&, const T&) [with Archive =
boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:294:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::invoke(Archive&,
const T&) [with Archive = boost::mpi::detail::content_oarchive, T =
std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:506:
instantiated from âvoid boost::archive::save(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/mpi/detail/ignore_skeleton_oarchive.hpp:46:
instantiated from âvoid
boost::mpi::detail::ignore_skeleton_oarchive<Archive>::save_override(const
T&, int) [with T = std::basic_string, Archive = boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/archive/detail/interface_oarchive.hpp:64:
instantiated from âArchive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T
= const std::basic_string
, Archive = boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/serialization/nvp.hpp:78: instantiated
from âvoid boost::serialization::nvp<T>::save(Archivex&, unsigned int) const
[with Archivex = boost::mpi::detail::content_oarchive, T = const
std::basic_string]â
/boost/include/boost-1_37/boost/serialization/access.hpp:93: instantiated
from âstatic void boost::serialization::access::member_save(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
const boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/split_member.hpp:43:
instantiated from âstatic void
boost::serialization::detail::member_saver::invoke(Archive&,
const T&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, T = boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/split_member.hpp:69:
instantiated from âvoid boost::serialization::split_member(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/nvp.hpp:88: instantiated
from âvoid boost::serialization::nvp<T>::serialize(Archive&, unsigned int)
[with Archive = boost::mpi::detail::content_oarchive, T = const
std::basic_string]â
/boost/include/boost-1_37/boost/serialization/access.hpp:109: instantiated
from âstatic void boost::serialization::access::serialize(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:74:
instantiated from âvoid boost::serialization::serialize(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:133:
instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:220:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::save_only::invoke(Archive&, const T&) [with Archive =
boost::mpi::detail::content_oarchive, T = boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:294:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::invoke(Archive&,
const T&) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:506:
instantiated from âvoid boost::archive::save(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/mpi/detail/ignore_skeleton_oarchive.hpp:46:
instantiated from âvoid
boost::mpi::detail::ignore_skeleton_oarchive<Archive>::save_override(const
T&, int) [with T = boost::serialization::nvp >, Archive =
boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/archive/detail/interface_oarchive.hpp:64:
instantiated from âArchive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T
= const boost::serialization::nvp >, Archive =
boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/serialization/collections_save_imp.hpp:60:
instantiated from âvoid boost::serialization::stl::save_collection(Archive&,
const Container&) [with Archive = boost::mpi::detail::content_oarchive,
Container = std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:53: instantiated
from âvoid boost::serialization::save(Archive&, const std::vector&, unsigned int, mpl_::false_) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:119: instantiated
from âvoid boost::serialization::save(Archive&, const std::vector&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/split_free.hpp:45:
instantiated from âstatic void boost::serialization::free_saver::invoke(Archive&, const T&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/split_free.hpp:74:
instantiated from âvoid boost::serialization::split_free(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:139: instantiated
from âvoid boost::serialization::serialize(Archive&, std::vector&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:133:
instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:144:
instantiated from âvoid boost::archive::detail::oserializer::save_object_data(boost::archive::detail::basic_oarchive&, const void*)
const [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
deneme.cpp:34: instantiated from here
/boost/include/boost-1_37/boost/mpi/datatype.hpp:184: error: no matching
function for call to âassertion_failed(mpl_::failed************
boost::mpi::is_mpi_datatype >::************)â
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_cache.hpp: In member
function âompi_datatype_t*
boost::mpi::detail::mpi_datatype_map::datatype(const T&, typename
boost::disable_if::type*)
[with T = std::basic_string]â:
/boost/include/boost-1_37/boost/mpi/datatype.hpp:185: instantiated from
âompi_datatype_t* boost::mpi::get_mpi_datatype(const T&) [with T =
std::basic_string]â
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_primitive.hpp:96:
instantiated from âvoid
boost::mpi::detail::mpi_datatype_primitive::save(const T&) [with T =
std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:95:
instantiated from âstatic void
boost::archive::save_access::save_primitive(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:212:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::save_primitive::invoke(Archive&, const T&) [with Archive =
boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:294:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::invoke(Archive&,
const T&) [with Archive = boost::mpi::detail::content_oarchive, T =
std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:506:
instantiated from âvoid boost::archive::save(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/mpi/detail/ignore_skeleton_oarchive.hpp:46:
instantiated from âvoid
boost::mpi::detail::ignore_skeleton_oarchive<Archive>::save_override(const
T&, int) [with T = std::basic_string, Archive = boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/archive/detail/interface_oarchive.hpp:64:
instantiated from âArchive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T
= const std::basic_string]â
/boost/include/boost-1_37/boost/serialization/access.hpp:93: instantiated
from âstatic void boost::serialization::access::member_save(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
const boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/split_member.hpp:43:
instantiated from âstatic void
boost::serialization::detail::member_saver::invoke(Archive&,
const T&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, T = boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/split_member.hpp:69:
instantiated from âvoid boost::serialization::split_member(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/nvp.hpp:88: instantiated
from âvoid boost::serialization::nvp<T>::serialize(Archive&, unsigned int)
[with Archive = boost::mpi::detail::content_oarchive, T = const
std::basic_string]â
/boost/include/boost-1_37/boost/serialization/access.hpp:109: instantiated
from âstatic void boost::serialization::access::serialize(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:74:
instantiated from âvoid boost::serialization::serialize(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:133:
instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:220:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::save_only::invoke(Archive&, const T&) [with Archive =
boost::mpi::detail::content_oarchive, T = boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:294:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::invoke(Archive&,
const T&) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:506:
instantiated from âvoid boost::archive::save(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/mpi/detail/ignore_skeleton_oarchive.hpp:46:
instantiated from âvoid
boost::mpi::detail::ignore_skeleton_oarchive<Archive>::save_override(const
T&, int) [with T = boost::serialization::nvp >, Archive =
boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/archive/detail/interface_oarchive.hpp:64:
instantiated from âArchive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T
= const boost::serialization::nvp >, Archive =
boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/serialization/collections_save_imp.hpp:60:
instantiated from âvoid boost::serialization::stl::save_collection(Archive&,
const Container&) [with Archive = boost::mpi::detail::content_oarchive,
Container = std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:53: instantiated
from âvoid boost::serialization::save(Archive&, const std::vector&, unsigned int, mpl_::false_) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:119: instantiated
from âvoid boost::serialization::save(Archive&, const std::vector&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/split_free.hpp:45:
instantiated from âstatic void boost::serialization::free_saver::invoke(Archive&, const T&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/split_free.hpp:74:
instantiated from âvoid boost::serialization::split_free(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:139: instantiated
from âvoid boost::serialization::serialize(Archive&, std::vector&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:133:
instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:144:
instantiated from âvoid boost::archive::detail::oserializer::save_object_data(boost::archive::detail::basic_oarchive&, const void*)
const [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
deneme.cpp:34: instantiated from here
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_cache.hpp:68: error:
no matching function for call to âassertion_failed(mpl_::failed************
boost::mpi::is_mpi_datatype >::************)â
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_oarchive.hpp: In
constructor
âboost::mpi::detail::mpi_datatype_oarchive::mpi_datatype_oarchive(const T&)
[with T = std::basic_string]â:
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_cache.hpp:75:
instantiated from âompi_datatype_t*
boost::mpi::detail::mpi_datatype_map::datatype(const T&, typename
boost::disable_if::type*)
[with T = std::basic_string]â
/boost/include/boost-1_37/boost/mpi/datatype.hpp:185: instantiated from
âompi_datatype_t* boost::mpi::get_mpi_datatype(const T&) [with T =
std::basic_string]â
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_primitive.hpp:96:
instantiated from âvoid
boost::mpi::detail::mpi_datatype_primitive::save(const T&) [with T =
std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:95:
instantiated from âstatic void
boost::archive::save_access::save_primitive(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:212:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::save_primitive::invoke(Archive&, const T&) [with Archive =
boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:294:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::invoke(Archive&,
const T&) [with Archive = boost::mpi::detail::content_oarchive, T =
std::basic_string]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:506:
instantiated from âvoid boost::archive::save(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T = std::basic_string]â
/boost/include/boost-1_37/boost/mpi/detail/ignore_skeleton_oarchive.hpp:46:
instantiated from âvoid
boost::mpi::detail::ignore_skeleton_oarchive<Archive>::save_override(const
T&, int) [with T = std::basic_string, Archive = boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/archive/detail/interface_oarchive.hpp:64:
instantiated from âArchive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T
= const std::basic_string]â
/boost/include/boost-1_37/boost/serialization/access.hpp:93: instantiated
from âstatic void boost::serialization::access::member_save(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
const boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/split_member.hpp:43:
instantiated from âstatic void
boost::serialization::detail::member_saver::invoke(Archive&,
const T&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, T = boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/split_member.hpp:69:
instantiated from âvoid boost::serialization::split_member(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/nvp.hpp:88: instantiated
from âvoid boost::serialization::nvp<T>::serialize(Archive&, unsigned int)
[with Archive = boost::mpi::detail::content_oarchive, T = const
std::basic_string]â
/boost/include/boost-1_37/boost/serialization/access.hpp:109: instantiated
from âstatic void boost::serialization::access::serialize(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:74:
instantiated from âvoid boost::serialization::serialize(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:133:
instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:220:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::save_only::invoke(Archive&, const T&) [with Archive =
boost::mpi::detail::content_oarchive, T = boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:294:
instantiated from âstatic void
boost::archive::detail::save_non_pointer_type::invoke(Archive&,
const T&) [with Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:506:
instantiated from âvoid boost::archive::save(Archive&, const T&) [with
Archive = boost::mpi::detail::content_oarchive, T =
boost::serialization::nvp >]â
/boost/include/boost-1_37/boost/mpi/detail/ignore_skeleton_oarchive.hpp:46:
instantiated from âvoid
boost::mpi::detail::ignore_skeleton_oarchive<Archive>::save_override(const
T&, int) [with T = boost::serialization::nvp >, Archive =
boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/archive/detail/interface_oarchive.hpp:64:
instantiated from âArchive&
boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T
= const boost::serialization::nvp >, Archive =
boost::mpi::detail::content_oarchive]â
/boost/include/boost-1_37/boost/serialization/collections_save_imp.hpp:60:
instantiated from âvoid boost::serialization::stl::save_collection(Archive&,
const Container&) [with Archive = boost::mpi::detail::content_oarchive,
Container = std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:53: instantiated
from âvoid boost::serialization::save(Archive&, const std::vector&, unsigned int, mpl_::false_) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:119: instantiated
from âvoid boost::serialization::save(Archive&, const std::vector&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/split_free.hpp:45:
instantiated from âstatic void boost::serialization::free_saver::invoke(Archive&, const T&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/split_free.hpp:74:
instantiated from âvoid boost::serialization::split_free(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/serialization/vector.hpp:139: instantiated
from âvoid boost::serialization::serialize(Archive&, std::vector&, unsigned int) [with Archive =
boost::mpi::detail::content_oarchive, U = std::basic_string, Allocator =
std::allocator >]â
/boost/include/boost-1_37/boost/serialization/serialization.hpp:133:
instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
/boost/include/boost-1_37/boost/archive/detail/oserializer.hpp:144:
instantiated from âvoid boost::archive::detail::oserializer::save_object_data(boost::archive::detail::basic_oarchive&, const void*)
const [with Archive = boost::mpi::detail::content_oarchive, T =
std::vector, std::allocator > >]â
deneme.cpp:34: instantiated from here
/boost/include/boost-1_37/boost/mpi/detail/mpi_datatype_oarchive.hpp:36:
error: no matching function for call to
âassertion_failed(mpl_::failed************
boost::mpi::is_mpi_datatype >::************)â
Separating structure from content