Ajith,

Note the C++ bindings have not been removed yet from Open MPI.

You need to configure --enable-mpi-cxx in order to build them (this is no more the default option)


As Nathan pointed out, the C++ bindings will likely be removed from Open MPI 4, so you will have to modernize your code at some point in time.



On this mailing list, C++ users have previously pointed/recommended

 - boostMPI https://github.com/boostorg/mpi

- Elemental http://libelemental.org

Though these are not part of the MPI standard, these third party libraries provide C++ bindings.

And of course, using the C binding is a portable option that does not require any external dependencies.


Cheers,


Gilles



On 4/9/2018 2:48 AM, Ajith Subramanian wrote:
Thanks for the quick reply. One of the third-party packages we're using still depends on the C++ bindings, but I'll look to migrating them to the C bindings.

Ajith

On Sat, Apr 7, 2018 at 4:40 PM, Nathan Hjelm <hje...@me.com <mailto:hje...@me.com>> wrote:

    The MPI C++ bindings were depricated more than 10 years ago and
    were removed from the standard 6 years ago. They have been
    disabled by default for a couple of years in Open MPI. They will
    likely be removed in Open MPI 4.0. You should migrate your code to
    use the C bindings.

    -Nathan

    > On Apr 7, 2018, at 2:48 PM, Ajith Subramanian
    <ajith...@gmail.com <mailto:ajith...@gmail.com>> wrote:
    >
    > Hello,
    >
    > Installing version 3.0.1 using --prefix=/usr/local doesn't seem
    to place the libmpi_cxx.so library in /usr/local/lib. I've
    attached the requested output, in addition to ls.out which shows
    the existing libmpi* files in /usr/local/lib after install.
    >
    > The machine is running Ubuntu 13.10 LTS and a previous
    installation of OpenMPI 1.8.4 (which has now been uninstalled)
    does place libmpi_cxx.so in /usr/local/lib.
    >
    > Thanks,
    > Ajith
    > <ompi-output.tar.bz2>
    > _______________________________________________
    > users mailing list
    > users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>
    > https://lists.open-mpi.org/mailman/listinfo/users
    <https://lists.open-mpi.org/mailman/listinfo/users>
    _______________________________________________
    users mailing list
    users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>
    https://lists.open-mpi.org/mailman/listinfo/users
    <https://lists.open-mpi.org/mailman/listinfo/users>




_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to