Bug#686926: liboctave-dev: creates broken .oct files when the OpenMPI flavor of HDF5 (libhdf5-openmpi-dev) is installed

Bradley M. Froehle brad.froehle at gmail.com
Sat Mar 30 20:58:42 UTC 2013


I've looked into this bug a bit today and I'd suggest that instead the
`mkoctfile-mpi.diff` patch in src:octave (from bug #598227) be modified to
be something more like:

-: ${XTRA_CXXFLAGS=%OCTAVE_CONF_XTRA_CXXFLAGS%}
+: ${XTRA_CXXFLAGS=-I/usr/include/mpi -DOMPI_SKIP_MPICXX=1
-DMPICH_SKIP_MPICXX=1 %OCTAVE_CONF_XTRA_CXXFLAGS%}

That would contain the bug fix to Octave (which is the only place where the
bug seems to have surfaced).

Normally this is not an issue --- a developer would use mpicc or mpicxx to
do the compilation
and linking and this would automatically ensure that the correct mpi
libraries are used.  Octave
is broken because it is using g++ and hacking in the MPI include directory
without following it
up with the necessary link flags.

Cheers,
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20130330/c41b690d/attachment.html>


More information about the Pkg-grass-devel mailing list