Newsgroups: comp.parallel.mpi
From: supalov@lindengmd.de (Alexander Supalov)
Subject: MPI indexed datatype
Keywords: MPI, datatype, indexed
Organization: GMD/SCAI.NUM
Date: 23 Sep 1996 11:28:57 GMT
Message-ID: <525s9p$4ng@omega.gmd.de>

Hi, guys,

There's one more question:

I have an array in compressed format. For some temporary
reason, I need to expand it into another form, but I hate
receiving it in a buffer and copying, etc.

I would happily use MPI_TYPE_INDEXED to construct the
corresponding data type. Alas, the MPI interface requires
an additional ARRAY_OF_BLOCKLENGTHS, which is likely
to be all 1's in my case.

Does anybody know will the gods give us humble guys a
simplified MPI_SIMPLE_INDEXED of the form:

MPI_TYPE_SIMPLE_INDEXED(count,block_size,
  array_of_displacements,oldtype,newtype)

in MPI-2? Here, block_size is an integer size of any block.

Cheerio.

Alexander

Dr. Alexander Supalov
GMD  -- German National Research Center for Information Technology
SCAI -- Institute for Algorithms and Scientific Computing
Schloss Birlinghoven                    phone:  +49 2241 14 2371
53754 Sankt Augustin                    fax:    +49 2241 14 2102
Germany                                 e-mail: supalov@gmd.de

