boost.MPI is probably your best bet. They export some nice C++ functionality through MPI.
On Dec 2, 2009, at 2:37 PM, Ivan Marin wrote: > Hello all, > > I'm developing an groundwater simulation application that will use openmpi to > distribute the data and solve a linear system. The problem is that my primary > data structure is composed of a base class and derived classes, and they are > inserted in a boost ptr_vector, as they are of different class types, with > inheritance and pointers to other members of the vector. I would like to pass > parts of this vector to the processes, to build locally the matrix, but I > don't know how to do it. I followed the discussion on this thread > (http://www.open-mpi.org/community/lists/users/2009/07/9852.php), and the > route to use boost.MPI the only way out? > > I can provide the class template, if this would help. I'm using openmpi 1.3.3 > on debian sid amd64. > > Ivan Marin > > Laboratório de Hidráulica Computacional - LHC > Departamento de Hidráulica e Saneamento - SHS > Escola de Engenharia de São Carlos - EESC > Universidade de São Paulo - USP > > http://albatroz.shs.eesc.usp.br > +55 16 3373 8270 > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users -- Jeff Squyres jsquy...@cisco.com