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] Open MPI C++ class datatype
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2010-08-04 00:25:35

Dear All:
I need to transfer some data, which is C++ class with some vector<float> member data.
I want to use MPI_Bcast(buffer, count, datatype, root, comm);
May I use MPI_Datatype to define customized data structure that contain C++ class ?
Any help is appreciated.
Aug 3 2010