[MPICH] Passing class in C++ MPI

Pankaj Gupta pgupta at cs.ucf.edu
Thu Apr 20 13:06:23 CDT 2006

Hi All,
    I am trying to parallelize a distributed simulation written in C++ having several classes. After reading several books, online manuals, and this mailing list, I still could not figure out a way to pass the class data from node 0 to all the processors or vice-versa. I came across other possible approaches such as MPI_Pack/Unpack or creating a string of the class data. 

My question is: Is it possible to pass a classes in C++ MPI (MPICH)? Any example, suggestions, or alternative approach will really help me.

I am using MPICH 1.2.6 under Debian-run beowulf cluster.

Any help is sincerely appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20060420/944b390b/attachment.htm>

More information about the mpich-discuss mailing list