diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2007-06-02 18:19:36 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2007-06-02 18:19:36 (GMT) |
commit | 1280f90f8128a72f1b2cfe45d3a5a24334c222e0 (patch) | |
tree | a7969815417facfd248292e2830679fd4fbea9df /c++ | |
parent | 2aa1084117a0040dbb6c54246837cd3133f51bdf (diff) | |
download | hdf5-1280f90f8128a72f1b2cfe45d3a5a24334c222e0.zip hdf5-1280f90f8128a72f1b2cfe45d3a5a24334c222e0.tar.gz hdf5-1280f90f8128a72f1b2cfe45d3a5a24334c222e0.tar.bz2 |
[svn-r13829] Some systems (only SGI Altix ProPack 4 discovered so far) doesn't return correct
file size from MPI_File_get_size. Bypass this problem by replacing it with
stat. Add an option --disable-mpi-size in configure to indicate this function
doesn't work properly. Add a test in testpar/t_mpi.c, too. If it returns wrong
file size, print out a warning.
Tested on kagiso (parallel) because already tested the same change to v1.6 on
several platforms (kagiso, cobalt, copper, and sol).
Diffstat (limited to 'c++')
-rw-r--r-- | c++/Makefile.in | 1 | ||||
-rw-r--r-- | c++/examples/Makefile.in | 1 | ||||
-rw-r--r-- | c++/src/Makefile.in | 1 | ||||
-rw-r--r-- | c++/test/Makefile.in | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/c++/Makefile.in b/c++/Makefile.in index 3249c02..9a8cc71 100644 --- a/c++/Makefile.in +++ b/c++/Makefile.in @@ -160,6 +160,7 @@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MPE = @MPE@ +MPI_GET_SIZE = @MPI_GET_SIZE@ OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index ce1d760..edf1ee6 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -154,6 +154,7 @@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MPE = @MPE@ +MPI_GET_SIZE = @MPI_GET_SIZE@ OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ diff --git a/c++/src/Makefile.in b/c++/src/Makefile.in index fd821fb..b7392eb 100644 --- a/c++/src/Makefile.in +++ b/c++/src/Makefile.in @@ -190,6 +190,7 @@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MPE = @MPE@ +MPI_GET_SIZE = @MPI_GET_SIZE@ OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index 6ad8b2b..1cfe7e6 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -176,6 +176,7 @@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MPE = @MPE@ +MPI_GET_SIZE = @MPI_GET_SIZE@ OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ |