Skip to content
Snippets Groups Projects
Commit 55babdff authored by Christoph Grüninger's avatar Christoph Grüninger Committed by Steffen Müthing
Browse files

Merge branch 'remove_mpi_type_hindexed_warning' into 'master'


feature/use MPI_Type_create_hindexed instead of MPI_Type_hindexed which is deprecated for MPI>=2

:)

See merge request !29
(cherry picked from commit dea4e7d0)

Signed-off-by: default avatarSteffen Müthing <muething@dune-project.org>
parent d6211205
No related branches found
No related tags found
No related merge requests found
......@@ -1012,9 +1012,8 @@ namespace Dune
// Create data type
MPI_Datatype* type = &( send ? messageTypes[process->first].first : messageTypes[process->first].second);
MPI_Type_hindexed(info.elements, info.length, info.displ,
MPITraits<typename CommPolicy<V>::IndexedType>::getType(),
type);
MPI_Type_create_hindexed(info.elements, info.length, info.displ,
MPITraits<typename CommPolicy<V>::IndexedType>::getType(), type);
MPI_Type_commit(type);
// Deallocate memory
info.free();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment