MPI_Type_struct(3)         (11/1/1994)         MPI_Type_struct(3)



     NAME
          MPI_Type_struct - Creates a struct datatype


     INPUT PARAMETERS
          count
               - number of blocks (integer) -- also number of entries
               in arrays array_of_types , array_of_displacements  and
               array_of_blocklengths
          blocklens
               - number of elements in each block (array)
          indices
               - byte displacement of each block (array)
          old_types
               - type of elements in each block (array of handles to
               datatype objects)


     OUTPUT PARAMETER
          newtype
               - new datatype (handle)

     SYNOPSIS
          #include "mpi.h"
          int MPI_Type_struct( count, blocklens, indices, old_types, newtype )
          int           count;
          int        blocklens[];
          MPI_Aint      indices[];
          MPI_Datatype  old_types[];
          MPI_Datatype *newtype;



     LOCATION
           type_struct.c




















     Page 1                                           (printed 3/8/95)