HDF5 error occuring when using MAT package

I am getting the following error when trying to use the MAT package. I have no clue about how to interpret it. Any help would be appreciated.

julia> file = matopen("t.mat", "w");
HDF5-DIAG: Error detected in HDF5 (1.12.0) thread 0:
  #000: H5F.c line 705 in H5Fcreate(): unable to create file
    major: File accessibility
    minor: Unable to open file
  #001: H5VLcallback.c line 3393 in H5VL_file_create(): file create failed
    major: Virtual Object Layer
    minor: Unable to create file
  #002: H5VLcallback.c line 3358 in H5VL__file_create(): file create failed
    major: Virtual Object Layer
    minor: Unable to create file
  #003: H5VLnative_file.c line 65 in H5VL__native_file_create(): unable to create file
    major: File accessibility
    minor: Unable to open file
  #004: H5Fint.c line 1568 in H5F_open(): unable to open file: name = 't.mat', tent_flags = 13
    major: File accessibility
    minor: Unable to open file
  #005: H5FD.c line 741 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #006: H5FDsec2.c line 346 in H5FD_sec2_open(): unable to open file: name = 't.mat', errno = 122, error message = 'Disk quota exceeded', flags = 13, o_flags = 242
    major: File accessibility
    minor: Unable to open file
ERROR: Error creating file t.mat
Stacktrace:
 [1] error(::String, ::String) at ./error.jl:42
 [2] h5f_create at /home/dass/.julia/packages/HDF5/cDXRT/src/api.jl:504 [inlined]
 [3] matopen(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at /home/dass/.julia/packages/MAT/f523T/src/MAT_HDF5.jl:96
 [4] matopen(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at /home/dass/.julia/packages/MAT/f523T/src/MAT.jl:42
 [5] matopen(::String, ::String; compress::Bool) at /home/dass/.julia/packages/MAT/f523T/src/MAT.jl:88
 [6] matopen(::String, ::String) at /home/dass/.julia/packages/MAT/f523T/src/MAT.jl:88
 [7] top-level scope at REPL[7]:1

This is your clue, I think.

2 Likes

Thank you for getting back to me ! I checked the disk space and “Disk quota exceeded” is indeed the reason.