diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-16 17:33:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-16 17:33:00 (GMT) |
commit | d7bde16f45fac765f45172d88a1a9cd44a1f95fa (patch) | |
tree | be73c954ea0220b752cfbb49597e35954aa47cd9 /testpar/testphdf5.h | |
parent | bf1c2f0e8bf9788c2e47a1b1ac963cc321afab0e (diff) | |
download | hdf5-d7bde16f45fac765f45172d88a1a9cd44a1f95fa.zip hdf5-d7bde16f45fac765f45172d88a1a9cd44a1f95fa.tar.gz hdf5-d7bde16f45fac765f45172d88a1a9cd44a1f95fa.tar.bz2 |
[svn-r7480] Purpose:
Bug fix
Description:
The MPI_File_set_size() routine on ASCI Red is not able to extend files
so that they are larger than 2GB.
Solution:
Add an extra macro which controls whether MPI_File_set_size() can handle
>2GB offsets or if our "older" way of reading a byte, then writing a byte at
the appropriate offset should be used.
Platforms tested:
FreeBSD 4.9 (sleipnir)
h5committest
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r-- | testpar/testphdf5.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index afbce3e..b6f5dc2 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -123,6 +123,7 @@ extern int facc_type; /*Test file access type */ /* prototypes */ hid_t create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type, hbool_t use_gpfs); +MPI_Offset h5_mpi_get_file_size(const char *filename, MPI_Comm comm, MPI_Info info); void multiple_dset_write(char *filename, int ndatasets); void multiple_group_write(char *filename, int ngroups); void multiple_group_read(char *filename, int ngroups); @@ -140,6 +141,7 @@ void dataset_readAll(char *filename); void extend_readInd(char *filename); void extend_readAll(char *filename); void compact_dataset(char *filename); +void big_dataset(const char *filename); int dataset_vrfy(hssize_t start[], hsize_t count[], hsize_t stride[], hsize_t block[], DATATYPE *dataset, DATATYPE *original); #endif /* PHDF5TEST_H */ |