On Sat, Sep 14, 2019 15:37:22 -0600, Orion Poplawski wrote:
> On 9/14/19 2:08 PM, Jerry James wrote:
>> On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha <sanjay.ankur(a)gmail.com>
wrote:
>>> Hello,
> <snip>
>>
>> The C++ headers are missing on ppc64le. On other architectures, they
>> are in /usr/include/openmpi-<arch>/openmpi/ompi/mpi/cxx. The cxx
>> subdirectory does not exist in the ppc64le build. Indeed, if you look
>> at build.log from the latest openmpi build on ppc64le, you'll find
>> this line:
>>
>> checking if want C++ bindings... no
>>
>> You might want to contact the openmpi package maintainers to find out
>> if that is deliberate or an accident.
>>
>> Regards,
>>
>
> Indeed, this was deliberate, but should have been reverted long ago:
>
> commit 9f7f02128769699d51527f6c67f42885c2db8648
> Author: Dan Horák <dan(a)danny.cz>
> Date: Thu Oct 27 09:15:40 2016 +0200
>
> - Temporarily disable C++ bindings on ppc64/ppc64le (#1388561)
>
>
https://bugzilla.redhat.com/show_bug.cgi?id=1388561
>
https://github.com/open-mpi/ompi/issues/2055#issuecomment-256487077
>
> I'm working on getting this fixed at least in rawhide.
Thanks Orion, Jerry. I'll keep an eye out for the fix and then retry the
build.
Out of curiosity: shouldn't this have affected all tools using OpenMPI
C++ bindings? NEST, for example built fine even on ppc:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1362315
Build log:
https://kojipkgs.fedoraproject.org//packages/nest/2.18.0/5.fc32/data/logs...
I see that it found mpicxx, but not headers etc. However, that didn't
cause the build to fail (line #2439).
I have no idea as I really don't know exactly what --enable-mpi-cxx does. I
was surprised that it didn't appear to affect more packages.
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301