Newsgroups: comp.parallel.mpi
From: pvb1@Ra.MsState.Edu (Purushotham V. Bangalore)
Subject: Re: passing a structure
Organization: Mississippi State University
Date: 2 Nov 1994 08:34:08 -0600
Message-ID: <pvb1.783786589@Ra.MsState.Edu>

animesh@top.cis.syr.edu (Animesh Chatterjee) writes:

>I need to send a structure which contains both integer and float type members.
>How can I do this in MPI?

You can either use the MPI datatype MPI_FLOAT_INT or create your own
datatype. There is an example on page 116 of the MPI standard document.

-----------------------------------------------------------------------
Puri                                                puri@cs.msstate.edu

