From: rreddy@psc.edu (Raghu Reddy)
Newsgroups: comp.parallel.mpi
Subject: Use of MPI_Type_extent - Is this use inappropriate? -
    completed_c.c (0/1)
Date: Wed, 24 Feb 1999 22:23:01 GMT
Organization: Pittsburgh Supercomputing Center
Message-Id: <36d467d1.1585965137@news.psc.edu>
Xref: ukc comp.parallel.mpi:4671


Hi,

The attached code is an example code that was working fine before I
made some changes!  I thought the changes I made were reasonable, but
that causes the code to not to work!  Please see the comments in the
code for more information.

The qeustion I have is not so much how to fix the code.

The question is, is this not an appropriate use for MPI_Type_extent?  

I could fix the code by calculating the offsets using the address of
operator.

Thanks!

R. Reddy
rreddy@psc.edu

