[cig-commits] r19918 - short/3D/PyLith/pylith_installer/trunk

brad at geodynamics.org brad at geodynamics.org
Mon Apr 2 16:43:31 PDT 2012


Author: brad
Date: 2012-04-02 16:43:31 -0700 (Mon, 02 Apr 2012)
New Revision: 19918

Modified:
   short/3D/PyLith/pylith_installer/trunk/configure.ac
Log:
Added check for installer-built MPI and system python (incompatible).

Modified: short/3D/PyLith/pylith_installer/trunk/configure.ac
===================================================================
--- short/3D/PyLith/pylith_installer/trunk/configure.ac	2012-04-02 22:56:36 UTC (rev 19917)
+++ short/3D/PyLith/pylith_installer/trunk/configure.ac	2012-04-02 23:43:31 UTC (rev 19918)
@@ -362,7 +362,9 @@
 
 # MPI
 if test "$install_mpi" != no ; then
-  echo "do nothing" >& /dev/null
+  if test "$install_python" != yes ; then
+    AC_MSG_FAILURE([Incompatible configure options. Cannot use system python with installer-built MPI. Please use --enable-python or use system MPI.])
+  fi
 else
   AC_PATH_PROG(MPICC, mpicc)
   if test -z "$MPICC"; then



More information about the CIG-COMMITS mailing list