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)

main.log (65.2 KB) - added by freezingmariner@… 12 years ago.
the complete install log file

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by freezingmariner@…

Attachment: main.log added

the complete install log file

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: error when installing py27-netcdf4: 'mpi.h' file not foundpy27-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:3 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

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: newclosed

This was fixed by the introduction of the mpi portgroup; closing as fixed.

Note: See TracTickets for help on using tickets.