1
1
openmpi/ompi/mpi
Nathan Hjelm c4c69b4ddf MPI-3: add support for large counts using derived datatypes
Add support for MPI_Count type and MPI_COUNT datatype and add the required
MPI-3 functions MPI_Get_elements_x, MPI_Status_set_elements_x,
MPI_Type_get_extent_x, MPI_Type_get_true_extent_x, and MPI_Type_size_x.
This commit adds only the C bindings. Fortran bindins will be added in
another commit. For now the MPI_Count type is define to have the same size
as MPI_Offset. The type is required to be at least as large as MPI_Offset
and MPI_Aint. The type was initially intended to be a ssize_t (if it was
the same size as a long long) but there were issues compiling romio with
that definition (despite the inclusion of stddef.h).

I updated the datatype engine to use size_t instead of uint32_t to support
large datatypes. This will require some review to make sure that 1) the
changes are beneficial, 2) nothing was broken by the change (I doubt
anything was), and 3) there are no performance regressions due to this
change.

Increase the maximum number of predifined datatypes to support MPI_Count

Put common get_elements code to ompi/datatype/ompi_datatype_get_elements.c

Update MPI_Get_count to reflect changes in MPI-3 (return MPI_UNDEFINED when the count is too large for an int)

This commit was SVN r28932.
2013-07-23 15:35:14 +00:00
..
c MPI-3: add support for large counts using derived datatypes 2013-07-23 15:35:14 +00:00
cxx Revert r28544: the original code was fine. 2013-05-21 16:06:08 +00:00
fortran Use the converted value instead of calling the macro again. 2013-07-02 11:33:18 +00:00
java Remove all remaining vestiges of the Windows integration 2013-02-28 17:31:47 +00:00
man/man3 MPI-3: add support for large counts using derived datatypes 2013-07-23 15:35:14 +00:00
tool mpit: fix behavior when returning strings 2013-07-16 16:03:48 +00:00
help-mpi-api.txt LANL noticed that calling MPI_ABORT invokes opal_output(0, ...) 2008-10-14 19:23:03 +00:00
Makefile.am Remove all remaining vestiges of the Windows integration 2013-02-28 17:31:47 +00:00