Re: Help needed with failing PPC build: cannot find MPI with openmpi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha <sanjay.ankur@xxxxxxxxx> wrote:
> 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?

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,
-- 
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux