Re: [OMPI users] libmpi_cxx.so doesn't exist in lib path when installing 3.0.1

2018-04-08 Thread Jeff Hammond
On Sun, Apr 8, 2018 at 5:41 PM Ajith Subramanian  wrote:

> 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


> Regards,
> Ajith
>
> On Sun, Apr 8, 2018 at 6:00 PM, Gilles Gouaillardet 
> wrote:
>
>> 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>> 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
>>> > 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
>>> > 
>>> > ___
>>> > 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
>>> 
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>
>
> ___
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users

-- 
Jeff Hammond
jeff.scie...@gmail.com
http://jeffhammond.github.io/
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Re: [OMPI users] libmpi_cxx.so doesn't exist in lib path when installing 3.0.1

2018-04-08 Thread 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).

Regards,
Ajith

On Sun, Apr 8, 2018 at 6:00 PM, Gilles Gouaillardet 
wrote:

> 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>> 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
>> > 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
>> > 
>> > ___
>> > 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
>> 
>>
>>
>>
>>
>> ___
>> 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
>
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Re: [OMPI users] libmpi_cxx.so doesn't exist in lib path when installing 3.0.1

2018-04-08 Thread 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



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 > 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
> 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
> 
> ___
> 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





___
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

Re: [OMPI users] libmpi_cxx.so doesn't exist in lib path when installing 3.0.1

2018-04-08 Thread 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

On Sat, Apr 7, 2018 at 4:40 PM, Nathan Hjelm  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 
> 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
> > 
> > ___
> > 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
>
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Re: [OMPI users] libmpi_cxx.so doesn't exist in lib path when installing 3.0.1

2018-04-07 Thread 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

> On Apr 7, 2018, at 2:48 PM, Ajith Subramanian  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
> 
> ___
> 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