Removed MPI constructs

OpenMPI

Posted by JXLIU on August 12, 2022

Removed MPI Constructs

Starting with v4.0.0, Open MPI — by default — removes the prototypes from mpi.h for MPI symbols that were deprecated in 1996 in the MPI-2.0 standard, and finally removed from the MPI-3.0 standard (2012).

Specifically, the following symbols (specified in the MPI language-neutral names) are no longer prototyped in mpi.h by default:

Selection_003

Although these symbols are no longer prototyped in mpi.h, they are still present in the MPI library in Open MPI v4.0.x. This enables legacy MPI applications to link and run successfully with Open MPI v4.0.x, even though they will fail to compile.

The Open MPI team strongly encourages all MPI application developers to stop using these constructs that were first deprecated over 20 years ago, and finally removed from the MPI specification in MPI-3.0 (in 2012). The FAQ items in this category show how to update your application to stop using these removed symbols.

All that being said, if you are unable to immediately update your application to stop using these removed MPI-1 symbols, you can re-enable them in mpi.h by configuring Open MPI with the –enable-mpi1-compatibility flag.

origin:FAQ: Removed MPI constructs