Wednesday, October 1, 2014

Error: too many arguments to function 'H5Dcreate'

When trying to build Slurm on a system that has HDF5 prior to version 1.8, the compilation will fail with errors such as:
hdf5_api.c:2021: error: too many arguments to function 'H5Dcreate'
To fix it, please make the following modification to the slurm.spec file:

1. Un-tar the source file:
tar xvf XXXX.tar.bz2
2. Edit slurm.spec file:
vi slurm.spec
3. Locate %build and add the following at the end of the parameters:
--with-hdf5=no



No comments:

Post a Comment