[cig-commits] r16933 - in short/3D/PyLith/trunk/doc: . install presentations releasenotes userguide

brad at geodynamics.org brad at geodynamics.org
Tue Jun 8 09:39:31 PDT 2010


Author: brad
Date: 2010-06-08 09:39:31 -0700 (Tue, 08 Jun 2010)
New Revision: 16933

Removed:
   short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-Intel64.txt
   short/3D/PyLith/trunk/doc/uml/
Modified:
   short/3D/PyLith/trunk/doc/install/Makefile.am
   short/3D/PyLith/trunk/doc/presentations/Makefile.am
   short/3D/PyLith/trunk/doc/releasenotes/Makefile.am
   short/3D/PyLith/trunk/doc/userguide/Makefile.am
Log:
Updated doc Makefiles.

Deleted: short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-Intel64.txt
===================================================================
--- short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-Intel64.txt	2010-06-08 16:28:06 UTC (rev 16932)
+++ short/3D/PyLith/trunk/doc/install/Cluster_Rocks-4.3-Intel64.txt	2010-06-08 16:39:31 UTC (rev 16933)
@@ -1,363 +0,0 @@
-======================================================================
-INSTRUCTIONS FOR INSTALLING PYLITH ON AN INTEL LINUX CLUSTER RUNNING ROCKS-4.3
-======================================================================
-
-I place applications that are rarely updated in $HOME/tools. 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.
-
-On an x86_64 system it is important to keep files associated with a
-32-bit architecture separate from those associated with a 64-bit
-architecture. Some architecture independent files are put in
-$PREFIX/lib with 64-bit architecture files in $PREFIX/lib64. In most
-cases when a library with versions for both architectures is
-available, the linker will use the one compatible with the requested
-architecture (the default is usually the 64-bit architecture).
-
-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=${HOME}/tools
-  export TOOLS_FORMAT=gcc-3.4_64
-  export PYTHON_VERSION=2.4
-
-  export CIG_DIR=${HOME}/tools/cig/${TOOLS_FORMAT}
-  export CIG_INCDIR=${CIG_DIR}/include
-  export CIG_LIBDIR=${CIG_DIR}/lib
-  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CIG_LIBDIR}
-  export PYTHONPATH=${PYTHONPATH}:${CIG_DIR}/lib64/python${PYTHON_VERSION}/site-packages:${CIG_DIR}/lib/python${PYTHON_VERSION}/site-packages
-  PATH=${CIG_DIR}/bin:$PATH
-
-1. Install additional CentOS packages (must be root). **NOT NEEDED??**
-
-  Make sure the Rocks installation procedure installs the following
-  packages (these are not usually installed by default).
-
-  These can be installed by running
-
-    rpm -Uvh /home/install/rocks-dist/lan/x86_64/RedHat/RPMS/PACKAGE_FILE.rpm
-
-    gdb
-    libtool
-
-2. Adjust your environment to use Python 2.4 instead of Python 2.3.
-
-  Python 2.3 contains bugs that prevent its full functionality on a
-  x86_64 system. Rocks installs Python 2.4 in /opt/rocks.
-
-  PATH=/opt/rocks/bin:${PATH}
-  export PYTHON_DIR=/opt/rocks/lib/python$PYTHON_VERSION
-  export PYTHON_LIBDIR=/opt/rocks/lib/python$PYTHON_VERSION
-  export PYTHON_INCDIR=/opt/rocks/include/python$PYTHON_VERSION
-
-3. Install BLAS/LAPACK (needed by numpy and PETSc).
-
- a. Untar the source code.
-
- b. Edit the Makefile and make.inc files accordingly.
-
- c. Run make and make install.
-
- d. Set environment variables.
-
-    LAPACK_DIR=${TOOLS_DIR}/lapack/${TOOLS_FORMAT}
-    export LAPACK_LIBDIR=${LAPACK_DIR}/lib
-    export LD_LIBRARY_PATH=${LAPACK_LIBDIR}:${LD_LIBRARY_PATH}
-
-4. Install numpy (http://numpy.scipy.org/).
-
-  PyLith requires numpy >= 1.0 (the version that comes with Rocks 4.3
-  is 0.9).
-
-  a. Untar the source code.
-
-  b. Create a site.cfg file.
-
-    cp site.cfg.example site.cfg.
-
-    Set the library_dirs and libraries 
-
-  b. Install the software.
-
-    python setup.py install --prefix=${TOOLS_DIR}/numpy-1.3.0/${TOOLS_FORMAT}
-
-  c. Set environment variables.
-
-    NUMPY_DIR=${TOOLS_DIR}/numpy-1.3.0/${TOOLS_FORMAT}
-    export PYTHONPATH=${PYTHONPATH}:${NUMPY_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-
-5. Install mercurial (http://www.selenic.com/mercurial/wiki/)
-
-  a. Untar the source code.
-
-  b. Install the package.
-
-    python setup.py install --prefix=$TOOLS_DIR/mercurial-1.4.3/${TOOLS_FORMAT}
-
-  c. Set environment variables.
-
-    MERCURIAL_DIR=${TOOLS_DIR}/mercurial-1.4.3/${TOOLS_FORMAT}
-    PATH=${PATH}:${MERCURIAL_DIR}/bin
-    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MERCURIAL_DIR}/lib
-    export PYTHONPATH=${PYTHONPATH}:${MERCURIAL_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-6. Install MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/)
- 
- a. Untar the source and then run configure, build, and install.
-
-    export CC=gcc
-    export CXX=g++
-    export F77=g77
-    export FC=g77
-    export CFLAGS="-fPIC"
-    export CXXFLAGS=-fPIC
-    export F77FLAGS=-fPIC
-    export LIBS="-lpthread -lrt"
-
-    ./configure --with-arch=LINUX --disable-f90 --enable-sharedlibs=gcc --enable-cxx --prefix=${TOOLS_DIR}/mpich2-1.0.4p1/${TOOLS_FORMAT} --enable-g=none
-    make
-    make install
-
-  b. Set environment variables.
-
-    export RSHCOMMAND=ssh
-    export MPI_DIR=${TOOLS_DIR}/mpich2-1.0.4p1/${TOOLS_FORMAT}
-    PATH=$MPI_DIR/bin:$PATH
-    export MANPATH=$MPI_DIR/man:$MANPATH
-    export MPI_INCDIR=$MPI_DIR/include
-    export MPI_LIBDIR=$MPI_DIR/lib
-    export LD_LIBRARY_PATH=${MPI_LIBDIR}:${LD_LIBRARY_PATH}
-    export MPI_VERSION=2
-
-7. 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 -lpthread -lrt
-
-  c. Run make. Make sure libraries are created libmetis.a and
-  libparmetis.a. Don't worry about errors when attempting to create
-  any executables.
-
-  d. Create library and include directories by hand.
-
-    mkdir -p ${TOOLS_DIR}/parmetis-3.1/$TOOLS_FORMAT/lib ${TOOLS_DIR}/parmetis-3.1/$TOOLS_FORMAT/include
-
-  e. Create shared libraries by hand.
-
-    cd ${TOOLS_DIR}/parmetis-3.1/${TOOLS_FORMAT}/lib
-    mkdir tmp
-    cd tmp
-    ar -x ../libmetis.a
-    gcc -o ../libmetis.so -shared *.o
-    rm *.o
-    ar -x ../libparmetis.a
-    gcc -o ../libparmetis.so -shared *.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 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PARMETIS_LIBDIR}
-
-8. Install cppunit (http://cppunit.sourceforge.net/cppunit-wiki)
-
-  a. Untar the source and run configure, build, and install.
-
-    ./configure --prefix=${TOOLS_DIR}/cppunit-1.10.2/${TOOLS_FORMAT}
-    make
-    make install
-
-  b. Set environment variables.
-
-    CPPUNIT_DIR=${TOOLS_DIR}/cppunit-1.10.2/${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}
-
-9. Install FIAT (http://www.fenics.org/wiki/FIAT)
-
-  a. Install FIAT. Versions 0.3.x are known to work.
-
-    python setup.py install --prefix=$TOOLS_DIR/fiat-0.3.5/${TOOLS_FORMAT}
-
-  b. Set environment variables.
-
-    FIAT_DIR=${TOOLS_DIR}/fiat-0.3.5/${TOOLS_FORMAT}
-    export PYTHONPATH=${PYTHONPATH}:${FIAT_DIR}/lib/python${PYTHON_VERSION}/site-packages
-
-10. Install the development version of PETSc
-  (http://www-unix.mcs.anl.gov/petsc/petsc-as/)
-
-  These instructions cover installing the development version of
-  PETSc. Use mercurial to download the repository rather than
-  downloading a tarball.
-
-  a. Clone the source repository.
-
-    cd $TOOLS_DIR/petsc
-    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=linux_${TOOLS_FORMAT}_opt
-
-  c. Configure PETSc, build, and test.
-
-    ARCH_FLAGS="--PETSC_ARCH=linux_${TOOLS_FORMAT}_opt --with-debugging=no"
-    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=${TOOLS_DIR}/mpich2-1.0.4p1/gcc-3.4_64 --with-mpi-shared=0"
-    LIBS="-L${PVFS2_LIBDIR} -lpvfs2 -lssl -lpthread -lrt"
-    OPTIONS="--with-lgrind=0 --download-tetgen"
-    PART_FLAGS="--with-chaco=1 --download-chaco=1 --with-parmetis=1 --with-parmetis-dir=${TOOLS_DIR}/parmetis-3.1/gcc-3.4_64"
-    SIEVE_FLAGS="--with-sieve=1 --with-boost=1 --download-boost=1"
-    config/configure.py ${ARCH_FLAGS} ${LANG_FLAGS} ${BUILD_FLAGS} --with-blas-lapack-lib="-L${ACML_LIBDIR} -lacml -lacml_mv" ${MPI_FLAGS} --LIBS="-L${PVFS2_LIBDIR} -lpvfs2 -lssl" ${OPTIONS} ${PART_FLAGS} ${SIEVE_FLAGS}
-    make
-    make test
-
-11. 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
-
-12. Install pythia.
-
-  I place all CIG source code in src/cig.
-
-  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
-
-13. 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} -L${PVFS2_LIBDIR}"  LIBS="-lpvfs2 -lssl -lpthread -lrt"  CC=gcc CXX=g++ FC=g77 F77=g77
-    make
-    make install
-
-14. Install PROJ.4 (http://trac.osgeo.org/proj/)
-
-  a. Download the source code AND the datum shifts (proj-datumgrid-1.3.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}  CC=gcc CXX=g++ FC=g77 F77=f77
-    make
-    make install
-
-  d. Set environment variables.
-
-    PROJ4_DIR=${TOOLS_DIR}/proj-4.5.0/${TOOLS_FORMAT}
-    PATH=${PATH}:${PROJ4_DIR}/bin
-    export PROJ4_INCDIR=${PROJ4_DIR}/include
-    export PROJ4_LIBDIR=${PROJ4_DIR}/lib
-    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PROJ4_LIBDIR}
-    export MANPATH=${MANPATH}:${PROJ4_DIR}/man
-
-15. Install netcdf (http://www.unidata.ucar.edu/software/netcdf/).
-
-  a. Untar the source code.
-
-  b. Run configure and build.
-
-    ./configure --prefix=${TOOLS_DIR}/netcdf-3.6.2/${TOOLS_FORMAT} --disable-f90 --enable-shared CC=gcc CXX=g++ F77=g77 CFLAGS=-fPIC FFLAGS=-fPIC
-    make
-    make install
-
-  c. Set environment variables.
-
-    NETCDF_DIR=${TOOLS_DIR}/netcdf-3.6.2/${TOOLS_FORMAT}
-    export NETCDF_INCDIR=${NETCDF_DIR}/include
-    export NETCDF_LIBDIR=${NETCDF_DIR}/lib
-
-
-16. 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-pythia --enable-swig --enable-testing  --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++ FC=g77 F77=f77
-    make
-    make install
-    make check
-
-17. 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-swig --enable-tetgen --enable-cubit --prefix=${CIG_DIR}  CPPFLAGS="-I${PROJ4_INCDIR} -I${CPPUNIT_INCDIR} -I${CIG_INCDIR} -I${PYTHIA_INCDIR} -I${NETCDF_INCDIR}"  LDFLAGS="-L${PROJ4_LIBDIR} -L${CPPUNIT_LIBDIR} -L${CIG_LIBDIR} -L${NETCDF_LIBDIR}"  LIBS=""  CC=gcc CXX=g++ FC=g77 F77=f77
-    make
-    make install
-    make check

Modified: short/3D/PyLith/trunk/doc/install/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/doc/install/Makefile.am	2010-06-08 16:28:06 UTC (rev 16932)
+++ short/3D/PyLith/trunk/doc/install/Makefile.am	2010-06-08 16:39:31 UTC (rev 16933)
@@ -12,8 +12,20 @@
 
 EXTRA_DIST = \
 	README \
+	Cluster_CIT-garuda.txt \
+	Cluster_CIT-garuda/PyLith.README \
+	Cluster_CIT-garuda/sample.bashrc \
+	Cluster_CIT-garuda/sample.bash.tools \
+	Cluster_CIT-garuda/sample.pylithapp.cfg \
+	Cluster_CIT-pangu.txt \
+	Cluster_CIT-pangu/PyLith.README \
+	Cluster_CIT-pangu/sample.bashrc \
+	Cluster_CIT-pangu/sample.bash.tools \
+	Cluster_CIT-pangu/sample.pylithapp.cfg \
 	Cluster_Rocks-4.3-AMD64.txt \
 	Cluster_Rocks-4.3-AMD64_bash.sh \
+	Linux_ubuntu-AMD64_Aagaard.txt \
+	Linux_ubuntu-AMD64_Aagaard.sh \
 	Linux_Fedora8-AMD64_Aagaard.txt \
 	Linux_Fedora8-AMD64_Aagaard_bash.sh \
 	MacBookPro_Aagaard.txt \

Modified: short/3D/PyLith/trunk/doc/presentations/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/doc/presentations/Makefile.am	2010-06-08 16:28:06 UTC (rev 16932)
+++ short/3D/PyLith/trunk/doc/presentations/Makefile.am	2010-06-08 16:39:31 UTC (rev 16933)
@@ -14,7 +14,8 @@
 	pylith1.0/pylith_overview.pdf \
 	pylith1.2/pylith_overview.pdf \
 	pylith1.3/pylith_overview.pdf \
-	pylith1.4/pylith_overview.pdf
+	pylith1.4/pylith_overview.pdf \
+	pylith1.5/pylith_overview.pdf
 
 
 # End of file 

Modified: short/3D/PyLith/trunk/doc/releasenotes/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/doc/releasenotes/Makefile.am	2010-06-08 16:28:06 UTC (rev 16932)
+++ short/3D/PyLith/trunk/doc/releasenotes/Makefile.am	2010-06-08 16:39:31 UTC (rev 16933)
@@ -17,7 +17,8 @@
 	announce_v1.2.0.txt \
 	announce_v1.3.0.txt \
 	announce_v1.3.1.txt \
-	announce_v1.4.0.txt
+	announce_v1.4.0.txt \
+	announce_v1.5.0.txt
 
 
 # End of file 

Modified: short/3D/PyLith/trunk/doc/userguide/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/Makefile.am	2010-06-08 16:28:06 UTC (rev 16932)
+++ short/3D/PyLith/trunk/doc/userguide/Makefile.am	2010-06-08 16:39:31 UTC (rev 16933)
@@ -15,6 +15,6 @@
 default: userguide.pdf
 
 userguide.pdf:
-	lyx -e pdflatex userguide.lyx
+	lyx -e pdf userguide.lyx
 
 # End of file 



More information about the CIG-COMMITS mailing list