Skip to content

Commit 6de263f

Browse files
committed
Revert "mpi: make C++ bindings compile when MPI-1 compat is disabled"
This reverts commit b323655. Signed-off-by: Geoffrey Paulsen <[email protected]>
1 parent 7c3aeb3 commit 6de263f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ompi/mpi/cxx/mpicxx.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,10 @@ const char*** ARGVS_NULL = (const char***) MPI_ARGVS_NULL;
163163
// empty group
164164
const Group GROUP_EMPTY(MPI_GROUP_EMPTY);
165165

166+
#if OMPI_ENABLE_MPI1_COMPAT
167+
// special datatypes for contstruction of derived datatypes
168+
const Datatype UB(MPI_UB);
169+
const Datatype LB(MPI_LB);
170+
#endif
171+
166172
} /* namespace MPI */

0 commit comments

Comments
 (0)