#38065: openmpi @1.6.3_0+gcc47+valgrind -- header locations not self-consistent ---------------------------+-------------------------------- Reporter: beany_kelly@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: headers | Port: openmpi ---------------------------+-------------------------------- 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: /opt/local/include/mpi.h:2087:41: fatal error: openmpi/ompi/mpi/cxx/mpicxx.h: No such file or directory 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): openmpi/openmpi/ompi/mpi/cxx/mpicxx.h 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/". I can fix this path by hand, of course, but then the same error crops up again with another path ... I've tried a clean port uninstall and new installation, but no change. -- Ticket URL: <https://trac.macports.org/ticket/38065> MacPorts <http://www.macports.org/> Ports system for Mac OS