Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42460 closed defect (fixed)

gnudatalanguage fails to build

Reported by: pclaplante@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: tenomoto (Takeshi Enomoto)
Port: gnudatalanguage

Description

When I try to install gnudatalanguage, the build fails. I am running Mavericks 10.9.1. Inspecting the log file says that the error is that it cannot find openmpi from hdf5:

:info:build In file included from /opt/local/include/hdf5.h:24:
:info:build /opt/local/include/H5public.h:61:13: fatal error: 'mpi.h' file not found
:info:build #   include <mpi.h>
:info:build             ^

I have hdf5-18 installed with the +openmpi variant, which I would like to keep for other applications. I think the problem stems from the fact that openmpi include files are in the /opt/local/include/openmpi-mp/ subdirectory. Is there some work around for this?

Attachments (1)

main.log (318.9 KB) - added by pclaplante@… 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by pclaplante@…

Attachment: main.log added

comment:1 Changed 10 years ago by seanfarley (Sean Farley)

Owner: changed from macports-tickets@… to takeshi@…

Looks like the port needs to be updated to use the mpi port group. I can try to help if takeshi would like.

comment:2 Changed 10 years ago by tenomoto (Takeshi Enomoto)

Sean,

I need your help. gnudatalanguage does not build with hdf5-18 +openmpi. Setting

mpi.setup                   -openmpi -openmpi_devel

does not seem to be enough to stop port configure +openmpi.

Takeshi

comment:3 Changed 10 years ago by seanfarley (Sean Farley)

Owner: changed from takeshi@… to sean@…
Status: newassigned

This is curious. So, mpi.setup takes out the openmpi variants from gnudatalanguage so it ignores +openmpi. netcdf-cxx, hdf5-18, and other mpi ports, however, see +openmpi and try to use that. I think the easiest thing to do here is exit early and warn the user about the incompatibility. I'll see if I can get that to work.

comment:4 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Fixed in r121954.

comment:5 Changed 10 years ago by seanfarley (Sean Farley)

Thanks for finding this Takeshi!

comment:6 Changed 10 years ago by tenomoto (Takeshi Enomoto)

Sean, thank you for fixing PortGroup mpi.

Note: See TracTickets for help on using tickets.