[MacPorts] #45911: py27-h5py @2.3.1_1 built against parallel HDF5 can't find mpi.h

MacPorts noreply at macports.org
Fri Jul 31 10:52:11 PDT 2015


#45911: py27-h5py @2.3.1_1 built against parallel HDF5 can't find mpi.h
---------------------------------------+--------------------------------
  Reporter:  willic3@…                 |      Owner:  macports-tickets@…
      Type:  defect                    |     Status:  closed
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.3.2
Resolution:  duplicate                 |   Keywords:
      Port:  py27-h5py, openmpi-gcc48  |
---------------------------------------+--------------------------------

Comment (by petr@…):

 Okay, I have play with this a bit and here are some observation:

 1. `configure.cc mpicc` the port compiles against a parallel version

 Obviously, this is not a real solution as `/opt/local/bin/mpicc` is
 created by port select and there is not simple way to make this
 reproducible. You would need to discover which is actually the hdf5
 variant to pick the correct wrapper. Does not look very attractive.

 2. `configure.cc h5pcc` get's pretty far, but fails when the *.so files
 are to be created. This because the `-undefined dynamic_lookup` flag is
 not accepted by `h5pcc`. For the rest h5pcc seems to work. However, there
 is also the issue that for a serial hdf5 there is a `h5cc` wrapper, while
 for a parallel hdf5 there there is only a `h5pcc` wrapper.

-- 
Ticket URL: <https://trac.macports.org/ticket/45911#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list