LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: David Cronk (cronk_at_[hidden])
Date: 2004-10-20 13:36:58


Use a derived datatype. Look under MPI_TYPE_CREATE_STRUCT.

Hope this helps.

Dave.

ravin sachdeva wrote:
> hi,
>
> i am a beginner to lam and had a small query. can we send/recv an array
> of structures using lam in C/C++ codes ?... if yes , what kinda format
> is there for the MPI_Send and MPI_Recv calls, i mean what is to be
> written in place of the mpi data type's place ??
>
> Please clarify
>
> thanx
>
> _________________________________________________________________
> Cool ringtones, snazzy logos! Expressive cards, fun games!
> http://www.msn.co.in/Mobile/ Get it all at MSN mobile!
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
Dr. David Cronk, Ph.D.                             phone: (865) 974-3735
Research Leader                                    fax: (865) 974-8296
Innovative Computing Lab 
http://www.cs.utk.edu/~cronk
University of Tennessee, Knoxville