[cgma-dev] r4965 - cgm/trunk
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Wed Jun 8 09:24:29 CDT 2011
Author: hongjun
Date: 2011-06-08 09:24:27 -0500 (Wed, 08 Jun 2011)
New Revision: 4965
Modified:
cgm/trunk/configure.ac
Log:
o Parallel CGM is not supported for cubit-based geometry
Modified: cgm/trunk/configure.ac
===================================================================
--- cgm/trunk/configure.ac 2011-06-08 12:35:11 UTC (rev 4964)
+++ cgm/trunk/configure.ac 2011-06-08 14:24:27 UTC (rev 4965)
@@ -103,6 +103,13 @@
AC_HELP_STRING([--with-CUBIT=<dir>],[DEPRECATED. Use --with-cubit (small case)]),
[CUBIT_DIR="$withval"
DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --with-cubit=\"${withval}\""])
+
+if test "x$CUBIT_DIR" != "xno"; then
+ if test "x$WITH_MPI" != "xno"; then
+ AC_MSG_ERROR("CGM from CUBIT shared library dosn't support parallel build. Use serial build.")
+ fi
+fi
+
if test "x$CUBIT_DIR" == "xyes"; then
AC_MSG_ERROR([Option --with-CUBIT without specifying Cubit directory.])
elif test "x$CUBIT_DIR" != "xno"; then
More information about the cgma-dev
mailing list