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

brad at geodynamics.org brad at geodynamics.org
Tue Jun 30 17:49:33 PDT 2009


Author: brad
Date: 2009-06-30 17:49:33 -0700 (Tue, 30 Jun 2009)
New Revision: 15410

Modified:
   short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64.txt
   short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64_bash.sh
   short/3D/PyLith/trunk/doc/install/Linux_Fedora8-AMD64_Aagaard.txt
   short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt
Log:
Started updating install instructions to SWIG.

Modified: short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64.txt
===================================================================
--- short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64.txt	2009-07-01 00:49:01 UTC (rev 15409)
+++ short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64.txt	2009-07-01 00:49:33 UTC (rev 15410)
@@ -255,34 +255,20 @@
     make
     make test
 
-12. Install Pyrex (http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/)
+12. Install SWIG (http://www.swig.org/)
 
-  Versions up to and including 0.9.5.1 are known to work.
+ a. Untar and install.
 
-  a. Untar and install.
+ b. Update environment variables.
 
-    python setup.py install --prefix=${TOOLS_DIR}/pyrex-0.9.5.1/${TOOLS_FORMAT}
-
-  b. Update environment variables.
-
     PYREX_DIR=${TOOLS_DIR}/pyrex-0.9.5.1a/${TOOLS_FORMAT}
     PATH=${PATH}:${PYREX_DIR}/bin
     export PYTHONPATH=${PYTHONPATH}:${PYREX_DIR}/lib/python${PYTHON_VERSION}/site-packages
 
-13. Install CIG's version of pyrexembed.
+13. Install pythia.
 
   a. Download the source code from the SVN repository.
 
-    svn co http://geodynamics.org/svn/cig/cs/pyrexembed/trunk pyrexembed
-
-  b. Install the software.
-
-    python setup.py install --prefix=${CIG_DIR}
-
-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.
@@ -293,7 +279,7 @@
 
     export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
 
-15. Install nemesis.
+14. Install nemesis.
 
   a. Download the source code from the SVN repository.
 
@@ -309,7 +295,7 @@
     make
     make install
 
-16. Install PROJ.4 (http://trac.osgeo.org/proj/)
+15. Install PROJ.4 (http://trac.osgeo.org/proj/)
 
   a. Download the source code AND the datum shifts (proj-datumgrid-1.3.zip).
 
@@ -330,7 +316,7 @@
     export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PROJ4_LIBDIR}
     export MANPATH=${MANPATH}:${PROJ4_DIR}/man
 
-17. Install netcdf (http://www.unidata.ucar.edu/software/netcdf/).
+16. Install netcdf (http://www.unidata.ucar.edu/software/netcdf/).
 
   a. Untar the source code.
 
@@ -347,7 +333,7 @@
     export NETCDF_LIBDIR=${NETCDF_DIR}/lib
 
 
-18. Install spatialdata.
+17. Install spatialdata.
 
   a. Download the source code from the SVN repository.
 
@@ -364,7 +350,7 @@
     make install
     make check
 
-19. Install PyLith.
+18. Install PyLith.
 
   a. Download the source code from the SVN repository.
 

Modified: short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64_bash.sh
===================================================================
--- short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64_bash.sh	2009-07-01 00:49:01 UTC (rev 15409)
+++ short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-AMD64_bash.sh	2009-07-01 00:49:33 UTC (rev 15410)
@@ -71,10 +71,10 @@
 export PETSC_DIR=${TOOLS_DIR}/petsc-dev
 export PETSC_ARCH=linux_${TOOLS_FORMAT}_opt
 
-# Pyrex
-PYREX_DIR=${TOOLS_DIR}/pyrex-0.9.5.1a/${TOOLS_FORMAT}
-PATH=${PATH}:${PYREX_DIR}/bin
-export PYTHONPATH=${PYTHONPATH}:${PYREX_DIR}/lib/python${PYTHON_VERSION}/site-packages
+# SWIG (check this)
+SWIG_DIR=${TOOLS_DIR}/swig-1.3.38/${TOOLS_FORMAT}
+PATH=${PATH}:${SWIG_DIR}/bin
+export PYTHONPATH=${PYTHONPATH}:${SWIG_DIR}/lib/python${PYTHON_VERSION}/site-packages
 
 # Pythia
 export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8

Modified: short/3D/PyLith/trunk/doc/install/Linux_Fedora8-AMD64_Aagaard.txt
===================================================================
--- short/3D/PyLith/trunk/doc/install/Linux_Fedora8-AMD64_Aagaard.txt	2009-07-01 00:49:01 UTC (rev 15409)
+++ short/3D/PyLith/trunk/doc/install/Linux_Fedora8-AMD64_Aagaard.txt	2009-07-01 00:49:33 UTC (rev 15410)
@@ -59,7 +59,7 @@
     proj-devel
     proj-nad
     numpy
-    Pyrex
+    swig
     netcdf
     netcdf-devel
     mercurial
@@ -183,20 +183,10 @@
     make
     make test
 
-8. Install CIG's version of pyrexembed.
+8. Install pythia.
 
   a. Download the source code from the SVN repository.
 
-    svn co http://geodynamics.org/svn/cig/cs/pyrexembed/trunk pyrexembed
-
-  b. Install the software.
-
-    python setup.py install --prefix=${CIG_DIR}
-
-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.
@@ -207,7 +197,7 @@
 
     export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
 
-10. Install nemesis.
+9. Install nemesis.
 
   a. Download the source code from the SVN repository.
 
@@ -224,7 +214,7 @@
     make
     make install
 
-11. Install spatialdata.
+10. Install spatialdata.
 
   a. Download the source code from the SVN repository.
 
@@ -241,7 +231,7 @@
     make install
     make check
 
-12. Install PyLith.
+11. Install PyLith.
 
   a. Download the source code from the SVN repository.
 

Modified: short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt
===================================================================
--- short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt	2009-07-01 00:49:01 UTC (rev 15409)
+++ short/3D/PyLith/trunk/doc/install/MacBookPro_Aagaard.txt	2009-07-01 00:49:33 UTC (rev 15410)
@@ -207,12 +207,10 @@
     make
     make test
 
-13. Install Pyrex (http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/)
+13. Install SWIG (http://www.swig.org)
 
-  Versions up to and including 0.9.5.1 are known to work.
+ a. Untar and install.
 
-  a. Untar and install.
-
     python setup.py install --prefix=${TOOLS_DIR}/pyrex-0.9.5.1/${TOOLS_FORMAT}
 
   b. Update environment variables
@@ -222,20 +220,10 @@
     export PYTHONPATH=${PYTHONPATH}:${PYREX_DIR}/bin
     export PATH=${PATH}:${PYREX_DIR}/bin
 
-14. Install CIG's version of pyrexembed.
+14. Install pythia.
 
   a. Download the source code from the SVN repository.
 
-    svn co http://geodynamics.org/svn/cig/cs/pyrexembed/trunk pyrexembed
-
-  b. Install the software.
-
-    python setup.py install --prefix=${CIG_DIR}
-
-15. 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.
@@ -246,7 +234,7 @@
 
     export PYTHIA_INCDIR=${CIG_INCDIR}/pythia-0.8
 
-16. Install nemesis.
+15. Install nemesis.
 
   a. Download the source code from the SVN repository.
 
@@ -266,7 +254,7 @@
     delete "-arch ppc" or "-arch intel", which ever one is not for
     your machine.
 
-17. Install PROJ.4 (http://trac.osgeo.org/proj/)
+16. Install PROJ.4 (http://trac.osgeo.org/proj/)
 
   a. Download the source code AND the datum shifts (proj-datumgrid-1.4.zip).
 
@@ -286,7 +274,7 @@
     PATH=${PATH}:${PROJ4_DIR}/bin
     export MANPATH=${MANPATH}:${PROJ4_DIR}/man
 
-18. Install spatialdata.
+17. Install spatialdata.
 
   a. Download the source code from the SVN repository.
 
@@ -303,7 +291,7 @@
     make install
     make check
 
-19. Install PyLith.
+18. Install PyLith.
 
   a. Download the source code from the SVN repository.
 



More information about the CIG-COMMITS mailing list