Hi,
I'm using the hdf5 version 1.6.6.
I'm writing a signal processing program to deal with audio files.
I'm running a test program that produce a large matrix (32768 x 64) of
double data type.
Because, a priori, I don't know the matrix size, I define it as double
**matrix. Then, I assign space for it using malloc function and
populate with the results.
However, I found two problems.
First, that output:
HDF5-DIAG: Error detected in HDF5 library version: 1.6.6 thread 0.
Back trace follows.
#000: H5Dio.c line 681 in H5Dwrite(): can't write data
major(15): Dataset interface
minor(25): Write failed
#001: H5Dio.c line 1047 in H5D_write(): can't write data
major(15): Dataset interface
minor(25): Write failed
#002: H5Dio.c line 1418 in H5D_contig_write(): optimized write
failed
major(15): Dataset interface
minor(25): Write failed
#003: H5Dselect.c line 655 in H5D_select_write(): write error
major(14): Dataspace interface
minor(25): Write failed
#004: H5Dcontig.c line 854 in H5D_contig_writevv(): block write
failed
major(05): Low-level I/O layer
minor(25): Write failed
#005: H5F.c line 3339 in H5F_block_write(): file write failed
major(05): Low-level I/O layer
minor(25): Write failed
#006: H5FD.c line 3496 in H5FD_write(): driver write request failed
major(22): Virtual File Layer
minor(25): Write failed
#007: H5FDsec2.c line 805 in H5FD_sec2_write(): file write failed
major(05): Low-level I/O layer
minor(25): Write failed
#008: H5FDsec2.c line 805 in H5FD_sec2_write(): Bad address
major(03): Internal HDF5 error
minor(87): System error message
Somebody knows what it means?
Second, the program finish but the output file has garbage inside, not
the matrix contents.
I did a test with a smaller matrix and given a fixed number of rows
and columns (double matrix[200][64]), and it works pretty well.
Any clues about hdf5 problems with large matrix and created
dynamically?
Thanks a lot,


|