summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2007-06-01 19:28:10 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2007-06-01 19:28:10 (GMT)
commitdc86a890adef656b0f0eddd4b6cdfa4b73378b69 (patch)
tree9d60df193e6a0ca51e0d7d6e325ab8594040ec38 /src/H5config.h.in
parent65e657479ef2a17e6a276a38e83c1831a395ada0 (diff)
downloadhdf5-dc86a890adef656b0f0eddd4b6cdfa4b73378b69.zip
hdf5-dc86a890adef656b0f0eddd4b6cdfa4b73378b69.tar.gz
hdf5-dc86a890adef656b0f0eddd4b6cdfa4b73378b69.tar.bz2
[svn-r13828] 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), cobalt, copper, and sol.
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r--src/H5config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 4d4685b..c34a7c0 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -219,6 +219,9 @@
/* Define to 1 if you have the <mpe.h> header file. */
#undef HAVE_MPE_H
+/* Define if MPI_File_get_size works correctly */
+#undef HAVE_MPI_GET_SIZE
+
/* Define to 1 if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H