Opened 12 years ago
Closed 10 years ago
#37065 closed defect (fixed)
py27-netcdf4: 'mpi.h' file not found
Reported by: | freezingmariner@… | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | cooljeanius (Eric Gallager), petrrr, jswhit (Jeff Whitaker) | |
Port: | py27-netcdf4 |
Description
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>
Attachments (1)
Change History (8)
Changed 12 years ago by freezingmariner@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | error when installing py27-netcdf4: 'mpi.h' file not found → py27-netcdf4: 'mpi.h' file not found |
---|
There's no crash; the build merely fails.
comment:2 Changed 12 years ago 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?
comment:6 Changed 10 years ago by petrrr
Cc: | jswhit@… added; Peter.Danecek@… removed |
---|---|
Keywords: | mpi removed |
Owner: | changed from macports-tickets@… to sean@… |
Is this still an issue? Looks like this ticket was never correctly assigned.
To the reporter: please CC the maintainers of the port in future and only valid keywords.
comment:7 Changed 10 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was fixed by the introduction of the mpi portgroup; closing as fixed.
the complete install log file