serialization - MPI_Datatype for C++ container -


how can define mpi_datatypes , mpi_ops mpi communication routines can used c++ containers?

in specific case, i'd union (distributed) array of std::set<int>s using mpi_allreduce.

according related questions

it seems requires (un-)serializing container data. in case, size() of each std::set varies widely, , interested in solution not require padding (if possible).


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -