Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI devel] Bug in man page of MPI_Type_create_hindexed
From: Bastian Beischer (bastian.beischer_at_[hidden])
Date: 2014-04-16 07:55:06

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.


Bastian Beischer
RWTH Aachen University of Technology
@RWTH Aachen
Office: 28 C 203
Phone: +49-241-80-27205
E-mail: beischer_at_[hidden]
Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen
Office: Bdg 32-4-B12
Phone: +41-22-76-75750
E-mail: bastian.beischer_at_[hidden]
Address: CERN, CH-1211 Geneve 23