[MacPorts] #51902: gnudatalanguage @0.9.6 build error
#51902: gnudatalanguage @0.9.6 build error --------------------------+-------------------------------- Reporter: majoc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: hdf5 openmpi | Port: gudatalanguage --------------------------+-------------------------------- Port hdf5 @1.10.0_1+cxx+fortran+gcc5+hl+openmpi present and active, but build fails with: {{{ /opt/local/include/H5public.h:61:13: fatal error: 'mpi.h' file not found }}} Please see enclosed build log for 10.11 (10.10 has an exactly similar build error). This appears to be a different problem from Trac #51865, for which thanks. I've seen failures of the above form with other ports in our build set, for which the usual fix is to add +openmpi, or in one instance +openmp; but attempting to install gnudatalanguage with +openmp yields conflicts between other packages and gcc44. Thanks in advance. Do please let me know if you require more information. Apologies for terseness and typos: shredded-fingers error. -- Ticket URL: <https://trac.macports.org/ticket/51902> MacPorts <https://www.macports.org/> Ports system for OS X
#51902: gnudatalanguage @0.9.6 build error ------------------------------+-------------------------- Reporter: majoc@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: hdf5 openmpi Port: gnudatalanguage | ------------------------------+-------------------------- Changes (by ryandesign@…): * cc: takeshi@… (removed) * owner: macports-tickets@… => takeshi@… * port: gudatalanguage => gnudatalanguage -- Ticket URL: <https://trac.macports.org/ticket/51902#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51902: gnudatalanguage @0.9.6 build error ------------------------------+-------------------------- Reporter: majoc@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: wontfix | Keywords: hdf5 openmpi Port: gnudatalanguage | ------------------------------+-------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => wontfix Comment: {{{openmpi}}} is disabled because it is not supported. I tried but I still have build errors. You should be able to install gdl without MPI or with MPICH. {{{ $ port info gnudatalanguage @0.9.6 (math, science) Variants: clang33, clang34, clang35, clang36, clang37, clang38, clang39, debug, gcc44, gcc45, gcc46, gcc47, gcc48, gcc49, gcc5, gcc6, gcc7, gshhs, llvm, mpich, mpich_devel, openmp, python25, python26, python27, universal, wxWidgets }}} Portfile: {{{ mpi.setup -openmpi -openmpi_devel -dragonegg }}} -- Ticket URL: <https://trac.macports.org/ticket/51902#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51902: gnudatalanguage @0.9.6 build error ------------------------------+-------------------------- Reporter: majoc@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: wontfix | Keywords: hdf5 openmpi Port: gnudatalanguage | ------------------------------+-------------------------- Comment (by majoc@…): Replying to [comment:2 takeshi@…]:
{{{openmpi}}} is disabled because it is not supported. I tried but I still have build errors. You should be able to install gdl without MPI or with MPICH.
I tried and failed with MPICH: there's some incompatibility with our OpenMPI-oriented build set which I frankly didn't understand. We found a workaround which keeps faith with the remainder of our setup: {{{ port select --set mpi openmpi-gcc5-fortran }}} .... (immediately after {{{port install openmpi-gcc5 +fortran}}} in the build sequence) causes the correct {{{mpi.h}}} to be found by the GDL build, which then succeeds. Hope this helps. Apologies for not replying earlier. -- Ticket URL: <https://trac.macports.org/ticket/51902#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51902: gnudatalanguage @0.9.6 build error ------------------------------+-------------------------- Reporter: majoc@… | Owner: takeshi@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: hdf5 openmpi Port: gnudatalanguage | ------------------------------+-------------------------- Changes (by takeshi@…): * status: closed => reopened * resolution: wontfix => -- Ticket URL: <https://trac.macports.org/ticket/51902#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51902: gnudatalanguage @0.9.6 build error ------------------------------+-------------------------- Reporter: majoc@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: hdf5 openmpi Port: gnudatalanguage | ------------------------------+-------------------------- Changes (by takeshi@…): * status: reopened => closed * resolution: => fixed Comment: Your workaround probably does not enable the compiliation of {{{gdl-0.9.6/src/mpi.cpp}}} although it resolve the the problem with {{{mpi.h}}}. Motivated by your feedback, I investigated the build process and source. {{{MPI_C_COMPILER}}} and {{{MPI_CXX_COMPILER}}} rather than {{{MPI_COMPILER}}} have to be set. With a little patch, I was able to compile {{{gdl-0.9.6/src/mpi.cpp}}} with OpenMPI. Done in r150944. -- Ticket URL: <https://trac.macports.org/ticket/51902#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts