summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-09-08 22:04:51 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-09-08 22:04:51 (GMT)
commit7c0dfc0e1ff740f9e1646145c598c53279cd2701 (patch)
treeca8c150459575d8172a862223f466484bbbe3396
parent8c1f8d5d198e7b858758a639efb40407dc3fb2bb (diff)
downloadhdf5-7c0dfc0e1ff740f9e1646145c598c53279cd2701.zip
hdf5-7c0dfc0e1ff740f9e1646145c598c53279cd2701.tar.gz
hdf5-7c0dfc0e1ff740f9e1646145c598c53279cd2701.tar.bz2
[svn-r11375] Purpose:
To support irregular collective chunk IO supports for the upcoming 1.6.5 release. Description: Should add a macro to detect whether complicated MPI derived datatype works or not. Solution: Platforms tested: AIX 5.1(32bit and 64bit) Linux 2.4(heping)-mpich 1.2.6 Linux 2.4(NCSA teragrid) -mpich 1.2.5 Altrix(cobalt) IRIX 6.5- c compiler version 7.4.3(NCAR SGI) Linux 2.4(tune) - CMPI 2.1.0 Misc. update:
-rw-r--r--configure.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7ac6243..20651b8 100644
--- a/configure.in
+++ b/configure.in
@@ -2080,6 +2080,23 @@ if test -n "$PARALLEL"; then
AC_MSG_RESULT([no])
fi
+
+dnl ----------------------------------------------------------------------
+dnl Check to see whether the complicate MPI derived datatype works.
+dnl Up to now(Dec. 20th, 2004), we find that IBM's MPIO implemention doesn't
+dnl handle with the displacement of the complicate MPI type derived datatype
+dnl correctly. So we add the check here.
+AC_MSG_CHECKING([if irregular hyperslab optimization code works inside MPI-IO])
+
+AC_CACHE_VAL([hdf5_mpi_complex_derived_datatype_works],[hdf5_mpi_complex_derived_datatype_works=yes])
+
+if test ${hdf5_mpi_complex_derived_datatype_works} = "yes"; then
+ AC_DEFINE([MPI_COMPLEX_DERIVED_DATATYPE_WORKS], [1],
+ [Define if your system can handle complicated MPI derived datatype correctly.])
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_RESULT([no])
+fi
fi
dnl ----------------------------------------------------------------------