Is it possible to use `h5ls` to examine a SWMR file

Dear experts…

Is it possible to use h5ls to see the contents of a SWMR file?

h5ls aFile.h5
aFile.h5: unable to open file

Using h5py 3.13.0 and HDF5-1.14.6 I can access the same file with

h5py.File(“aFile.h5”,‘r’,libver=“latest”,swmr=True)

Thanks…

Kazuyoshi

You should be able to do h5ls on a SWMR file

Sending us the aFile.h5 may help detecting the problem.

Thank you.

Hi, @vchoi , thanks for your response!

I’m very sorry but I forgot to clearly mention that I want to access to a SWMR file using h5ls during the calculation. After finishing the calculation, h5ls can be used to examine the contents of the file.