Bug#983673: octave-openems: missing h5readatt_octave.cc
g.l. gragnani
gianluigi.gragnani at unige.it
Mon Mar 22 08:08:28 GMT 2021
I think the related octave library "h5readatt_octave.oct" is already
included in Debian package.
Just try to add to the octave path:
addpath
'/usr/lib/x86_64-linux-gnu/octave/packages/openems-0.0.35/x86_64-pc-linux-gnu-api-v55'
Regards.
G.L.G.
On Sun, 28 Feb 2021 11:20:50 +0100 Wolfgang Rosner <wrosner at tirnet.de>
wrote:
> Package: octave-openems
> Version: 0.0.35+dfsg.1-3
> Severity: normal
> Tags: d-i
>
> Installed openems and octave-openems
>
> tried tutorials to "check correct installation".
> failed at
> https://openems.de/index.php/Tutorial:_Rectangular_Waveguide.html
>
> - plot 3 is empty
> - seems to have trouble to set up hdf5
>
> digging down, I could find a "works for me workaround", but no patch yet
> dropping my findings here, just in case sbdy wants to pick up
>
>
> --------8<---------------------
> octave:35> setup
> setting up openEMS matlab/octave interface
> compiling oct files
> HDF5 library path found
> at: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so
/usr/lib/x86_64-linux-gnu/hdf5/openmpi
> HDF5 include path found at: /usr/include/hdf5/serial/hdf5.h
> /usr/include/hdf5/openmpi
> g++: error: h5readatt_octave.cc: Datei oder Verzeichnis nicht gefunden
> ------8<-----------------------------
>
> what I found:
>
> - issue not covered in recent unstable changelog
> - h5readatt_octave.cc is missing
> - maybe deliberately, since it does not work?
> - looks like the upstream "setup.m" does not get it right in debian
> ecosystem
> - I have both libhdf5-103:amd64 (aka 'serial') and
> libhdf5-openmpi-103:amd64 installed
> - trying to uninstall openmpi version pulls out octave-openems, too
>
> so I tried
>
> - pulled h5readatt_octave.cc from upstream source to try manual build
> - can build with
> mkoctfile -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
> -I/usr/include/hdf5/openmpi
> -I/usr/lib/x86_64-linux-gnu/openmpi/include -lhdf5 h5readatt_octave.cc
>
> - upstream "setup.m" appears just to include hdf5, not the
> /usr/lib/x86_64-linux-gnu/openmpi/include
>
> - .... and it does not run in the tutorial:
>
> ---8<---------------
> error: ReadHDF5Attribute:
> /usr/share/octave/packages/openems-0.0.35/h5readatt_octave.oct: failed
> to load: /usr/share/octave/packages/openems-0.0.35/h5readatt_octave.oct:
> undefined symbol: _ZN3MPI8Datatype4FreeEv
> ---8<---------------
>
--
Gian Luigi Gragnani
Diten - University of Genoa
Via Opera Pia 11A, 16145 Genova, Italy
phone: + 39 010 33 52756
More information about the debian-science-maintainers
mailing list