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/p…
I see that it found mpicxx, but not headers etc. However, that didn't
cause the build to fail (line #2439).
--
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London
Hello,
A tool I am trying to package is failing only on PPC somehow:
https://bugzilla.redhat.com/show_bug.cgi?id=1731487
> make[2]: Leaving directory '/builddir/build/BUILD/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb-openmpi/src'
> BUILDSTDERR: error.cc: In function 'void MUSIC::error()':
> BUILDSTDERR: error.cc:36:5: error: 'MPI' has not been declared
> BUILDSTDERR: 36 | MPI::COMM_WORLD.Abort (1);
> BUILDSTDERR: | ^~~
> BUILDSTDERR: error.cc: In function 'int MUSIC::getRank()':
> BUILDSTDERR: error.cc:70:9: error: 'MPI' has not been declared
> BUILDSTDERR: 70 | if (MPI::Is_initialized ())
> BUILDSTDERR: | ^~~
> BUILDSTDERR: error.cc:71:14: error: 'MPI' has not been declared
> BUILDSTDERR: 71 | return MPI::COMM_WORLD.Get_rank ();
> BUILDSTDERR: | ^~~
> BUILDSTDERR: make[2]: *** [Makefile:739: libmusic_la-error.lo] Error 1
On all other arches, it builds just fine, so there's something different
with the openmpi package on ppc here. Any ideas?
--
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London