[MacPorts] #38065: openmpi @1.6.3_0+gcc47+valgrind -- header locations not self-consistent

MacPorts noreply at macports.org
Thu Feb 14 13:46:13 PST 2013


#38065: openmpi @1.6.3_0+gcc47+valgrind -- header locations not self-consistent
----------------------------+-------------------
  Reporter:  beany_kelly@…  |      Owner:  mww@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.3
Resolution:                 |   Keywords:
      Port:  openmpi        |
----------------------------+-------------------
Changes (by larryv@…):

 * owner:  macports-tickets@… => mww@…
 * keywords:  headers =>


Old 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.

New 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.

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/38065#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list