Dear all,

In open-mpi version 1.8 the man page of MPI_Type_create_hindexed gives this
declaration of the function:

int MPI_Type_create_hindexed(int count, const int array_of_blocklengths[],
    const int array_of_displacements[], MPI_Datatype oldtype,
    MPI_Datatype *newtype)

However I think the array_of_displacements should be of type MPI_Aint?

This was relevant to me because I wanted to create a datatype with large
offsets > INT_MAX and I didn't know I could use MPI_Type_create_hindexed
until a colleague pointed me to the MPI standard which says that the
displacements are of type MPI_Aint.

Cheers
Bastian

-- 
Bastian Beischer
RWTH Aachen University of Technology

@RWTH Aachen
Office: 28 C 203
Phone: +49-241-80-27205
E-mail: beisc...@physik.rwth-aachen.de
Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen

@CERN
Office: Bdg 32-4-B12
Phone: +41-22-76-75750
E-mail: bastian.beisc...@cern.ch
Address: CERN, CH-1211 Geneve 23

Reply via email to