[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet popinet at users.sf.net
Fri May 15 02:54:43 UTC 2009


The following commit has been merged in the upstream branch:
commit fbc79003da80ea69f3c2372f39f8d04c537685a7
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Sep 18 07:58:32 2007 +1000

    Removed obsolete installation instructions from the tutorial
    
    darcs-hash:20070917215832-d4795-671c04be5263626e0509c5c858de9db5e412f438.gz

diff --git a/doc/tutorial/tutorial.tex b/doc/tutorial/tutorial.tex
index e5267b4..2a0a315 100644
--- a/doc/tutorial/tutorial.tex
+++ b/doc/tutorial/tutorial.tex
@@ -53,202 +53,16 @@ shell (and that you are running some version of a Unix system). Some
 knowledge of C programming would also be very helpful if you intend to 
 extend Gerris with your own objects.
 
-\subsection{\label{installing}Installing and compiling Gerris}
-
-Gerris is written in C and uses two other C libraries which you need
-to install on your system first: the \htmladdnormallinkfoot{Glib
-library}{http://www.gtk.org} and the \htmladdnormallinkfoot{{\sc GTS}
-library}{http://gts.sf.net}. If you want to run the parallel version
-of Gerris, you will also need some implementation of the {\sc MPI}
-(Message Passing Interface) library. If you are using a parallel
-machine, {\sc MPI} is very likely to be already on your machine.
-
-If you are using a Linux system the Glib library is most probably
-already installed on your system. To be sure try this:
-\begin{verbatim}
-% glib-config --version
-\end{verbatim}
-or this
-\begin{verbatim}
-% pkg-config glib-2.0 --modversion
-\end{verbatim}
-If you get a result, you have the Glib library on your system,
-otherwise you will need to install it following the instructions on
-the Glib web site.
-
-\subsubsection{Using Debian packages}
-
-If you are using one of the Debian-based distribution (e.g. Debian,
-Knoppix, Ubuntu, etc...), you can install GTS and Gerris using your
-favourite Debian package management tool. Be aware however that the
-most recent version of Gerris may not be packaged yet for Debian
-(especially if you are using the ``testing'' or ``stable'' branches of
-Debian). To install Gerris using {\tt apt-get} just type as root:
-\begin{verbatim}
-% apt-get install gerris
-\end{verbatim}
-If you want to install only the Debian packages for GTS (and then
-compile Gerris from source) type:
-\begin{verbatim}
-% apt-get install libgts-dev
-\end{verbatim}
-In all cases, this will also install the required version of Glib.
-
-If you don't want to wait for an updated version of the official
-Debian package for Gerris, you can follow the development version of
-Gerris by using the unofficial Debian packages which are built every
-night automatically (see next section for more info). To do this just
-add the following lines to your {\tt apt-get} repository list (usually
-{\tt /etc/apt/sources.list}):
-\begin{verbatim}
-# GTS
-deb http://gts.sourceforge.net/debian/ ./
-# Gerris
-deb http://gfs.sourceforge.net/debian/ ./
-\end{verbatim}
-then do:
-\begin{verbatim}
-% apt-get update
-% apt-get install libgts-snapshot gerris-snapshot gfsview-snapshot
-\end{verbatim}
-this will install all the required libraries. When a new development
-version becomes available, doing an {\tt apt-get upgrade} will
-automatically upgrade your versions of GTS, Gerris and GfsView.
-
-\subsubsection{Which sources?}
-
-When installing from source, you will need to decide which version of
-Gerris you want to install. Installing from the current official
-release (by following the {\em Download Gerris x.x.x} link on the Gerris
-web site) should be safe. If you don't want to wait for official
-releases, you can install more current versions of Gerris by following
-the {\em Gerris snapshot} link. These snapshots are generated
-automatically every night (when the code changes). They are more
-experimental than the official release but are tested both for correct
-compilation and correct execution by runnning the automated
-\htmladdnormallinkfoot{test
-  suite}{\gfsweb/tests/tests/index.html}. If you
-choose to install from the snapshot, you will also need to install and
-regularly update GTS from the corresponding snapshots on the GTS web
-site.
-
-\subsubsection{Installing from source}
-\label{build_source}
-
-If you choose to install everything from source, you will need to
-install the {\sc GNU} Triangulated Surface Library ({\sc GTS}). To do
-that, go on the \htmladdnormallink{{\sc GTS} web
-  site}{http://gts.sf.net} and download a recent source file package.
-Move it to your preferred location for unpacking source files and
-type:
-\begin{verbatim}
-% gunzip gts.tar.gz
-% tar xvf gts.tar
-% cd gts
-\end{verbatim}
-You now need to decide where you want to install the library, if you
-have access to the root account, you can simply type:
-\begin{verbatim}
-% ./configure
-% make
-% su
-% make install
-% exit
-\end{verbatim}
-which will install everything in {\tt /usr/local} by default.
-
-If you don't have access to the root password or want to install the
-library somewhere else like {\tt /home/joe/local} for example, you can 
-type instead:
-\begin{verbatim}
-% ./configure --prefix=/home/joe/local
-% make
-% make install
-\end{verbatim}
-You can also type
-\begin{verbatim}
-% ./configure --help
-\end{verbatim}
-to get a summary of the options taken by configure.
-
-You probably want to add {\tt /home/joe/local/bin} to your {\tt PATH},
-{\tt /home/joe/local/lib} to your {\tt LD}\_{\tt LIBRARY}\_{\tt PATH}
-and {\tt /home/joe/local/lib/pkgconfig} to your {\tt PKG}\_{\tt CONFIG}\_{\tt PATH}.
-
-The next step is installing Gerris itself, do the same, go to the
-\htmladdnormallinkfoot{Gerris web site}{\gfsweb} download a recent source file
-package and type:
-\begin{verbatim}
-% gunzip gerris.tar.gz
-% tar xvf gerris.tar
-% cd gerris
-% ./configure --prefix=/home/joe/local
-% make
-% make install
-\end{verbatim}
-Both the 2D and 3D versions of the code are built. In this tutorial,
-we will for convenience only work with 2D simulations. However, all we
-will learn can be applied directly to 3D simulations.
+If Gerris is not already installed on your system, have a look at the
+\htmladdnormallinkfoot{installation
+  instructions}{\gfsweb/wiki/index.php/Installation\_summary} on the
+Gerris web site.
 
 We are now ready to start. Just to check that everything is okay try:
 \begin{verbatim}
 % gerris2D -V
 \end{verbatim}
 
-\subsubsection{Installing from the version control system}
-\label{build_darcs}
-
-Installing from the version control system is the preferred way of installing
-Gerris if you want to change the code and submit changes for inclusion
-in the main Gerris distribution. I currently use
-\htmladdnormallinkfoot{darcs}{http://abridgegame.org/darcs/}, a very
-nice distributed version control system. I will just give a recipe on
-how to install Gerris from the central darcs repository. You should
-consult the \htmladdnormallinkfoot{darcs
-  manual}{http://abridgegame.org/darcs/manual/} if you want to learn
-more about darcs. 
-
-After \htmladdnormallinkfoot{installing
-  darcs}{http://darcs.net/DarcsWiki/CategoryBinaries}, to get the
-current stable version of Gerris using darcs do:
-\begin{verbatim}
-% darcs get http://gfs.sf.net/darcs/gerris/gerris-stable
-\end{verbatim}
-which will create a {\tt gerris-stable} directory containing the
-source code. To build Gerris you will need the autoconf, automake
-toolsuite. The version of Automake must be $>=$ 1.7 (it won't work
-with the 1.4 series). Then type:
-\begin{verbatim}
-% cd gerris-stable
-% sh autogen.sh
-\end{verbatim}
-which will generate the configure script. Then follow the instructions
-of section \ref{build_source}.
-
-The darcs repository is updated regularly with patches submitted by
-developers. To synchronise your current version with the most recent
-one type:
-\begin{verbatim}
-% cd gerris-stable
-% darcs pull
-% make
-% make install
-\end{verbatim}
-
-If you make changes to the source code and want to record these in darcs type:
-\begin{verbatim}
-% darcs record
-\end{verbatim}
-
-You will also need to track the changes made to the GTS library if they
-are used by the current version of Gerris. I also use darcs to store
-GTS changes. To install GTS just repeat the instructions using {\tt
-  http://gts.sf.net/darcs/gts-mainline} as source repository.
-
-Note that whenever you update/re-install GTS, you will need to rebuild
-Gerris. Just changing to the source directory of Gerris and typing
-{\tt make} will rebuild Gerris if GTS has been reinstalled.
-
 \subsection{Simulation file}
 
 Gerris is a console-based program. It takes a {\em parameter} or {\em

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list