[cig-commits] r15553 - short/3D/PyLith/trunk/doc/install

brad at geodynamics.org brad at geodynamics.org
Mon Aug 17 20:50:47 PDT 2009


Author: brad
Date: 2009-08-17 20:50:47 -0700 (Mon, 17 Aug 2009)
New Revision: 15553

Added:
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink.txt
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink_bash.sh
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts.txt
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts_bash.sh
Removed:
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_bash.sh
Log:
Added instruction for MacPorts.

Deleted: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt	2009-08-17 20:06:42 UTC (rev 15552)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt	2009-08-18 03:50:47 UTC (rev 15553)
@@ -1,317 +0,0 @@
-======================================================================
-INSTRUCTIONS FOR INSTALLING PYLITH ON AN INTEL MAC RUNNING OSX 10.4
-======================================================================
-
-NOTE: These installation instructions use the Fink package manager to
-install some commonly used packages. MacPorts appears to be a better
-alternative because packages are updated more frequently and there is
-better coherence among packages. However, MacPorts builds all packages
-from source so installing packages can take a long time.
-
-I place applications that are rarely updated in /sw/tools (with Fink
-stuff in /sw). For CIG source code, I separate the source code, build
-directories, and installed code. The source code sits in
-$HOME/src/cig, I build the packages under $HOME/scratch/build/cig, and
-install the packages to $HOME/tools/cig.
-
-I use the bash shell and place all software package environment
-variables in a .bash.tools file that is read by the .bashrc file.
-
-To make things easier, I create environment variables TOOLS_DIR,
-CIG_DIR, TOOLS_FORMAT, and PYTHON_VERSION. The TOOLS_FORMAT variable
-makes it easier to maintain multiple copies of packages built with
-different options (e.g., different compilers and different levels of
-optimization). Note that the python version should match the version
-of Python you will be using. If you don't know the version of python,
-run "python --version".
-
-  export TOOLS_DIR=/sw/tools
-  export TOOLS_FORMAT=gcc-4.0
-  export PYTHON_VERSION=2.5
-
-  export CIG_DIR=$HOME/tools/cig/${TOOLS_FORMAT}
-  export CIG_INCDIR=${CIG_DIR}/include
-  export CIG_LIBDIR=${CIG_DIR}/lib
-  PATH=$PATH:${CIG_DIR}/bin
-  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
-  export PYTHONPATH=${PYTHONPATH}:${CIG_LIBDIR}/python${PYTHON_VERSION}/site-packages
-
-1. X and Xcode
-
-  X and Xcode are on the Apple OSX install disc 1. X is under
-  "additional options."
-
-2. Install Fink (http://www.finkproject.org/)
-
-3. Install Fink Commander
- (http://sourceforge.net/project/showfiles.php?group_id=48896&package_id=42095)
-
-4. Install Fink packages
-
-  Install the following Fink binary packages:
-
-    svn-client
-    autoconf2.5
-    automake1.9
-    libtool4
-    netcdf
-
-5. Install python 2.5.1 (http://www.python.org).
-
-  a. Download the universal installer.
-  b. Install the package by double clicking on MacPython.mpkg.
-  c. Update environment variables.
-
-    PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}
-
-6. Install the Scipy superpack (http://trichech.us/?page_id=5).
-
-  This includes numpy, scipy, and matplotlib.
-
-  a. Download the installer and install the package by double clicking
-     on the .mpkg file.
-
-7. Install mercurial (http://www.selenic.com/mercurial/wiki/)
-
-  a. Download the package to $TOOLS_DIR/mercurial-0.9.4.
-  b. Install package.
-
-    python setup.py install --prefix=$TOOLS_DIR/mercurial-0.9.4/${TOOLS_FORMAT}
-
-  c. Set environment variables.
-
-    MERCURIAL_DIR=${TOOLS_DIR}/mercurial-0.9.4/${TOOLS_FORMAT}
-    export PATH=${PATH}:${MERCURIAL_DIR}/bin
-    export PYTHONPATH=${PYTHONPATH}:${MERCURIAL_DIR}/lib/python${PYTHON_VERSION}/site-packages
-  
-8. Install MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/)
-
-  a. Untar the source and then run configure, build, and install.
-
-  ./configure --with-arch=Darwin --disable-f90 --enable-css --prefix=${TOOLS_DIR}/mpich2-1.0.5/${TOOLS_FORMAT} --enable-g=none --enable-fast --disable-weak-symbols --enable-shared-libx=osx-gcc
-    make
-    make install
-
-  b. Verify the shared libraries (lib*.dyllib) are created.
-
-  c. If any of the dylib files are missing, create them by hand from the 
-     static libraries. 
-
-    Note: It is important to specify the full path for the .dylib files.
-
-    To create libmpich.dylib:
-
-    cd ${TOOLS_DIR}/mpich2-1.0.5/${TOOLS_FORMAT}/lib
-    mkdir tmp
-    cd tmp
-    ar -x ../libmpich.a
-    gcc -dynamiclib -single_module -undefined dynamic_lookup -o ${TOOLS_DIR}/mpich2-1.0.5/${TOOLS_FORMAT}/lib/libmpich.dylib *.o
-    rm *.o
-    cd ..
-    rmdir tmp
-
-  d. Set environment variables.
-
-    export MPI_DIR=$TOOLS_DIR/mpich2-1.0.5/${TOOLS_FORMAT}
-    PATH=$PATH:$MPI_DIR/bin
-    export MANPATH=$MPI_DIR/man:$MANPATH
-    export MPI_INCDIR=$MPI_DIR/include
-    export MPI_LIBDIR=$MPI_DIR/lib
-    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MPI_LIBDIR}
-
-9. Install ParMetis (http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview)
-
-  a. Untar the source and edit the Makefile.
-  b. Set the CC, COPTIONS, INCDIR, LD, and LIBDIR variables.
-
-    CC = gcc
-    COPTIONS = -fPIC
-    INCDIR = -I${MPI_INCDIR}
-    LD = gcc
-    LIBDIR = -L${MPI_LIBDIR} -lmpich -lpmpich
-
-  c. Create shared libraries by hand.
-
-    Note: It is important to specify the full path for the .dylib files.
-
-    cd ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib
-    mkdir tmp
-    cd tmp
-    ar -x ../libmetis.a
-    gcc -o ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib/libmetis.dylib -dynamiclib -single_module -undefined dynamic_lookup  *.o
-    rm *.o
-    ar -x ../libparmetis.a
-    gcc -o ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib/libparmetis.dylib -dynamiclib -single_module -undefined dynamic_lookup  *.o
-    rm *.o
-    cd ..
-    rmdir tmp
-
-  d. Copy parmetis.h to the install location.
-
-    cp parmetis.h ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/include/
-
-  e. Set environment variables.
-
-    PARMETIS_DIR=$TOOLS_DIR/parmetis-3.1/${TOOLS_FORMAT}
-    export PARMETIS_INCDIR=$PARMETIS_DIR/include
-    export PARMETIS_LIBDIR=$PARMETIS_DIR/lib
-    export PARMETIS_LIBS="-lparmetis -lmetis"
-    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
-
-10. Install cppunit (http://cppunit.sourceforge.net/cppunit-wiki)
-
-  a. Untar the source and run configure, build, and install.
-
-    ./configure --prefix=${TOOLS_DIR}/cppunit-1.12.0/${TOOLS_FORMAT}
-    make
-    make install
-
-  b. Set environment variables.
-
-    CPPUNIT_DIR=${TOOLS_DIR}/cppunit-1.12.0/${TOOLS_FORMAT}
-    PATH=${PATH}:${CPPUNIT_DIR}/bin
-    export CPPUNIT_LIBDIR=${CPPUNIT_DIR}/lib
-    export CPPUNIT_INCDIR=${CPPUNIT_DIR}/include
-    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CPPUNIT_LIBDIR}
-
-11. Install FIAT (http://www.fenics.org/wiki/FIAT)
-
-  a. Install FIAT.
-
-    python setup.py install --prefix=$TOOLS_DIR/fiat-0.3.1/${TOOLS_FORMAT}
-
-  b. Set environment variables.
-
-    FIAT_DIR=${TOOLS_DIR}/fiat-0.3.1/${TOOLS_FORMAT}
-    export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-12. Install the development version of PETSc
-  (http://www-unix.mcs.anl.gov/petsc/petsc-as/)
-
-  a. Clone the source repository.
-
-    hg clone http://petsc.cs.iit.edu/petsc/petsc-dev
-    cd petsc-dev/config
-    hg clone http://petsc.cs.iit.edu/petsc/BuildSystem BuildSystem
- 
-
-  b. Set PETSC_ARCH and PETSC_DIR environment variables.
-
-    export PETSC_DIR=${TOOLS_DIR}/petsc-dev
-    export PETSC_ARCH=osx_${TOOLS_FORMAT}_debug
-
-  c. Configure PETSc, build, and test.
-
-    ARCH_FLAGS="--PETSC_ARCH=osx_${TOOLS_FORMAT}_debug --with-debugging=1"
-    LANG_FLAGS="--with-clanguage=c++"
-    BUILD_FLAGS="--with-mpi-compilers=0 --with-gnu-compilers=1 --with-shared=1 --with-dynamic=1 --with-64-bit-points=1 --with-large-file-io=1 --CC=gcc --CXX=g++"
-    MPI_FLAGS="--with-mpi-dir=/sw/tools/mpich2-1.0.5/gcc-4.0 --with-mpi-shared=0"
-    OPTIONS="--with-lgrind=0 --download-tetgen"
-    PART_FLAGS="--with-chaco=1 --download-chaco=1 --with-parmetis=1 --with-parmetis-dir=/sw/tools/parmetis-3.1/gcc-4.0"
-    SIEVE_FLAGS="--with-sieve=1 --with-boost=1 --download-boost=1"
-    config/configure.py ${ARCH_FLAGS} ${LANG_FLAGS} ${BUILD_FLAGS} ${MPI_FLAGS} ${OPTIONS} ${PART_FLAGS} ${SIEVE_FLAGS} ${EXTRA_FLAGS}
-    make
-    make test
-
-13. Install SWIG (http://www.swig.org/)
-
-  a. Untar and install.
-
-    tar -zxvf swig.1.3.39.tgz
-    configure --prefix=${TOOLS_DIR}/swig-1.3.39/${TOOLS_FORMAT}
-    make
-    make install
-
-  b. Update environment variables.
-
-    SWIG_DIR=${TOOLS_DIR}/swig-1.3.39/${TOOLS_FORMAT}
-    PATH=${PATH}:${SWIG_DIR}/bin
-
-14. Install pythia.
-
-  a. Download the source code from the SVN repository.
-
-    svn co http://geodynamics.org/svn/cig/cs/pythia/trunk pythia
-
-  b. Install the software.
-
-    python setup.py install --prefix=${CIG_DIR}
-
-  c. Set environment variables.
-
-    export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
-
-15. Install nemesis.
-
-  a. Download the source code from the SVN repository.
-
-    svn co http://geodynamics.org/svn/cig/cs/nemesis/trunk nemesis
-
-  b. Create the configure script.
-
-    autoreconf -if
-
-  c. Run configure, build, and install.
-
-    ./configure  --prefix=${CIG_DIR}  CPPFLAGS="-I${CIG_INCDIR} -I${MPI_INCDIR}"  LDFLAGS="-L${CIG_LIBDIR} -L${MPI_LIBDIR}"  LIBS="-lpmpich -lmpich"  CC=gcc CXX=g++
-    make
-    make install
-
-    If you get an error about the architecture, edit libtool and
-    delete "-arch ppc" or "-arch intel", which ever one is not for
-    your machine.
-
-16. Install PROJ.4 (http://trac.osgeo.org/proj/)
-
-  a. Download the source code AND the datum shifts (proj-datumgrid-1.4.zip).
-
-  b. Untar the source code and unzip the datum shifts in the nad directory.
-
-  c. Run configure and build.
-
-    ./configure --prefix=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
-    make
-    make install
-
-  d. Set environment variables.
-
-    PROJ4_DIR=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
-    export PROJ4_LIBDIR=${PROJ4_DIR}/lib
-    export PROJ4_INCDIR=${PROJ4_DIR}/include
-    PATH=${PATH}:${PROJ4_DIR}/bin
-    export MANPATH=${MANPATH}:${PROJ4_DIR}/man
-
-17. Install spatialdata.
-
-  a. Download the source code from the SVN repository.
-
-    svn co http://geodynamics.org/svn/cig/cs/spatialdata-0.1/trunk spatialdata
-
-  b. Create the configure script.
-
-    autoreconf -if
-
-  c. Run configure, build, install, and the unit tests.
-
-    ./configure  --enable-testing --enable-pythia  --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR}"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} "  LIBS=""  CC=gcc CXX=g++
-    make
-    make install
-    make check
-
-18. Install PyLith.
-
-  a. Download the source code from the SVN repository.
-
-    svn co http://geodynamics.org/svn/cig/short/3D/PyLith/trunk pylith
-
-  b. Create the configure script.
-
-    autoreconf -if
-
-  c. Run configure, build, install, and the unit tests.
-
-    ./configure  --enable-testing --enable-tetgen --enable-cubit --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR} -I/sw/include"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} -L/sw/lib"  LIBS=""  CC=gcc CXX=g++ CFLAGS="-g -O" CXXFLAGS="-g -O"
-    make
-    make install
-    make check
-

Copied: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink.txt (from rev 15545, short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt)
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink.txt	                        (rev 0)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink.txt	2009-08-18 03:50:47 UTC (rev 15553)
@@ -0,0 +1,318 @@
+======================================================================
+INSTRUCTIONS FOR INSTALLING PYLITH ON AN INTEL MAC RUNNING OSX 10.4
+======================================================================
+
+NOTE: This file is not kept up-to-date. We strongly recommend using
+MacPorts instead of Fink (see the MacBookPro_Aagaard_MacPorts.txt
+file).
+
+These installation instructions use the Fink package manager to
+install some commonly used packages.
+
+I place applications that are rarely updated in /sw/tools (with Fink
+stuff in /sw). For CIG source code, I separate the source code, build
+directories, and installed code. The source code sits in
+$HOME/src/cig, I build the packages under $HOME/scratch/build/cig, and
+install the packages to $HOME/tools/cig.
+
+I use the bash shell and place all software package environment
+variables in a .bash.tools file that is read by the .bashrc file.
+
+To make things easier, I create environment variables TOOLS_DIR,
+CIG_DIR, TOOLS_FORMAT, and PYTHON_VERSION. The TOOLS_FORMAT variable
+makes it easier to maintain multiple copies of packages built with
+different options (e.g., different compilers and different levels of
+optimization). Note that the python version should match the version
+of Python you will be using. If you don't know the version of python,
+run "python --version".
+
+  export TOOLS_DIR=/sw/tools
+  export TOOLS_FORMAT=gcc-4.0
+  export PYTHON_VERSION=2.5
+
+  export CIG_DIR=$HOME/tools/cig/${TOOLS_FORMAT}
+  export CIG_INCDIR=${CIG_DIR}/include
+  export CIG_LIBDIR=${CIG_DIR}/lib
+  PATH=$PATH:${CIG_DIR}/bin
+  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
+  export PYTHONPATH=${PYTHONPATH}:${CIG_LIBDIR}/python${PYTHON_VERSION}/site-packages
+
+1. X and Xcode
+
+  X and Xcode are on the Apple OSX install disc 1. X is under
+  "additional options."
+
+2. Install Fink (http://www.finkproject.org/)
+
+3. Install Fink Commander
+ (http://sourceforge.net/project/showfiles.php?group_id=48896&package_id=42095)
+
+4. Install Fink packages
+
+  Install the following Fink binary packages:
+
+    svn-client
+    autoconf2.5
+    automake1.9
+    libtool4
+    netcdf
+
+5. Install python 2.5.1 (http://www.python.org).
+
+  a. Download the universal installer.
+  b. Install the package by double clicking on MacPython.mpkg.
+  c. Update environment variables.
+
+    PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}
+
+6. Install the Scipy superpack (http://trichech.us/?page_id=5).
+
+  This includes numpy, scipy, and matplotlib.
+
+  a. Download the installer and install the package by double clicking
+     on the .mpkg file.
+
+7. Install mercurial (http://www.selenic.com/mercurial/wiki/)
+
+  a. Download the package to $TOOLS_DIR/mercurial-0.9.4.
+  b. Install package.
+
+    python setup.py install --prefix=$TOOLS_DIR/mercurial-0.9.4/${TOOLS_FORMAT}
+
+  c. Set environment variables.
+
+    MERCURIAL_DIR=${TOOLS_DIR}/mercurial-0.9.4/${TOOLS_FORMAT}
+    export PATH=${PATH}:${MERCURIAL_DIR}/bin
+    export PYTHONPATH=${PYTHONPATH}:${MERCURIAL_DIR}/lib/python${PYTHON_VERSION}/site-packages
+  
+8. Install MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/)
+
+  a. Untar the source and then run configure, build, and install.
+
+  ./configure --with-arch=Darwin --disable-f90 --enable-css --prefix=${TOOLS_DIR}/mpich2-1.0.5/${TOOLS_FORMAT} --enable-g=none --enable-fast --disable-weak-symbols --enable-shared-libx=osx-gcc
+    make
+    make install
+
+  b. Verify the shared libraries (lib*.dyllib) are created.
+
+  c. If any of the dylib files are missing, create them by hand from the 
+     static libraries. 
+
+    Note: It is important to specify the full path for the .dylib files.
+
+    To create libmpich.dylib:
+
+    cd ${TOOLS_DIR}/mpich2-1.0.5/${TOOLS_FORMAT}/lib
+    mkdir tmp
+    cd tmp
+    ar -x ../libmpich.a
+    gcc -dynamiclib -single_module -undefined dynamic_lookup -o ${TOOLS_DIR}/mpich2-1.0.5/${TOOLS_FORMAT}/lib/libmpich.dylib *.o
+    rm *.o
+    cd ..
+    rmdir tmp
+
+  d. Set environment variables.
+
+    export MPI_DIR=$TOOLS_DIR/mpich2-1.0.5/${TOOLS_FORMAT}
+    PATH=$PATH:$MPI_DIR/bin
+    export MANPATH=$MPI_DIR/man:$MANPATH
+    export MPI_INCDIR=$MPI_DIR/include
+    export MPI_LIBDIR=$MPI_DIR/lib
+    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MPI_LIBDIR}
+
+9. Install ParMetis (http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview)
+
+  a. Untar the source and edit the Makefile.
+  b. Set the CC, COPTIONS, INCDIR, LD, and LIBDIR variables.
+
+    CC = gcc
+    COPTIONS = -fPIC
+    INCDIR = -I${MPI_INCDIR}
+    LD = gcc
+    LIBDIR = -L${MPI_LIBDIR} -lmpich -lpmpich
+
+  c. Create shared libraries by hand.
+
+    Note: It is important to specify the full path for the .dylib files.
+
+    cd ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib
+    mkdir tmp
+    cd tmp
+    ar -x ../libmetis.a
+    gcc -o ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib/libmetis.dylib -dynamiclib -single_module -undefined dynamic_lookup  *.o
+    rm *.o
+    ar -x ../libparmetis.a
+    gcc -o ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib/libparmetis.dylib -dynamiclib -single_module -undefined dynamic_lookup  *.o
+    rm *.o
+    cd ..
+    rmdir tmp
+
+  d. Copy parmetis.h to the install location.
+
+    cp parmetis.h ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/include/
+
+  e. Set environment variables.
+
+    PARMETIS_DIR=$TOOLS_DIR/parmetis-3.1/${TOOLS_FORMAT}
+    export PARMETIS_INCDIR=$PARMETIS_DIR/include
+    export PARMETIS_LIBDIR=$PARMETIS_DIR/lib
+    export PARMETIS_LIBS="-lparmetis -lmetis"
+    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
+
+10. Install cppunit (http://cppunit.sourceforge.net/cppunit-wiki)
+
+  a. Untar the source and run configure, build, and install.
+
+    ./configure --prefix=${TOOLS_DIR}/cppunit-1.12.0/${TOOLS_FORMAT}
+    make
+    make install
+
+  b. Set environment variables.
+
+    CPPUNIT_DIR=${TOOLS_DIR}/cppunit-1.12.0/${TOOLS_FORMAT}
+    PATH=${PATH}:${CPPUNIT_DIR}/bin
+    export CPPUNIT_LIBDIR=${CPPUNIT_DIR}/lib
+    export CPPUNIT_INCDIR=${CPPUNIT_DIR}/include
+    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CPPUNIT_LIBDIR}
+
+11. Install FIAT (http://www.fenics.org/wiki/FIAT)
+
+  a. Install FIAT.
+
+    python setup.py install --prefix=$TOOLS_DIR/fiat-0.3.1/${TOOLS_FORMAT}
+
+  b. Set environment variables.
+
+    FIAT_DIR=${TOOLS_DIR}/fiat-0.3.1/${TOOLS_FORMAT}
+    export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+
+12. Install the development version of PETSc
+  (http://www-unix.mcs.anl.gov/petsc/petsc-as/)
+
+  a. Clone the source repository.
+
+    hg clone http://petsc.cs.iit.edu/petsc/petsc-dev
+    cd petsc-dev/config
+    hg clone http://petsc.cs.iit.edu/petsc/BuildSystem BuildSystem
+ 
+
+  b. Set PETSC_ARCH and PETSC_DIR environment variables.
+
+    export PETSC_DIR=${TOOLS_DIR}/petsc-dev
+    export PETSC_ARCH=osx_${TOOLS_FORMAT}_debug
+
+  c. Configure PETSc, build, and test.
+
+    ARCH_FLAGS="--PETSC_ARCH=osx_${TOOLS_FORMAT}_debug --with-debugging=1"
+    LANG_FLAGS="--with-clanguage=c++"
+    BUILD_FLAGS="--with-mpi-compilers=0 --with-gnu-compilers=1 --with-shared=1 --with-dynamic=1 --with-64-bit-points=1 --with-large-file-io=1 --CC=gcc --CXX=g++"
+    MPI_FLAGS="--with-mpi-dir=/sw/tools/mpich2-1.0.5/gcc-4.0 --with-mpi-shared=0"
+    OPTIONS="--with-lgrind=0 --download-tetgen"
+    PART_FLAGS="--with-chaco=1 --download-chaco=1 --with-parmetis=1 --with-parmetis-dir=/sw/tools/parmetis-3.1/gcc-4.0"
+    SIEVE_FLAGS="--with-sieve=1 --with-boost=1 --download-boost=1"
+    config/configure.py ${ARCH_FLAGS} ${LANG_FLAGS} ${BUILD_FLAGS} ${MPI_FLAGS} ${OPTIONS} ${PART_FLAGS} ${SIEVE_FLAGS} ${EXTRA_FLAGS}
+    make
+    make test
+
+13. Install SWIG (http://www.swig.org/)
+
+  a. Untar and install.
+
+    tar -zxvf swig.1.3.39.tgz
+    configure --prefix=${TOOLS_DIR}/swig-1.3.39/${TOOLS_FORMAT}
+    make
+    make install
+
+  b. Update environment variables.
+
+    SWIG_DIR=${TOOLS_DIR}/swig-1.3.39/${TOOLS_FORMAT}
+    PATH=${PATH}:${SWIG_DIR}/bin
+
+14. Install pythia.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/cs/pythia/trunk pythia
+
+  b. Install the software.
+
+    python setup.py install --prefix=${CIG_DIR}
+
+  c. Set environment variables.
+
+    export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
+
+15. Install nemesis.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/cs/nemesis/trunk nemesis
+
+  b. Create the configure script.
+
+    autoreconf -if
+
+  c. Run configure, build, and install.
+
+    ./configure  --prefix=${CIG_DIR}  CPPFLAGS="-I${CIG_INCDIR} -I${MPI_INCDIR}"  LDFLAGS="-L${CIG_LIBDIR} -L${MPI_LIBDIR}"  LIBS="-lpmpich -lmpich"  CC=gcc CXX=g++
+    make
+    make install
+
+    If you get an error about the architecture, edit libtool and
+    delete "-arch ppc" or "-arch intel", which ever one is not for
+    your machine.
+
+16. Install PROJ.4 (http://trac.osgeo.org/proj/)
+
+  a. Download the source code AND the datum shifts (proj-datumgrid-1.4.zip).
+
+  b. Untar the source code and unzip the datum shifts in the nad directory.
+
+  c. Run configure and build.
+
+    ./configure --prefix=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
+    make
+    make install
+
+  d. Set environment variables.
+
+    PROJ4_DIR=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
+    export PROJ4_LIBDIR=${PROJ4_DIR}/lib
+    export PROJ4_INCDIR=${PROJ4_DIR}/include
+    PATH=${PATH}:${PROJ4_DIR}/bin
+    export MANPATH=${MANPATH}:${PROJ4_DIR}/man
+
+17. Install spatialdata.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/cs/spatialdata-0.1/trunk spatialdata
+
+  b. Create the configure script.
+
+    autoreconf -if
+
+  c. Run configure, build, install, and the unit tests.
+
+    ./configure  --enable-testing --enable-pythia  --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR}"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} "  LIBS=""  CC=gcc CXX=g++
+    make
+    make install
+    make check
+
+18. Install PyLith.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/short/3D/PyLith/trunk pylith
+
+  b. Create the configure script.
+
+    autoreconf -if
+
+  c. Run configure, build, install, and the unit tests.
+
+    ./configure  --enable-testing --enable-tetgen --enable-cubit --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR} -I/sw/include"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} -L/sw/lib"  LIBS=""  CC=gcc CXX=g++ CFLAGS="-g -O" CXXFLAGS="-g -O"
+    make
+    make install
+    make check
+

Copied: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink_bash.sh (from rev 15545, short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_bash.sh)
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink_bash.sh	                        (rev 0)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_Fink_bash.sh	2009-08-18 03:50:47 UTC (rev 15553)
@@ -0,0 +1,67 @@
+# Environment variables for Bash Shells associated with Brad Aagaard's
+# install of PyLith on a MacBookPro running OS X 10.4
+
+# General
+export TOOLS_DIR=/sw/tools
+export TOOLS_FORMAT=gcc-4.0
+export PYTHON_VERSION=2.5
+
+# Location for installation of CIG software
+export CIG_DIR=$HOME/tools/cig/${TOOLS_FORMAT}
+export CIG_INCDIR=${CIG_DIR}/include
+export CIG_LIBDIR=${CIG_DIR}/lib
+PATH=$PATH:${CIG_DIR}/bin
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
+export PYTHONPATH=${PYTHONPATH}:${CIG_LIBDIR}/python${PYTHON_VERSION}/site-packages
+
+# Python 2.5.1
+PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}
+
+# Mecurial
+MERCURIAL_DIR=${TOOLS_DIR}/mercurial-0.9.4/${TOOLS_FORMAT}
+export PATH=${PATH}:${MERCURIAL_DIR}/bin
+export PYTHONPATH=${PYTHONPATH}:${MERCURIAL_DIR}/lib/python${PYTHON_VERSION}/site-packages
+
+# MPICH2
+export MPI_DIR=$TOOLS_DIR/mpich2-1.0.5/${TOOLS_FORMAT}
+PATH=$PATH:$MPI_DIR/bin
+export MANPATH=$MPI_DIR/man:$MANPATH
+export MPI_INCDIR=$MPI_DIR/include
+export MPI_LIBDIR=$MPI_DIR/lib
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MPI_LIBDIR}
+
+# ParMetis
+PARMETIS_DIR=$TOOLS_DIR/parmetis-3.1/${TOOLS_FORMAT}
+export PARMETIS_INCDIR=$PARMETIS_DIR/include
+export PARMETIS_LIBDIR=$PARMETIS_DIR/lib
+export PARMETIS_LIBS="-lparmetis -lmetis"
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
+
+# Cppunit
+CPPUNIT_DIR=${TOOLS_DIR}/cppunit-1.12.0/${TOOLS_FORMAT}
+PATH=${PATH}:${CPPUNIT_DIR}/bin
+export CPPUNIT_LIBDIR=${CPPUNIT_DIR}/lib
+export CPPUNIT_INCDIR=${CPPUNIT_DIR}/include
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CPPUNIT_LIBDIR}
+
+# FIAT
+FIAT_DIR=${TOOLS_DIR}/fiat-0.3.1/${TOOLS_FORMAT}
+export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+
+# PETSc
+export PETSC_DIR=${TOOLS_DIR}/petsc-dev
+export PETSC_ARCH=osx_${TOOLS_FORMAT}_debug
+
+# SWIG
+SWIG_DIR=${TOOLS_DIR}/swig-1.3.39/${TOOLS_FORMAT}
+PATH=${PATH}:${SWIG_DIR}/bin
+
+# Pythia
+export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
+
+# Proj.4
+PROJ4_DIR=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
+export PROJ4_LIBDIR=${PROJ4_DIR}/lib
+export PROJ4_INCDIR=${PROJ4_DIR}/include
+PATH=${PATH}:${PROJ4_DIR}/bin
+export MANPATH=${MANPATH}:${PROJ4_DIR}/man

Added: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts.txt
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts.txt	                        (rev 0)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts.txt	2009-08-18 03:50:47 UTC (rev 15553)
@@ -0,0 +1,271 @@
+======================================================================
+INSTRUCTIONS FOR INSTALLING PYLITH ON AN INTEL MAC RUNNING OSX 10.5
+======================================================================
+
+NOTE: These installation instructions use the MacPorts package manager
+to install some commonly used packages. MacPorts appears to be a
+better alternative to Fink because packages are updated more
+frequently and there is better coherence among packages. However,
+MacPorts builds all packages from source so installing packages can
+take a long time.
+
+MacPorts places everything in /opt/local. For CIG source code, I
+separate the source code, build directories, and installed code. The
+source code sits in $HOME/src/cig, I build the packages under
+$HOME/scratch/build/cig, and install the packages to $HOME/tools/cig.
+
+I use the bash shell and place all software package environment
+variables in a .bash.tools file that is read by the .bashrc file.
+
+To make things easier, I create environment variables TOOLS_DIR,
+CIG_DIR, TOOLS_FORMAT, and PYTHON_VERSION. The TOOLS_FORMAT variable
+makes it easier to maintain multiple copies of packages built with
+different options (e.g., different compilers and different levels of
+optimization). Note that the python version should match the version
+of Python you will be using. If you don't know the version of python,
+run "python --version".
+
+  export TOOLS_DIR=/tools
+  export TOOLS_FORMAT=gcc-4.0
+  export PYTHON_VERSION=2.5
+
+  export CIG_DIR=$HOME/tools/cig/${TOOLS_FORMAT}
+  export CIG_INCDIR=${CIG_DIR}/include
+  export CIG_LIBDIR=${CIG_DIR}/lib
+  PATH=$PATH:${CIG_DIR}/bin
+  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
+  export PYTHONPATH=${PYTHONPATH}:${CIG_LIBDIR}/python${PYTHON_VERSION}/site-packages
+
+1. X and Xcode
+
+  X and Xcode are on the Apple OSX install disc 1. X is under
+  "additional options."
+
+2. Install MacPorts (http://www.macports.org/)
+
+3. Install Porticus (GUI interface to MacPorts)
+   (http://porticus.alittledrop.com)
+
+4. Install MacPorts packages
+
+  Install the following using Porticus:
+
+    autoconf
+    automake
+    libtool
+    subversion
+    mercurial
+    cppunit
+    python25
+    py25-numpy
+    swig
+
+  Install netcdf via the command line so that you can change the default variants:
+
+    /opt/local/bin/port install netcdf -dap -netcdf4
+
+5. Install MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/)
+
+  a. Untar the source and then run configure, build, and install.
+
+  ./configure --with-arch=Darwin --disable-f90 --enable-css --prefix=${TOOLS_DIR}/mpich2-1.1.1/${TOOLS_FORMAT} --enable-g=none --enable-fast --disable-weak-symbols --enable-shared-libx=osx-gcc
+    make
+    make install
+
+  b. Verify the shared libraries (lib*.dyllib) are created.
+
+  c. If any of the dylib files are missing, create them by hand from the 
+     static libraries. 
+
+    Note: It is important to specify the full path for the .dylib files.
+
+    To create libmpich.dylib:
+
+    cd ${TOOLS_DIR}/mpich2-1.1.1/${TOOLS_FORMAT}/lib
+    mkdir tmp
+    cd tmp
+    ar -x ../libmpich.a
+    gcc -dynamiclib -single_module -undefined dynamic_lookup -o ${TOOLS_DIR}/mpich2-1.1.1/${TOOLS_FORMAT}/lib/libmpich.dylib *.o
+    rm *.o
+    cd ..
+    rmdir tmp
+
+  d. Set environment variables.
+
+    export MPI_DIR=$TOOLS_DIR/mpich2-1.1.1/${TOOLS_FORMAT}
+    PATH=$PATH:$MPI_DIR/bin
+    export MANPATH=$MPI_DIR/man:$MANPATH
+    export MPI_INCDIR=$MPI_DIR/include
+    export MPI_LIBDIR=$MPI_DIR/lib
+    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MPI_LIBDIR}
+
+6. Install ParMetis (http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview)
+
+  a. Untar the source and edit the Makefile.in.
+  b. Set the CC, COPTIONS, INCDIR, LD, and LIBDIR variables.
+
+    CC = gcc
+    COPTIONS = -DNDEBUG -fPIC
+    INCDIR = -I${MPI_INCDIR}
+    LIBDIR = -L${MPI_LIBDIR} -lmpich -lpmpich
+
+  c. Edit the ParMETISLib/stdheaders.h file
+
+    Comment out the line #include <malloc.h> since this is not a
+    standard header file and not present in OS X 10.5.
+
+  d. Create shared libraries by hand.
+
+    Note: It is important to specify the full path for the .dylib files.
+
+    cd ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib
+    mkdir tmp
+    cd tmp
+    ar -x ../libmetis.a
+    gcc -o ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib/libmetis.dylib -dynamiclib -single_module -undefined dynamic_lookup  *.o
+    rm *
+    ar -x ../libparmetis.a
+    gcc -o ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib/libparmetis.dylib -dynamiclib -single_module -undefined dynamic_lookup  *.o
+    rm *
+    cd ..
+    rmdir tmp
+
+  e. Copy parmetis.h to the install location.
+
+    cp parmetis.h ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/include/
+
+  f. Set environment variables.
+
+    PARMETIS_DIR=$TOOLS_DIR/parmetis-3.1/${TOOLS_FORMAT}
+    export PARMETIS_INCDIR=$PARMETIS_DIR/include
+    export PARMETIS_LIBDIR=$PARMETIS_DIR/lib
+    export PARMETIS_LIBS="-lparmetis -lmetis"
+    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
+
+7. Install FIAT (http://www.fenics.org/wiki/FIAT)
+
+  a. Install FIAT.
+
+    python setup.py install --prefix=$TOOLS_DIR/fiat-0.3.1/${TOOLS_FORMAT}
+
+  b. Set environment variables.
+
+    FIAT_DIR=${TOOLS_DIR}/fiat-0.3.4/${TOOLS_FORMAT}
+    export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+
+8. Install the development version of PETSc
+  (http://www-unix.mcs.anl.gov/petsc/petsc-as/)
+
+  a. Clone the source repository.
+
+    hg clone http://petsc.cs.iit.edu/petsc/petsc-dev
+    cd petsc-dev/config
+    hg clone http://petsc.cs.iit.edu/petsc/BuildSystem BuildSystem
+ 
+
+  b. Set PETSC_ARCH and PETSC_DIR environment variables.
+
+    export PETSC_DIR=${TOOLS_DIR}/petsc-dev
+    export PETSC_ARCH=osx_${TOOLS_FORMAT}_debug
+
+  c. Configure PETSc, build, and test.
+
+    ARCH_FLAGS="--PETSC_ARCH=osx_${TOOLS_FORMAT}_debug --with-debugging=1"
+    LANG_FLAGS="--with-clanguage=c++"
+    BUILD_FLAGS="--with-mpi-compilers=0 --with-gnu-compilers=1 --with-shared=1 --with-dynamic=1 --with-64-bit-points=1 --with-large-file-io=1 --CC=gcc --CXX=g++"
+    MPI_FLAGS="--with-mpi-dir=/sw/tools/mpich2-1.1.1/gcc-4.0 --with-mpi-shared=0"
+    OPTIONS="--with-lgrind=0 --download-tetgen"
+    PART_FLAGS="--with-chaco=1 --download-chaco=1 --with-parmetis=1 --with-parmetis-dir=/sw/tools/parmetis-3.1/gcc-4.0"
+    SIEVE_FLAGS="--with-sieve=1 --with-boost=1 --download-boost=1"
+    config/configure.py ${ARCH_FLAGS} ${LANG_FLAGS} ${BUILD_FLAGS} ${MPI_FLAGS} ${OPTIONS} ${PART_FLAGS} ${SIEVE_FLAGS} ${EXTRA_FLAGS}
+    make
+    make test
+
+9. Install pythia.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/cs/pythia/trunk pythia
+
+  b. Install the software.
+
+    python setup.py install --prefix=${CIG_DIR}
+
+  c. Set environment variables.
+
+    export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
+
+10. Install nemesis.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/cs/nemesis/trunk nemesis
+
+  b. Create the configure script.
+
+    autoreconf -if
+
+  c. Run configure, build, and install.
+
+    ./configure  --prefix=${CIG_DIR}  CPPFLAGS="-I${CIG_INCDIR} -I${MPI_INCDIR}"  LDFLAGS="-L${CIG_LIBDIR} -L${MPI_LIBDIR}"  LIBS="-lpmpich -lmpich"  CC=gcc CXX=g++
+    make
+    make install
+
+    If you get an error about the architecture, edit libtool and
+    delete "-arch ppc" or "-arch intel", which ever one is not for
+    your machine.
+
+11. Install PROJ.4 (http://trac.osgeo.org/proj/)
+
+  a. Download the source code AND the datum shifts (proj-datumgrid-1.4.zip).
+
+  b. Untar the source code and unzip the datum shifts in the nad directory.
+
+  c. Run configure and build.
+
+    ./configure --prefix=${TOOLS_DIR}/proj-4.6.1/${TOOLS_FORMAT}
+    make
+    make install
+
+  d. Set environment variables.
+
+    PROJ4_DIR=${TOOLS_DIR}/proj-4.6.1/${TOOLS_FORMAT}
+    export PROJ4_LIBDIR=${PROJ4_DIR}/lib
+    export PROJ4_INCDIR=${PROJ4_DIR}/include
+    PATH=${PATH}:${PROJ4_DIR}/bin
+    export MANPATH=${MANPATH}:${PROJ4_DIR}/man
+
+12. Install spatialdata.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/cs/spatialdata-0.1/trunk spatialdata
+
+  b. Create the configure script.
+
+    autoreconf -if
+
+  c. Run configure, build, install, and the unit tests.
+
+    ./configure  --enable-testing --enable-pythia  --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR}"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} "  LIBS=""  CC=gcc CXX=g++
+    make
+    make install
+    make check
+
+13. Install PyLith.
+
+  a. Download the source code from the SVN repository.
+
+    svn co http://geodynamics.org/svn/cig/short/3D/PyLith/trunk pylith
+
+  b. Create the configure script.
+
+    autoreconf -if
+
+  c. Run configure, build, install, and the unit tests.
+
+    ./configure  --enable-testing --enable-tetgen --enable-cubit --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR} -I/sw/include"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} -L/sw/lib"  LIBS=""  CC=gcc CXX=g++ CFLAGS="-g -O" CXXFLAGS="-g -O"
+    make
+    make install
+    make check
+

Added: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts_bash.sh
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts_bash.sh	                        (rev 0)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_MacPorts_bash.sh	2009-08-18 03:50:47 UTC (rev 15553)
@@ -0,0 +1,48 @@
+# Environment variables for Bash Shells associated with Brad Aagaard's
+# install of PyLith on a MacBookPro running OS X 10.5
+
+# General
+export TOOLS_DIR=/tools
+export TOOLS_FORMAT=gcc-4.0
+export PYTHON_VERSION=2.5
+
+# Location for installation of CIG software
+export CIG_DIR=$HOME/tools/cig/${TOOLS_FORMAT}
+export CIG_INCDIR=${CIG_DIR}/include
+export CIG_LIBDIR=${CIG_DIR}/lib
+PATH=$PATH:${CIG_DIR}/bin
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
+export PYTHONPATH=${PYTHONPATH}:${CIG_LIBDIR}/python${PYTHON_VERSION}/site-packages
+
+# MPICH2
+export MPI_DIR=$TOOLS_DIR/mpich2-1.1.1/${TOOLS_FORMAT}
+PATH=$PATH:$MPI_DIR/bin
+export MANPATH=$MPI_DIR/man:$MANPATH
+export MPI_INCDIR=$MPI_DIR/include
+export MPI_LIBDIR=$MPI_DIR/lib
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MPI_LIBDIR}
+
+# ParMetis
+PARMETIS_DIR=$TOOLS_DIR/parmetis-3.1/${TOOLS_FORMAT}
+export PARMETIS_INCDIR=$PARMETIS_DIR/include
+export PARMETIS_LIBDIR=$PARMETIS_DIR/lib
+export PARMETIS_LIBS="-lparmetis -lmetis"
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
+
+# FIAT
+FIAT_DIR=${TOOLS_DIR}/fiat-0.3.4/${TOOLS_FORMAT}
+export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+
+# PETSc
+export PETSC_DIR=${TOOLS_DIR}/petsc-dev
+export PETSC_ARCH=osx_${TOOLS_FORMAT}_debug
+
+# Pythia
+export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
+
+# Proj.4
+PROJ4_DIR=${TOOLS_DIR}/proj-4.6.1/${TOOLS_FORMAT}
+export PROJ4_LIBDIR=${PROJ4_DIR}/lib
+export PROJ4_INCDIR=${PROJ4_DIR}/include
+PATH=${PATH}:${PROJ4_DIR}/bin
+export MANPATH=${MANPATH}:${PROJ4_DIR}/man

Deleted: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_bash.sh
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_bash.sh	2009-08-17 20:06:42 UTC (rev 15552)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard_bash.sh	2009-08-18 03:50:47 UTC (rev 15553)
@@ -1,67 +0,0 @@
-# Environment variables for Bash Shells associated with Brad Aagaard's
-# install of PyLith on a MacBookPro running OS X 10.4
-
-# General
-export TOOLS_DIR=/sw/tools
-export TOOLS_FORMAT=gcc-4.0
-export PYTHON_VERSION=2.5
-
-# Location for installation of CIG software
-export CIG_DIR=$HOME/tools/cig/${TOOLS_FORMAT}
-export CIG_INCDIR=${CIG_DIR}/include
-export CIG_LIBDIR=${CIG_DIR}/lib
-PATH=$PATH:${CIG_DIR}/bin
-export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
-export PYTHONPATH=${PYTHONPATH}:${CIG_LIBDIR}/python${PYTHON_VERSION}/site-packages
-
-# Python 2.5.1
-PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}
-
-# Mecurial
-MERCURIAL_DIR=${TOOLS_DIR}/mercurial-0.9.4/${TOOLS_FORMAT}
-export PATH=${PATH}:${MERCURIAL_DIR}/bin
-export PYTHONPATH=${PYTHONPATH}:${MERCURIAL_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-# MPICH2
-export MPI_DIR=$TOOLS_DIR/mpich2-1.0.5/${TOOLS_FORMAT}
-PATH=$PATH:$MPI_DIR/bin
-export MANPATH=$MPI_DIR/man:$MANPATH
-export MPI_INCDIR=$MPI_DIR/include
-export MPI_LIBDIR=$MPI_DIR/lib
-export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MPI_LIBDIR}
-
-# ParMetis
-PARMETIS_DIR=$TOOLS_DIR/parmetis-3.1/${TOOLS_FORMAT}
-export PARMETIS_INCDIR=$PARMETIS_DIR/include
-export PARMETIS_LIBDIR=$PARMETIS_DIR/lib
-export PARMETIS_LIBS="-lparmetis -lmetis"
-export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
-
-# Cppunit
-CPPUNIT_DIR=${TOOLS_DIR}/cppunit-1.12.0/${TOOLS_FORMAT}
-PATH=${PATH}:${CPPUNIT_DIR}/bin
-export CPPUNIT_LIBDIR=${CPPUNIT_DIR}/lib
-export CPPUNIT_INCDIR=${CPPUNIT_DIR}/include
-export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CPPUNIT_LIBDIR}
-
-# FIAT
-FIAT_DIR=${TOOLS_DIR}/fiat-0.3.1/${TOOLS_FORMAT}
-export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-# PETSc
-export PETSC_DIR=${TOOLS_DIR}/petsc-dev
-export PETSC_ARCH=osx_${TOOLS_FORMAT}_debug
-
-# SWIG
-SWIG_DIR=${TOOLS_DIR}/swig-1.3.39/${TOOLS_FORMAT}
-PATH=${PATH}:${SWIG_DIR}/bin
-
-# Pythia
-export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
-
-# Proj.4
-PROJ4_DIR=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
-export PROJ4_LIBDIR=${PROJ4_DIR}/lib
-export PROJ4_INCDIR=${PROJ4_DIR}/include
-PATH=${PATH}:${PROJ4_DIR}/bin
-export MANPATH=${MANPATH}:${PROJ4_DIR}/man



More information about the CIG-COMMITS mailing list