Bug#746955: it is not possible to build a serial version anymore

Sylvestre Ledru sylvestre at debian.org
Sun May 4 11:12:46 UTC 2014


severity 746955 normal
thanks

On 04/05/2014 11:52, Thorsten Alteholz wrote:
>
> some time ago there was a package libhdf5-serial-dev that I could use
> to build a serial version of package meep.
> Nowadays this package was replaced by libhdf5-dev and the description
> still says:
>  This package contains development files for serial platforms.
>
>
> Unfortunately there are these lines in /usr/include/H5pubconf.h
>   /* Define if we have parallel support */
>   #define H5_HAVE_PARALLEL 1
> which result in an error in /usr/include/H5public.h
>   #ifdef H5_HAVE_PARALLEL
>   #   define MPICH_SKIP_MPICXX 1
>   #   define OMPI_SKIP_MPICXX 1
>   #   include <mpi.h>
>   #ifndef MPI_FILE_NULL           /*MPIO may be defined in mpi.h
> already */
>   #   include <mpio.h>
>   #endif
>   #endif
> as there is no mpi.h available in a serial environment.
>
> So is this a bug or a feature and serial versions are no longer
> supported?

libhdf5-dev == libhdf5-serial-dev, is it just a renaming.

I think you are confusing with an other hdf5 packages, with the current
release, I get:
$ grep H5_HAVE_PARALLEL /usr/include/H5pubconf.h
/* #undef H5_HAVE_PARALLEL */

$ dpkg -l|grep hdf5-dev
ii  libhdf5-dev                                 
1.8.12+docs-1                  amd64        Hierarchical Data Format 5
(HDF5) - development files - serial version


Could you double check?

Sylvestre



More information about the Pkg-grass-devel mailing list