Opened 11 years ago

Closed 11 years ago

#37070 closed defect (fixed)

Octave-devel cannot activate hdf5 with mpich2

Reported by: numaryu Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: eborisch (Eric A. Borisch)
Port: octave-devel mpich2

Description

Octave-devel automatically deactivates hdf5 with WARNING saying HDF5 library not found when hdf5 is installed with +mpich2. The problem occurs because a compiler cannot find mpi.h, mpio.h on which (parallel) hdf5 library depends. mpi.h and mpio.h are not installed in the default search path, but in /opt/local/include/mpich2/.

I'm not sure what is the best way to resolve this problem. Maybe octave-devel port can avoid this problem by giving the -I/opt/local/include/mpich2 flag somewhere. Or, mpich2 port may change the place to install include files.

The same problem should also happen to octave port.

Attachments (1)

main.log (220.9 KB) - added by numaryu 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by numaryu

Attachment: main.log added

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: eborisch@… added
Owner: changed from macports-tickets@… to michaelld@…

Please remember to Cc the maintainer.

comment:2 Changed 11 years ago by eborisch (Eric A. Borisch)

I had moved the mpich2 includes in order to try to facilitate cohabitation with OpenMPI. (It doesn't currently work due to a man page collision; there's a ticket somewhere about that.

Perhaps no one really ever wants OpenMPI and mpich2 (soon to be mpich (v3.0), but that's another discussion) active at the same time.

I have moved the includes back to the default in r99921. See if that fixes things for you.

comment:3 in reply to:  2 Changed 11 years ago by numaryu

I have moved the includes back to the default in r99921. See if that fixes things for you.

It works fine for me. thanks,

comment:4 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.