diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 4a02907..b286a65 100644 --- a/configure.in +++ b/configure.in @@ -2383,9 +2383,13 @@ if test -n "$PARALLEL"; then 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 In Dec. 20th, 2004, we found that IBM's MPIO implemention didn't dnl handle with the displacement of the complicate MPI type derived datatype dnl correctly. So we add the check here. +dnl IBM fixed this bug in their new version that supported MPI-IO around spring 2005. +dnl We find that mpich 1.2.5 has the similar bug. The same +dnl bug also occurs at SGI IRIX 6.5 C with compiler version lower than or equal to 7.3. +dnl In case people still use the old compiler, we keep this flag. 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]) @@ -2397,6 +2401,24 @@ if test ${hdf5_mpi_complex_derived_datatype_works} = "yes"; then else AC_MSG_RESULT([no]) fi + +dnl ---------------------------------------------------------------------- +dnl Check to see whether MPI-IO can do collective IO successfully when one or more processes don't do +dnl any IOs. +dnl Up to now(Feb. 8th, 2006), we find that it will cause program hung with mpich 1.2.x version +dnl and SGI altix. For those systems, we have to turn off this feature and use independent IO instead. +dnl +AC_MSG_CHECKING([if MPI-IO can do collective IO when one or more processes don't do IOs]) + +AC_CACHE_VAL([hdf5_mpi_special_collective_io_works],[hdf5_mpi_special_collective_io_works=yes]) + +if test ${hdf5_mpi_special_collective_io_works} = "yes"; then + AC_DEFINE([MPI_SPECIAL_COLLECTIVE_IO_WORKS], [1], + [Define if your system can handle special collective IO properly.]) + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) +fi fi dnl ---------------------------------------------------------------------- |