You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to open-mpi#6120.
As mentioned in [1], it may be desirable to nevertheless get the hidden
MPI 1 prototypes, for users who know what they are doing, i.e., the tools
guys. @ggouaillardet mentioned in [2], that `-DOMPI_OMIT_MPI1_COMPAT_DECLS=0`
should work, but it does not, as than we only get redefinition warnings.
See [3].
[1] open-mpi#6120 (comment)
[2] open-mpi#6120 (comment)
[3] open-mpi#6120 (comment)
BWB Note: This patch was originally applied directly to v4.0.x in
73134ab, but now needs to be added to master, as we are keeping
the 4.x mpi1-compat behavior.
Signed-off-by: Bert Wesarg <[email protected]>
Signed-off-by: Brian Barrett <[email protected]>
Copy file name to clipboardExpand all lines: ompi/include/mpi.h.in
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -330,7 +330,9 @@
330
330
* Don't do MACRO magic for building Profiling library as it
331
331
* interferes with the above.
332
332
*/
333
-
# if (OMPI_ENABLE_MPI1_COMPAT||OMPI_BUILDING)
333
+
# if defined(OMPI_OMIT_MPI1_COMPAT_DECLS)
334
+
/* The user set OMPI_OMIT_MPI1_COMPAT_DECLS, do what he commands */
335
+
# elif (OMPI_ENABLE_MPI1_COMPAT||OMPI_BUILDING)
334
336
# defineOMPI_OMIT_MPI1_COMPAT_DECLS 0
335
337
# defineOMPI_REMOVED_USE_STATIC_ASSERT 0
336
338
# define__mpi_interface_removed__(func, newfunc) __mpi_interface_deprecated__(#func " was removed in MPI-3.0. Use " #newfunc " instead. continuing...")
0 commit comments