LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Zubair Adamjee (zadamjee_at_[hidden])
Date: 2003-05-21 08:16:53


Hi,
I was wondering if you could guide me as to whats the
best way to pass an object of C++ class , using MPI. I
mean there are routines that are useful to get derived
datatypes but if one does not have an indepth
knowledge of the class or the class has many data
members which themselves are objects of other classes
and so on, then is there a way of directly passing
class objects.

A similar question was asked by Chien-Yu Chen on 30
Sep 2002,
http://www.lam-mpi.org/MailArchives/lam/msg04952.php
I do not have the email address to contact him so Chen
if you are reading this please respond, perhaps you
found some solution.
Many thanks,

Zubair

A similar question was posted before but no efficient
solution was suggested.

Hi!

  I have a general question that I don't seem to find
the correct example
to use.

most examples uses something like

struct {
  int a;
  float b;
}

to construct a new type...but I am trying to use some
type that's not
standard, ie, the ZZ type from ntl (an arbitrary long
integer)...
Can someone point me to an example with user defined
type? thanks

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca