On Fri, 29 Jan 2010 11:25:09 -0500, Richard Treumann <treumann_at_[hidden]> wrote:
> Any support for automatic serialization of C++ objects would need to be in
> some sophisticated utility that is not part of MPI. There may be such
> utilities but I do not think anyone who has been involved in the discussion
> knows of one you can use. I certainly do not.
C++ really doesn't offer sufficient type introspection to implement
something like this. Boost.MPI offers serialization for a few types
(e.g. some STL containers), but the general solution that you would like
just doesn't exist (you'd have to write special code for every type you
want to be able to operate on).
Python can do things like this, mpi4py can operate transparently on any
(pickleable) object, and also offers complete bindings to the low-level
MPI interface. CL-MPI (Common Lisp) can also do these things, but it's
much less mature than mpi4py.