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

brad at geodynamics.org brad at geodynamics.org
Wed Jun 8 14:40:10 PDT 2011


Author: brad
Date: 2011-06-08 14:40:09 -0700 (Wed, 08 Jun 2011)
New Revision: 18554

Modified:
   short/3D/PyLith/pylith_installer/trunk/INSTALL
   short/3D/PyLith/pylith_installer/trunk/configure.ac
Log:
Updated install instructions to include note on compatibility of compiler, Python, and MPI.

Modified: short/3D/PyLith/pylith_installer/trunk/INSTALL
===================================================================
--- short/3D/PyLith/pylith_installer/trunk/INSTALL	2011-06-08 21:03:39 UTC (rev 18553)
+++ short/3D/PyLith/pylith_installer/trunk/INSTALL	2011-06-08 21:40:09 UTC (rev 18554)
@@ -88,7 +88,30 @@
 corresponding PACKAGE-build directory and the installed_PACKAGE file
 before running make.
 
+--------------
+IMPORTANT NOTE
+--------------
 
+  The default settings do not install a compiler suite, Python, or
+  MPI. In order for PyLith to work properly, Python and MPI must be
+  built with the same compiler suite used by the PyLith installer to
+  build all of the other dependencies and PyLith itself. If you are
+  using the system Python and compiler suite (usually gcc), these are
+  guaranteed to be compatible. The configure tests are relatively
+  simple and detect only major incompatibilities; many small
+  incompatibilities slip through and only show up during the testing
+  phase of the build process.
+
+  You can see which compiler was used to build an installed version of
+  Python by starting the Python interpreter (run "python") and
+  examining the second line. Likewise you can often identify which
+  compiler an MPI version is using by running "mpicc -show".
+
+  To remedy incompatible compiler suite, MPI, and Python versions,
+  simply request the installer to build a new version of the
+  incompatible package (e.g., --enable-python, --enable-mpi=openmpi).
+
+
 ----------------------------------------------------------------------
 STEP 1 - Download and unpack the installer
 ----------------------------------------------------------------------

Modified: short/3D/PyLith/pylith_installer/trunk/configure.ac
===================================================================
--- short/3D/PyLith/pylith_installer/trunk/configure.ac	2011-06-08 21:03:39 UTC (rev 18553)
+++ short/3D/PyLith/pylith_installer/trunk/configure.ac	2011-06-08 21:40:09 UTC (rev 18554)
@@ -100,9 +100,9 @@
 # HDF5
 AC_ARG_ENABLE([hdf5],
     [AC_HELP_STRING([--enable-hdf5],
-        [install HDF5 @<:@default=no@:>@])],
+        [install HDF5 @<:@default=yes@:>@])],
 	[if test "$enableval" = yes ; then install_hdf5=yes; else install_hdf5=no; fi],
-	[install_hdf5=no])
+	[install_hdf5=yes])
 AM_CONDITIONAL([INSTALL_HDF5], [test "$install_hdf5" = yes])
 
 # PETSC
@@ -453,7 +453,9 @@
   echo "do nothing" >& /dev/null
 else
   if test "$with_hdf5" = yes ; then
-    echo "*****TODO***** ADD TEST FOR HDF5"
+    CIT_HDF5_HEADER
+    CIT_HDF5_LIB
+    CIT_HDF5_LIB_PARALLEL
   fi
 fi
 



More information about the CIG-COMMITS mailing list