#47336 closed defect (fixed)
py-tables: Port cannot find #include <mpi.h>
Reported by: | citibob@… | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | petrrr, gnurser (George Nurser) | |
Port: | py-tables |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The following "hack" to the Portfile got it to work for me (for the command port install py27-tables +gcc49)
compiler.cpath-append ${prefix}/include/openmpi-gcc49
I don't know how to do this right, so it would work for any supported compiler.
Change History (9)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | py27-tables removed |
Owner: | changed from macports-tickets@… to mmoll@… |
Summary: | Port cannot find #include <mpi.h> → py-tables: Port cannot find #include <mpi.h> |
comment:2 Changed 10 years ago by seanfarley (Sean Farley)
comment:3 Changed 10 years ago by mamoll (Mark Moll)
I cannot reproduce this. I installed hdf5+openmpi and then installed py34-tables without errors. Perhaps you had hdf5 installed without the +openmpi variant?
comment:5 follow-up: 6 Changed 9 years ago by petrrr
Cc: | gnurser@… added |
---|
Has duplicate #48789, adding reporter of the ticket.
comment:6 Changed 9 years ago by gnurser (George Nurser)
comment:7 follow-up: 8 Changed 9 years ago by seanfarley (Sean Farley)
Resolution: | → invalid |
---|---|
Status: | new → closed |
The fix is to build py-tables with the same mpi variant as hdf5. In your case, sudo port install py27-tables +gcc49 +openmpi
.
comment:8 Changed 9 years ago by gnurser (George Nurser)
Replying to sean@…:
The fix is to build py-tables with the same mpi variant as hdf5. In your case,
sudo port install py27-tables +gcc49 +openmpi
.
Tnanks; this now works fine.
comment:9 Changed 4 years ago by dstrubbe (David Strubbe)
Resolution: | invalid → fixed |
---|
Note: See
TracTickets for help on using
tickets.
I don't have the time to fully look into this now but the solution would be to use the mpi portgroup similar to how
py-mpi4py
does.