Discussion:
[OMPI users] libmpi_cxx.so doesn't exist in lib path when installing 3.0.1
Ajith Subramanian
2018-04-07 20:48:10 UTC
Permalink
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
Nathan Hjelm
2018-04-07 22:40:07 UTC
Permalink
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
Post by Ajith Subramanian
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
https://lists.open-mpi.org/mailman/listinfo/users
Ajith Subramanian
2018-04-08 17:48:06 UTC
Permalink
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
Post by Nathan Hjelm
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
Post by Ajith Subramanian
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.
Post by Ajith Subramanian
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.
Post by Ajith Subramanian
Thanks,
Ajith
<ompi-output.tar.bz2>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Gilles Gouaillardet
2018-04-09 00:00:31 UTC
Permalink
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
Post by Ajith Subramanian
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
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
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
https://lists.open-mpi.org/mailman/listinfo/users
<https://lists.open-mpi.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
<https://lists.open-mpi.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Ajith Subramanian
2018-04-09 00:38:15 UTC
Permalink
Gilles,

Thanks for the clarification. I did notice the option in the configure
script. I appreciate the information on the third party C++ bindings.

The library I'm using is VTK and they happen to still rely on C++ bindings
for their parallel I/O module (unless I'm mistaken here, but this seems to
be true as of 8.1.0).

Regards,
Ajith
Post by Gilles Gouaillardet
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
Post by Ajith Subramanian
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
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
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
https://lists.open-mpi.org/mailman/listinfo/users
<https://lists.open-mpi.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
<https://lists.open-mpi.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Jeff Hammond
2018-04-09 01:47:32 UTC
Permalink
Post by Ajith Subramanian
Gilles,
Thanks for the clarification. I did notice the option in the configure
script. I appreciate the information on the third party C++ bindings.
The library I'm using is VTK and they happen to still rely on C++ bindings
for their parallel I/O module (unless I'm mistaken here, but this seems to
be true as of 8.1.0).
A cursory inspection of VTK on GitHub indicates they are using the C
bindings now. I did not attempt to determine if/when they ever used the C++
ones in the past.

VTK does, however, wrap MPI C bindings in C++, so it may appear to end
users as if they are using C++ bindings.

Jeff
Post by Ajith Subramanian
Regards,
Ajith
Post by Gilles Gouaillardet
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
Post by Ajith Subramanian
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
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
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
https://lists.open-mpi.org/mailman/listinfo/users
<https://lists.open-mpi.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
<https://lists.open-mpi.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
--
Jeff Hammond
***@gmail.com
http://jeffhammond.github.io/
Loading...