Changes between Initial Version and Version 1 of Ticket #38065
- Timestamp:
- Feb 14, 2013, 9:46:13 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38065
- Property Owner changed from macports-tickets@… to mww@…
- Property Keywords headers removed
-
Ticket #38065 – Description
initial v1 1 1 I have a Mountain Lion system (10.8.2) with an up-to-date MacPorts installation. I've installed OpenMPI as above (+gcc47 +valgrind), but I'm having trouble compiling parallel code with it, because the headers aren't where the system expects. Here's a sample error from the compiler: 2 2 3 {{{ 3 4 /opt/local/include/mpi.h:2087:41: fatal error: openmpi/ompi/mpi/cxx/mpicxx.h: No such file or directory 5 }}} 4 6 5 7 The problem is that apart from mpi.h itself, all the headers are buried deep down, one layer feeper than mpi.h indicates. For instance, mpicxx.h is *actually* in (relative to /opt/local/include): 6 8 9 {{{ 7 10 openmpi/openmpi/ompi/mpi/cxx/mpicxx.h 11 }}} 8 12 9 13 I don't know why so much nesting is needed to begin with, but it looks like the path on line 2087 of mpi.h is out by one "openmpi/".