And I want to use H5Fopen to get this file in memory.
*file = H5Fopen(H5FILE_NAME, H5F_ACC_RDWR, fapl);*
···
*
*
But I failed.
The error is:
*HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:*
* #000: H5F.c line 1582 in H5Fopen(): unable to open file*
* major: File accessibilty*
* minor: Unable to open file*
* #001: H5F.c line 1271 in H5F_open(): unable to open file: time = Fri Jun
21 03:19:11 2013*
*, name = 'Driver_test5.h5', tent_flags = 1*
* major: File accessibilty*
* minor: Unable to open file*
* #002: H5FD.c line 987 in H5FD_open(): open failed*
* major: Virtual File Layer*
* minor: Unable to initialize object*
* #003: H5FDcore.c line 441 in H5FD_core_open(): unable to open file*
* major: File accessibilty*
* minor: Unable to open file*
The document said :The H5FD_CORE driver enables an application to work with
a file in memory, speeding reads and writes as no disk access is made.
And I want to use H5Fopen to get this file in memory.
file = H5Fopen(H5FILE_NAME, H5F_ACC_RDWR, fapl);
But I failed.
The error is:
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0: #000: H5F.c line 1582 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file #001: H5F.c line 1271 in H5F_open(): unable to open file: time = Fri Jun 21 03:19:11 2013
, name = 'Driver_test5.h5', tent_flags = 1
major: File accessibilty
minor: Unable to open file #002: H5FD.c line 987 in H5FD_open(): open failed
major: Virtual File Layer
minor: Unable to initialize object #003: H5FDcore.c line 441 in H5FD_core_open(): unable to open file
major: File accessibilty
minor: Unable to open file
The document said :The H5FD_CORE driver enables an application to work with a file in memory, speeding reads and writes as no disk access is made.