You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried your suggestion from #164 just now, and am getting the following error.
checking for HDF5 libraries... yes (version )
checking hdf5.h usability... no
checking hdf5.h presence... no
checking for hdf5.h... no
checking for H5Fcreate in -lhdf5... no
configure: WARNING: Unable to compile HDF5 test program
checking for hdf5_hl.h... no
checking for H5LTpath_valid in -lhdf5_hl... no
configure: WARNING: Unable to compile HDF5_HL test program
checking for main in -lhdf5_hl... no
checking for matching HDF5 Fortran wrapper... no
Found hdf5 with version:
configure: error: The version of hdf5 installed on your system is not sufficient. Please ensure that at least version 1.8.13 is installed
ERROR: configuration failed for package ‘hdf5r’
I think the issue is that something about the r-hdf5r package checking for hdf5 package version isn't quite right, but I am having issues tracing down where that check occurs, and how r-hdf5r goes about it.
Found hdf5 with version:
That line without a specific version of hdf5 that it found makes me think that something about the check is the issue, rather than not actually having a working hdf5 dependency?
I omitted the full path as its pretty long, but I have confirmed that the h5pcc file is indeed present.
If you can assist me in determining why this error keeps occuring, I will update the spack package with the correct configuration. The default spack package doesn't include the +hl dependency for hdf5 you recommended in that previous closed issue, is that required? Below is the spec output from spack:
class RHdf5r(RPackage):
"""Interface to the 'HDF5' Binary Data Format
'HDF5' is a data model, library and file format for storing and managing
large amounts of data. This package provides a nearly feature complete,
object oriented wrapper for the 'HDF5' API
<https://support.hdfgroup.org/HDF5/doc/RM/RM_H5Front.html> using R6
classes. Additionally, functionality is added so that 'HDF5' objects behave
very similar to their corresponding R counterparts."""
homepage = "https://hhoeflin.github.io/hdf5r"
url = "https://cloud.r-project.org/src/contrib/hdf5r_1.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/hdf5r"
version('1.3.3', sha256='a0f83cbf21563e81dbd1a1bd8379623ed0c9c4df4e094c75013abfd7a5271545')
version('1.2.0', sha256='58813e334fd3f9040038345a7186e5cb02090898883ac192477a76a5b8b4fe81')
depends_on('[email protected]:', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
depends_on('r-bit64', type=('build', 'run'))
depends_on('[email protected]:')
def configure_args(self):
if 'mpi' in self.spec:
args = [
'--with-hdf5={0}/h5pcc'.format(self.spec['hdf5'].prefix.bin),
]
else:
args = [
'--with-hdf5={0}/h5cc'.format(self.spec['hdf5'].prefix.bin),
]
return args
The spack package includes options for including the path to hdf5 provided h5pcc file for --with-hdf5=PATH, but something about that isn't working at the moment.
checking for HDF5 libraries... yes (version )
checking hdf5.h usability... no
checking hdf5.h presence... no
checking for hdf5.h... no
checking for H5Fcreate in -lhdf5... no
configure: WARNING: Unable to compile HDF5 test program
checking for hdf5_hl.h... no
checking for H5LTpath_valid in -lhdf5_hl... no
configure: WARNING: Unable to compile HDF5_HL test program
checking for main in -lhdf5_hl... no
checking for matching HDF5 Fortran wrapper... no
Found hdf5 with version:
configure: error: The version of hdf5 installed on your system is not sufficient. Please ensure that at least version 1.8.13 is installed
The text was updated successfully, but these errors were encountered:
I think the issue is that the Spack hdf5 package switched to a CMake build which does not currently include a h5cc -showconfig option, so the configure script for this packages fails. See spack/spack#27000 and spack/spack#27634.
It looks like the switch to the CMake build was indeed the issue.
Unfortunately the sowftware I work with relies on h5cc and h5pcc to be around and in working condition in order to check whether a working hdf5 build is present. The current spack version does not deliver that - while an h5cc executable is built, running it results in linking errors.
A workaround I've found is to revert the contents of spack/var/spack/repos/builtin/packages/hdf5 to commit 3039237a0e7cee898d85a33b13ed6d5ab712b3f3, which was the last version before the change to the CMake build.
Hi @hhoeflin
I tried your suggestion from #164 just now, and am getting the following error.
I tried
I think the issue is that something about the r-hdf5r package checking for hdf5 package version isn't quite right, but I am having issues tracing down where that check occurs, and how r-hdf5r goes about it.
That line without a specific version of hdf5 that it found makes me think that something about the check is the issue, rather than not actually having a working hdf5 dependency?
I am using the spack develop branch.
the spack-configure-args.txt shows:
--with-hdf5=[SystemPath]/linux-centos7-ivybridge/gcc-8.3.1/hdf5-1.10.7-lizgn5qbklotstzwn63svnzrxk7sbq3y/bin/h5pcc'
I omitted the full path as its pretty long, but I have confirmed that the h5pcc file is indeed present.
If you can assist me in determining why this error keeps occuring, I will update the spack package with the correct configuration. The default spack package doesn't include the +hl dependency for hdf5 you recommended in that previous closed issue, is that required? Below is the spec output from spack:
The spack package includes options for including the path to hdf5 provided h5pcc file for --with-hdf5=PATH, but something about that isn't working at the moment.
I tried with [email protected] and [email protected] just now and got the same error.
The text was updated successfully, but these errors were encountered: