Opened 12 years ago

Last modified 11 years ago

#38065 closed defect

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

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

Description (last modified by larryv (Lawrence Velázquez))

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 (1)

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: headers removed
Owner: changed from macports-tickets@… to mww@…

Thanks for the ticket. In the future, please Cc relevant port maintainers and use WikiFormatting to format the description.

Note: See TracTickets for help on using tickets.