summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-09-16 17:35:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-09-16 17:35:31 (GMT)
commit9b152820077fc8ddff99704b8cc3e1a63ce4093c (patch)
treeeb470ebab67e13a4b690096e9fa2fae09a366dca /configure
parent58b49c8302b3adc3890f7f0c7b4da291fd34562a (diff)
downloadhdf5-9b152820077fc8ddff99704b8cc3e1a63ce4093c.zip
hdf5-9b152820077fc8ddff99704b8cc3e1a63ce4093c.tar.gz
hdf5-9b152820077fc8ddff99704b8cc3e1a63ce4093c.tar.bz2
[svn-r7481] 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 'configure')
-rwxr-xr-xconfigure23
1 files changed, 23 insertions, 0 deletions
diff --git a/configure b/configure
index ec655f5..e88f2c1 100755
--- a/configure
+++ b/configure
@@ -31541,6 +31541,29 @@ _ACEOF
fi
+
+ echo "$as_me:$LINENO: checking if MPI_File_set_size works for files over 2GB" >&5
+echo $ECHO_N "checking if MPI_File_set_size works for files over 2GB... $ECHO_C" >&6
+ if test "${hdf5_cv_mpi_file_set_size_big+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ hdf5_cv_mpi_file_set_size_big=yes
+fi
+
+
+ if test ${hdf5_cv_mpi_file_set_size_big} = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define MPI_FILE_SET_SIZE_BIG 1
+_ACEOF
+
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ fi
+
fi
echo "$as_me:$LINENO: checking for I/O filters" >&5