public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* libmpi_cxx.dll.a missing
@ 2018-08-28 17:45 Antonio Pio Rinaldi
  2018-08-28 20:31 ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Antonio Pio Rinaldi @ 2018-08-28 17:45 UTC (permalink / raw)
  To: cygwin

Hello,

while trying to compile a code with cmake (GNU compiler 7.4 and cmake 3.6, latest cygwin), I got an error regarding mpicxx not being able to locate the library -lmpi_cxx.
This was kind of weird, as I had installed the same code in another machine some time ago (with GNU compiler 6.4 and cmake 3.3, cygwin version 2.8) and did not have this issue.

Then by navigating to the cygwin lib folder, I noticed that the file libmpi_cxx.dll.a was missing in the latest version (although the package Libs/libopenmpicxx1 seems to be installed).

After copying the library file from the previous version I am able to correctly install my code.

I am not sure whether this is a bug, or if I have to set up something else to let cygwin install the mpicxx library.

Regards,
Antonio Pio Rinaldi
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libmpi_cxx.dll.a missing
  2018-08-28 17:45 libmpi_cxx.dll.a missing Antonio Pio Rinaldi
@ 2018-08-28 20:31 ` Marco Atzeri
  2018-08-29 12:26   ` Jon Turney
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2018-08-28 20:31 UTC (permalink / raw)
  To: cygwin

Am 28.08.2018 um 11:24 schrieb Antonio Pio Rinaldi:
> Hello,
>
> while trying to compile a code with cmake (GNU compiler 7.4 and cmake 3.6, latest cygwin), I got an error regarding mpicxx not being able to locate the library -lmpi_cxx.
> This was kind of weird, as I had installed the same code in another machine some time ago (with GNU compiler 6.4 and cmake 3.3, cygwin version 2.8) and did not have this issue.
>
> Then by navigating to the cygwin lib folder, I noticed that the file libmpi_cxx.dll.a was missing in the latest version (although the package Libs/libopenmpicxx1 seems to be installed).
>
> After copying the library file from the previous version I am able to correctly install my code.
>
> I am not sure whether this is a bug, or if I have to set up something else to let cygwin install the mpicxx library.
>
> Regards,
> Antonio Pio Rinaldi

The C++ interface was removed on the upstream version of OpenMPI.

https://blogs.cisco.com/performance/the-mpi-c-bindings-what-happened-and-why

The suggested solution is to use the C interface

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libmpi_cxx.dll.a missing
  2018-08-28 20:31 ` Marco Atzeri
@ 2018-08-29 12:26   ` Jon Turney
  2018-08-29 20:21     ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Turney @ 2018-08-29 12:26 UTC (permalink / raw)
  To: The Cygwin Mailing List

On 28/08/2018 12:12, Marco Atzeri wrote:
> Am 28.08.2018 um 11:24 schrieb Antonio Pio Rinaldi:
>> Hello,
>>
>> while trying to compile a code with cmake (GNU compiler 7.4 and cmake 
>> 3.6, latest cygwin), I got an error regarding mpicxx not being able to 
>> locate the library -lmpi_cxx.
>> This was kind of weird, as I had installed the same code in another 
>> machine some time ago (with GNU compiler 6.4 and cmake 3.3, cygwin 
>> version 2.8) and did not have this issue.
>>
>> Then by navigating to the cygwin lib folder, I noticed that the file 
>> libmpi_cxx.dll.a was missing in the latest version (although the 
>> package Libs/libopenmpicxx1 seems to be installed).
>>
>> After copying the library file from the previous version I am able to 
>> correctly install my code.
>>
>> I am not sure whether this is a bug, or if I have to set up something 
>> else to let cygwin install the mpicxx library.
>>
>> Regards,
>> Antonio Pio Rinaldi
> 
> The C++ interface was removed on the upstream version of OpenMPI.
> 
> https://blogs.cisco.com/performance/the-mpi-c-bindings-what-happened-and-why 
> 
> The suggested solution is to use the C interface

I believe OpenMPI now has a configuration option, --enable-mpi-cxx, 
which enables these deprecated interfaces to be built.

I was going to ask you if not using that was a deliberate choice, since 
this also breaks a meson test case.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libmpi_cxx.dll.a missing
  2018-08-29 12:26   ` Jon Turney
@ 2018-08-29 20:21     ` Marco Atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2018-08-29 20:21 UTC (permalink / raw)
  To: cygwin

Am 29.08.2018 um 13:15 schrieb Jon Turney:
> On 28/08/2018 12:12, Marco Atzeri wrote:
>> Am 28.08.2018 um 11:24 schrieb Antonio Pio Rinaldi:
>>> Hello,
>>>

>>
>> The C++ interface was removed on the upstream version of OpenMPI.
>>
>> https://blogs.cisco.com/performance/the-mpi-c-bindings-what-happened-and-why
>>
>> The suggested solution is to use the C interface
>
> I believe OpenMPI now has a configuration option, --enable-mpi-cxx,
> which enables these deprecated interfaces to be built.
>
> I was going to ask you if not using that was a deliberate choice, since
> this also breaks a meson test case.
>

I was thinking to remove on next release

/usr/bin/mpic++ -> opal_wrapper.exe
/usr/bin/mpicxx -> opal_wrapper.exe

because clearly make no sense to have them when the C++
interface is not anymore present.

This is a upstream inconsistency

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-29 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28 17:45 libmpi_cxx.dll.a missing Antonio Pio Rinaldi
2018-08-28 20:31 ` Marco Atzeri
2018-08-29 12:26   ` Jon Turney
2018-08-29 20:21     ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).