Changes between Initial Version and Version 1 of Ticket #38065


Ignore:
Timestamp:
Feb 14, 2013, 9:46:13 PM (11 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38065

    • Property Owner changed from macports-tickets@… to mww@…
    • Property Keywords headers removed
  • Ticket #38065 – Description

    initial v1  
    11I 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:
    22
     3{{{
    34/opt/local/include/mpi.h:2087:41: fatal error: openmpi/ompi/mpi/cxx/mpicxx.h: No such file or directory
     5}}}
    46
    57The 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):
    68
     9{{{
    710openmpi/openmpi/ompi/mpi/cxx/mpicxx.h
     11}}}
    812
    913I 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/".