-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot open HDF5 files using HDF5 1.10.x on some machines #11
Comments
More digging makes me think it's an issue with the shared file system and/or permissions on this Linux machine in conjunction with some different between C-library HDF5 1.8.x instead of 1.10.x. Using the example file created by
Using the example file created by
(note to self: info on disks and file systems from https://jhpce.jhu.edu/policies/current-storage-offerings/). I don't get why (3) is different when linking to C-library HDF5 1.8.x instead of 1.10.x. Any ideas? I'll also discuss with our sysadmin to try to get (3) working for C-library HDF5 1.10.x and report back so as to close the issue. |
Perhaps there are different file system settings on the two Lustre areas. Does it work on Lustre if you set the environment variable |
It does! |
note to self: http://hdf-forum.184993.n3.nabble.com/HDF5-files-on-NFS-td4029577.html discusses the environment variable |
Bumping #11 (comment)
|
I think that's the (slightly unsatisfactory) remedy. It looks like this only happens on Lustre files systems, and then it's clearly not on all of them since it works in your temp area, so there's some additional configuration parameters influencing this too. I don't have access to any Lustre system to try things myself, but I presume this isn't even a potential problem unless you're trying to access a file multiple times. I'll add something to the package vignette, and keep an eye out on the HDF5 noticeboard for additionally info on this, but I don't have a better solution right now. |
Thanks, Mike! |
Pretty important issue and solution. Obviously, as HDF5 usage gets more fundamental, we need to have these files work across all filesystems and disks. I would be happy to test packages. |
I am having similar problems on a lustre file system:
but,
Any help would be highly welcome! Setting Thanks, Carsten |
Weird that You can also get slightly more information on the error by setting |
Hi Mike, thanks for your quick reply. Unfortunately,
Does this help (apart from some locale problem, where I don't know where it comes from)? Are the versions of |
A little more info: The problem occurs on our lustre network FS (connected via infiniband). When I copy the file to a local disk, I can open the file without problems. |
okay, I solved this. I misunderstood
everything works as expected. |
thanks for the help again! |
Thanks for reporting back. HDF5's error messages leave a lot to be desired! It would be nice for that to have returned a 'permission denied' error an save you a bunch of time. |
yes, this had helped in my case... ;) |
Hi Mike,
I'm unable to open (specifically, I can't
rhdf5::h5ls()
) an existing HDF5 file using the new 1.10.x-packaged version of HDF5 in Rhdf5lib. This is on a Linux HPC with a shared file system (Lustre).Notably:
This particular file was created via HDF5Array and when it was created I think the system was linked against the C-library HDF5 v1.10.2 (do you know of some way to check this for a particular file?). This particular file is 3.9 GB; I'd be happy to share it with you if it would help in debugging.
Frustratingly, on the same machine, running the file created by
example(h5ls)
using BioC 3.7 and then loading the file using BioC 3.8 does work, which is making debugging rather difficult.I can re-create this particular file but I'd really like to avoid it if possible (there are tens of other files created around a similar time that I think have the same issue).
I appreciate any suggestions and advice you can offer,
Pete
The text was updated successfully, but these errors were encountered: