Discussion:
H5Fopen(): unable to open file
Alexey Yamilov
2002-03-07 16:57:36 UTC
Permalink
Hi everybody,

I was using MPB-package for quite some time already. Everything worked smooth
untill when I tried to input epsilon from a h5-file:

(set! num-bands 10)
(set! geometry-lattice (make lattice
(basis1 1 0)
(basis2 0 1.7) ))

(set! epsilon-input-file "mpb-eps.h5")
(set! grid-size (vector3 20 34 1))
(set! mesh-size 1)
(set! k-points (list (vector3 0 0 0)
(vector3 0 0.5 0)
(vector3 0.5 0 0)
(vector3 0 0 0) ))
(set! k-points (interpolate 8 k-points))
(run-tm)

I have hdf5-1.4.2 and was using it with no problems until now. When I
run mpb, I get HDF5-DIAG message 'unable to open file' (see below).

Any thoughts?

Thanks in advance,
Alexey.


===========================================================
HDF5-DIAG: Error detected in HDF5 library version: 1.4.2 thread 0. Back
trace follows.
#000: ../../../hdf5-1.4.2/src/H5F.c line 1477 in H5Fopen(): unable to open
file
major(04): File interface
minor(12): Unable to open file
#001: ../../../hdf5-1.4.2/src/H5F.c line 1000 in H5F_open(): unable to open
file
major(04): File interface
minor(12): Unable to open file
#002: ../../../hdf5-1.4.2/src/H5FD.c line 780 in H5FD_open(): open failed
major(22): Virtual File Layer
minor(23): Unable to initialize
#003: ../../../hdf5-1.4.2/src/H5FDsec2.c line 296 in H5FD_sec2_open():
unable to open file
major(04): File interface
minor(12): Unable to open file
CHECK failure on line 384 of matrixio.c: error opening HDF input file
init-params: initializing eigensolver data

_______________________________________________
mpb-discuss mailing list - mpb-***@ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss
Steven G. Johnson
2002-03-07 17:20:05 UTC
Permalink
Post by Alexey Yamilov
I was using MPB-package for quite some time already. Everything worked smooth
[...]
(set! epsilon-input-file "mpb-eps.h5")
[...]
I have hdf5-1.4.2 and was using it with no problems until now. When I
run mpb, I get HDF5-DIAG message 'unable to open file' (see below).
Let me ask the obvious question: is the "mpb-eps.h5" file in the directory
you are in when you run 'mpb', and is it a readable HDF5 file with a
dataset (e.g. 'h5ls mpb-eps.h5' and 'h5topng mpb-eps.h5' should work)?

(Currently, if you run 'mpb foo/bar.ctl' and bar.ctl uses a .h5 input
file, it will look for that file in the working directory, not in foo/,
although I should probably fix this now that I think of it.)

Steven


_______________________________________________
mpb-discuss mailing list - mpb-***@ab-initio.mit.edu
http://ab-initio.mit.edu/mailman/listinfo/mpb-discuss

Loading...