diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-10-12 02:12:24 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-10-12 02:12:24 (GMT) |
commit | 9b24333b1944e5b5c37aeff0b94fabfbacb15b20 (patch) | |
tree | 3f63363f1dc8bb1f58cb464efa9dacc47368a7d1 /testpar | |
parent | 3cb353e8832287b82d51fee0fe9d2a7130645aac (diff) | |
download | hdf5-9b24333b1944e5b5c37aeff0b94fabfbacb15b20.zip hdf5-9b24333b1944e5b5c37aeff0b94fabfbacb15b20.tar.gz hdf5-9b24333b1944e5b5c37aeff0b94fabfbacb15b20.tar.bz2 |
[svn-r12750] Purpose:
Bug Fix (Bug 544)
Description:
SGI Altix's MPI_File_get_size overflowed at 2GB and more.
Replaced h5_mpi_get_file_size calls by h5_get_file_size.
Tested:
Cobalt.
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_mdset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index 6828ea5..5197023 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -457,7 +457,7 @@ void big_dataset(void) VRFY((ret >= 0), "H5Fclose succeeded"); /* Check that file of the correct size was created */ - file_size=h5_mpi_get_file_size(filename, MPI_COMM_WORLD, MPI_INFO_NULL); + file_size=h5_get_file_size(filename); #ifndef WIN32 VRFY((file_size == 2147485696ULL), "File is correct size (~2GB)"); #endif @@ -488,7 +488,7 @@ void big_dataset(void) VRFY((ret >= 0), "H5Fclose succeeded"); /* Check that file of the correct size was created */ - file_size=h5_mpi_get_file_size(filename, MPI_COMM_WORLD, MPI_INFO_NULL); + file_size=h5_get_file_size(filename); #ifndef WIN32 VRFY((file_size == 4294969344ULL), "File is correct size (~4GB)"); #endif @@ -519,7 +519,7 @@ void big_dataset(void) VRFY((ret >= 0), "H5Fclose succeeded"); /* Check that file of the correct size was created */ - file_size=h5_mpi_get_file_size(filename, MPI_COMM_WORLD, MPI_INFO_NULL); + file_size=h5_get_file_size(filename); #ifndef WIN32 VRFY((file_size == 8589936640ULL), "File is correct size (~8GB)"); #endif |