Newsgroups: comp.parallel.mpi
From: llewins@msmail4.hac.com (Lloyd J Lewins)
Subject: Re: passing a structure
Organization: Hughes Aerospace Electronics Co.
Date: Wed, 02 Nov 1994 10:37:59 -0800
Message-ID: <llewins-021194103759@x-147-16-96-30.es.hac.com>

In article <396gsu$qtd@newstand.syr.edu>, animesh@top.cis.syr.edu (Animesh
Chatterjee) wrote:

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

Look at section 3.12 Derived Datatypes (MPI Standard), in particular on
page 66: 

"MPI_TYPE_STRUCT is the most general type constructor. It further
generalizes the previous one (MPI_TYPE_HINDEXED) in that it allows each
block to consist of replications of different datatypes."

--------------------------------------------------------------------------
Lloyd J Lewins                                  Mail Stop: RE/R1/B507
GM Hughes Electronics                           P.O. Box 92426
                                                Los Angeles, CA 90009-2426
Email: llewins@msmail4.hac.com                  USA
Tel: 1 (310) 334-1145
Any opinions are not neccessarily mine, let alone my employers!!

