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

brad at geodynamics.org brad at geodynamics.org
Fri Jun 1 13:11:38 PDT 2012


Author: brad
Date: 2012-06-01 13:11:38 -0700 (Fri, 01 Jun 2012)
New Revision: 20277

Modified:
   short/3D/PyLith/pylith_installer/trunk/INSTALL
Log:
Updated installation documentation (must build Python if MPI is built to insure compatibility of link flags).

Modified: short/3D/PyLith/pylith_installer/trunk/INSTALL
===================================================================
--- short/3D/PyLith/pylith_installer/trunk/INSTALL	2012-06-01 18:39:19 UTC (rev 20276)
+++ short/3D/PyLith/pylith_installer/trunk/INSTALL	2012-06-01 20:11:38 UTC (rev 20277)
@@ -209,14 +209,15 @@
 ---------------------
 
   In this case we assume MPI does not exist on your system and you
-  want to use the OpenMPI implementation.
+  want to use the OpenMPI implementation. We must also build Python
+  to insure compatibility between the link flags for MPI and Python.
   
   We assume you have
     * C, C++, Fortran compilers
-    * Python 2.6 or later
 
   mkdir -p $HOME/build/pylith
   $HOME/src/pylith/pylith-installer-1.7.0-0/configure \
+    --enable-python \
     --enable-mpi=openmpi \
     --with-make-threads=2 \
     --prefix=$HOME/pylith
@@ -231,16 +232,18 @@
   their own sets of problems (e.g., incompatibilities, additional
   dependencies, etc). A more robust solution is to build the gfortran
   compiler. We also build openmpi in this case because we want a
-  Fortran compiler setup for MPI, and we use curl to download files
-  because it is included in OS X but wget is not.
+  Fortran compiler setup for MPI. Installing MPI, in turn, forces
+  installtion of Python to insure compatibility in link flags between
+  MPI and Python. Finally, we use curl to download files because it is
+  included in OS X but wget is not.
   
   We assume you have
     * C/C++ compilers
-    * Python 2.6 or later
 
   mkdir -p $HOME/build/pylith
   $HOME/src/pylith/pylith-installer-1.7.0-0/configure \
     --enable-gcc=fortran \
+    --enable-python \
     --enable-mpi=openmpi \
     --with-fetch=curl \
     --with-make-threads=2 \



More information about the CIG-COMMITS mailing list