[MOAB-dev] r4496 - MOAB/branches/Version4.0
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Wed Feb 16 09:46:45 CST 2011
Author: kraftche
Date: 2011-02-16 09:46:45 -0600 (Wed, 16 Feb 2011)
New Revision: 4496
Modified:
MOAB/branches/Version4.0/configure.ac
Log:
add some hints as to why zoltan config might fail
Modified: MOAB/branches/Version4.0/configure.ac
===================================================================
--- MOAB/branches/Version4.0/configure.ac 2011-02-15 19:11:11 UTC (rev 4495)
+++ MOAB/branches/Version4.0/configure.ac 2011-02-16 15:46:45 UTC (rev 4496)
@@ -560,6 +560,10 @@
# build variables.
if test "xyes" = "x$WITH_ZOLTAN"; then
+ if test "xyes" != "x$WITH_MPI"; then
+ AC_MSG_ERROR([Cannot include Zoltan support without MPI. See --with-mpi])
+ fi
+
# Test for zoltan headers
AC_LANG_PUSH([C++])
old_CPPFLAGS="$CPPFLAGS"
@@ -598,7 +602,7 @@
[unset ac_cv_lib_zoltan_Zoltan_LB_Partition
AC_CHECK_LIB([zoltan],[Zoltan_LB_Partition],
[ZOLTAN_LIBS="-lzoltan -lparmetis -lmetis"],
- [AC_MSG_ERROR("libzoltan not found in $ZOLTAN_LIB_FLAGS")],
+ [AC_MSG_ERROR([zoltan library not found or not usable. Perhaps you need to specify --with-parmetis=@<:@DIR@:>@?])],
[-lparmetis -lmetis])])
LDFLAGS="$old_LDFLAGS"
More information about the moab-dev
mailing list