[DebianGIS-dev] How to use libhdf5-serial-dev and -mpi/-lam friends correctly?

Francesco P. Lovergine frankie at debian.org
Mon Oct 18 21:03:00 UTC 2010


On Sun, Oct 03, 2010 at 11:40:41AM +0200, Thomas Weber wrote:
> Hi, 
> 
> [Please CC me, I'm not subscribed].
> 
> I'm currently faced with #598227, 
> http://bugs.debian.org/598227
> which concerns the way Octave uses hdf5 and its header files (or rather,
> how hdf5 includes mpi.h). Please read the bug report for information,
> it's presented there far better than I could formulate it.
> 
> Background information:
> The preferred way to build binary 'extensions' or 'plugins' for Octave
> is using the mkoctfile shell script. I'm not aware of any software in
> Debian that does not use mkoctfile for building such extension.
> 
> Now, I could fix the above bug by hacking mkoctfile, but somehow this
> looks like the wrong solution to me. If I include hdf.h, do I really
> have to care about mpi which may or may not be used?
> 
> So, are there better solutions than adding /usr/include/mpi/ to
> mkoctfile's include flags?
> 


I see no reasons why mpi.h has to be included but for the case you
are using one of the -mpi flavors. In that case you should depend
on libhdf5-mpi-dev. I don't undestand why you are trying to use
both -serial and -parallel flavors.


-- 
Francesco P. Lovergine



More information about the Pkg-octave-devel mailing list