[MacPorts] #37065: error when installing py27-netcdf4: 'mpi.h' file not found
#37065: error when installing py27-netcdf4: 'mpi.h' file not found -------------------------------+-------------------------------- Reporter: freezingmariner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mpi | Port: py27-netcdf4 -------------------------------+-------------------------------- The installation of py27-netcdf4 crashes due to an mpi issue. I have openmpi installed for all the dependent packages. i.e.: {{{ :debug:main openmpi 1.6.3_0 +gcc47+threads is active :debug:main netcdf 4.2.1.1_0 +dap+hdf4+netcdf4+openmpi is active :debug:main hdf5-18 1.8.9_2 +cxx+fortran+openmpi+szip+threadsafe is active }}} The installation gives the following error: {{{ :info:build clang: netCDF4.c :info:build In file included from netCDF4.c:274: :info:build /opt/local/include/H5public.h:61:13: fatal error: 'mpi.h' file not found :info:build # include <mpi.h> }}} -- Ticket URL: <https://trac.macports.org/ticket/37065> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37065: py27-netcdf4: 'mpi.h' file not found --------------------------------+-------------------------------- Reporter: freezingmariner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mpi Port: py27-netcdf4 | --------------------------------+-------------------------------- Comment (by ryandesign@…): There's no crash; the build merely fails. -- Ticket URL: <https://trac.macports.org/ticket/37065#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37065: py27-netcdf4: 'mpi.h' file not found --------------------------------+-------------------------------- Reporter: freezingmariner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mpi Port: py27-netcdf4 | --------------------------------+-------------------------------- Comment (by bernard.j.kelly@…): I see something similar in my attempts to compile code using OpenMPI. The codebase assumes that all relevant headers are in /opt/local/include. Instead, they're in /opt/local/include/openmpi (bad enough), or one of its many subdirectories. Why are they distributed like this? -- Ticket URL: <https://trac.macports.org/ticket/37065#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts