I've just installed 1.8.2, something is still wrong with HINDEXED_BLOCK datatypes.
Please note the example below, it should print "ni=2" but I'm getting "ni=7". $ cat type_hindexed_block.c #include <stdio.h> #include <mpi.h> int main(int argc, char *argv[]) { MPI_Datatype datatype; MPI_Aint disps[] = {0,2,4,6,8}; int ni,na,nd,combiner; MPI_Init(&argc, &argv); MPI_Type_create_hindexed_block(5, 2, disps, MPI_BYTE, &datatype); MPI_Type_get_envelope(datatype, &ni, &na, &nd, &combiner); printf("ni=%d na=%d nd=%d combiner=%d\n", ni, na, nd, combiner); MPI_Type_free(&datatype); MPI_Finalize(); return 0; } $ mpicc type_hindexed_block.c $ ./a.out ni=7 na=5 nd=1 combiner=18 -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459