Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] MPI::WORLD_COMM.Send Complex class structure defined in boost::ptr_vector
From: Ivan Marin (ispmarin_at_[hidden])
Date: 2009-12-02 14:37:55

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 <goog_1259695724977> 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 (, 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
+55 16 3373 8270