[cig-commits] r4243 - mc/3D/CitcomS/trunk

luis at geodynamics.org luis at geodynamics.org
Sun Aug 6 23:47:07 PDT 2006


Author: luis
Date: 2006-08-06 23:47:06 -0700 (Sun, 06 Aug 2006)
New Revision: 4243

Modified:
   mc/3D/CitcomS/trunk/configure.ac
Log:
Added configure check for Parallel-HDF5


Modified: mc/3D/CitcomS/trunk/configure.ac
===================================================================
--- mc/3D/CitcomS/trunk/configure.ac	2006-08-07 06:38:46 UTC (rev 4242)
+++ mc/3D/CitcomS/trunk/configure.ac	2006-08-07 06:47:06 UTC (rev 4243)
@@ -162,6 +162,16 @@
         ])
     ])
 fi
+if test "$want_hdf5" = yes; then
+    AC_CHECK_FUNC(H5Pset_dxpl_mpio, , [
+        AC_CHECK_LIB(hdf5, H5Pset_dxpl_mpio, [
+            LIBHDF5="-lhdf5"
+        ] , [
+            AC_MSG_ERROR([Need Parallel HDF5; try compiling HDF5 with --enable-parallel])
+        ])
+    ])
+fi
+
 AC_SUBST(LIBHDF5)
 
 AC_CONFIG_FILES([Makefile



More information about the cig-commits mailing list