Opened 11 years ago

Last modified 10 years ago

#38065 closed defect

openmpi @1.6.3_0+gcc47+valgrind -- header locations not self-consistent — at Initial Version

Reported by: beany_kelly@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: openmpi

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.