[MOAB-dev] r3594 - MOAB/trunk
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu Mar 11 13:48:23 CST 2010
Author: kraftche
Date: 2010-03-11 13:48:23 -0600 (Thu, 11 Mar 2010)
New Revision: 3594
Modified:
MOAB/trunk/configure.ac
Log:
print more noticable warning at end of configure output if user configures moab with both parallel & hdf5 support, but the hdf5 library is not configured with parallel support
Modified: MOAB/trunk/configure.ac
===================================================================
--- MOAB/trunk/configure.ac 2010-03-11 19:46:49 UTC (rev 3593)
+++ MOAB/trunk/configure.ac 2010-03-11 19:48:23 UTC (rev 3594)
@@ -259,13 +259,14 @@
EXPORT_LDFLAGS="$EXPORT_LDFLAGS $HDF5_LDFLAGS"
AC_SUBST(HDF5_LIBS)
+WARN_PARALLEL_HDF5=no
HAVE_HDF5_PARALLEL=no
if test "xno" != "x$HAVE_HDF5"; then
if test "xno" != "x$WITH_MPI"; then
old_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $HDF5_LDFLAGS"
AC_CHECK_LIB( [hdf5], [H5Pset_fapl_mpio], [HAVE_HDF5_PARALLEL=yes],
- [AC_MSG_WARN("libhdf5 library does not include parallel support. Parallel HDF5 I/O disabled")],
+ [WARN_PARALLEL_HDF5=yes; AC_MSG_WARN("libhdf5 library does not include parallel support. Parallel HDF5 I/O disabled")],
[$HDF5_LIBS]
)
LDFLAGS="$old_LDFLAGS"
@@ -1075,3 +1076,12 @@
*************************************************************************])
fi
+if test "x$WARN_PARALLEL_HDF5" = "xyes"; then
+ AC_MSG_WARN([
+*************************************************************************
+* MOAB has been configured with parallel and HDF5 support
+* but the configured HDF5 library does not support parallel IO.
+* Some parallel IO capabilities will be disabled.
+*************************************************************************])
+fi
+
More information about the moab-dev
mailing list