Newsgroups: comp.parallel.mpi
From: Lars Rzymianowicz <lr@mufasa.informatik.uni-mannheim.de>
Subject: Re: Help: MPI_TYPE_STRUCT and MPI_TYPE_VECTOR
Organization: Dept. of Computer Science, University of Mannheim, Germany
Date: Fri, 29 May 1998 08:34:36 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <356E56FC.A33978A@mufasa.informatik.uni-mannheim.de>

Ted Sariyski wrote:
> ...I have to pack slices of several arrays. One natural approach
> seems to be to define user types with MPI_TYPE_VECTOR and pack them
> defining a new type with MPI_TYPE_STRUCT...
> ...but when trying to create new type consisting of vector-type
> structures I get:
> 
> 1 - MPI_RECV : Message truncated
> p1_30689:  p4_error: : 14
> rm_l_1_30690:  p4_error: interrupt SIGINT: 2

Hmm, difficult to figure out, what has happened. Please post the code,
where you build the new type, and the related MPI calls. Looks like a
Receive gets a message with more data than the 'maxcount' parameter
allows...

Lars

-- 
email: lr@mufasa.informatik.uni-mannheim.de
Homepage: http://mufasa.informatik.uni-mannheim.de/lsra/persons/lars/

