Subject: Including hdf5.h disables MPI C++ bindings
Package: libhdf5-openmpi-dev
Version: 1.8.9-1~exp3
Severity: normal
As reported in lp:1165504 [1] and discussed in bug 686926 [2],
including "hdf5.h" from the libhdf5-openmpi-dev package
completely disables the MPI C++ bindings. This leads to wei
> More practically, and more importantly, Octave users who are compiling
> extensions from within Octave are yet another step removed from both the
> compiler and the HDF5 library. They may not even be aware of HDF5 but
> the compilation and linking of their oct-file will be affected.
> Mkoctfile s
Hi Mike:
Sorry that you'll get this twice. The first time around I accidentally
replied only to you. Please read on for responses inline.
On Sun, Mar 31, 2013 at 4:08 PM, Mike Miller wrote:
> CC'ing pkg-octave-devel since this impacts Octave packaging as well.
Thanks.
The fix for this bug provided in 1.8.9-1~exp2 has cause me a good deal of
headache today.
For me, the issue is triggered as some C++ code containing:
#include// sets OMPI_SKIP_MPICXX 1
#include // MPI C++ namespace now is NOT available
Note that even trying to unset OMPI_SKIP_MPICXX before
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
5 matches
Mail list logo