[cig-commits] r6739 -
short/3D/PyLith/branches/pylith-0.8/doc/userguide/install
leif at geodynamics.org
leif at geodynamics.org
Tue May 1 11:55:06 PDT 2007
Author: leif
Date: 2007-05-01 11:55:06 -0700 (Tue, 01 May 2007)
New Revision: 6739
Modified:
short/3D/PyLith/branches/pylith-0.8/doc/userguide/install/install.lyx
Log:
Added one more PETSc config example.
Modified: short/3D/PyLith/branches/pylith-0.8/doc/userguide/install/install.lyx
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/doc/userguide/install/install.lyx 2007-05-01 17:43:42 UTC (rev 6738)
+++ short/3D/PyLith/branches/pylith-0.8/doc/userguide/install/install.lyx 2007-05-01 18:55:06 UTC (rev 6739)
@@ -785,7 +785,62 @@
\end_layout
\begin_layout Standard
-In our next example, we configure PETSc on a 64-bit Linux cluster.
+In our next example, we configure PETSc on a Mac OS X machine.
+ We have installed Apple's Xcode and the G95 Fortran compiler.
+ However, we don't have anything else preinstalled, so we instruct PETSc
+ to download almost everything else, including MPICH.
+ Intentionally, we don't specify anything about BLAS/LAPACK: PETSc automatically
+ finds vecLib, which is built-in to Mac OS X.
+\end_layout
+
+\begin_layout LyX-Code
+$ ./config/configure.py
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-sieve=1
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-clanguage=C++
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-fc=g95
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-boost=1 --download-boost=1
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-chaco=1 --download-chaco=1
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-mpi=1 --download-mpich=1
+\backslash
+
+\end_layout
+
+\begin_layout LyX-Code
+ --with-x=0
+\end_layout
+
+\begin_layout Standard
+In our final example, we configure PETSc on a 64-bit Linux cluster.
We use an existing MPI implementation installed by the system administrators.
BLAS/LAPACK is missing, so we instruct PETSc to download it, in addition
to Boost and Chaco.
@@ -1699,9 +1754,7 @@
Warning:
\series default
\color none
- Manually specifing the C++ or Fortran compiler
-\color default
-(using
+ Manually specifing the C++ or Fortran compiler (using
\family typewriter
CXX
\family default
@@ -1709,19 +1762,15 @@
\family typewriter
FC
\family default
-)
-\color none
-is not recommended.
+) is not recommended.
Different Fortran compilers tend to be incompatible with one another.
With C++, even different versions of the same compiler can be incompatible.
Therefore, PyLith must be built using the same C++ and Fortran compilers
used to configure and build PETSc.
It is best to let PyLith's
\family typewriter
-\color default
configure
\family default
-\color none
script handle this automatically.
\end_layout
More information about the cig-commits
mailing list