Changeset 1278


Ignore:
Timestamp:
07/09/09 17:13:18 (16 years ago)
Author:
Mathieu Morlighem
Message:

update beginning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/doc/userguide/userguide.tex

    r1 r1278  
    11%%% Debut du preambule %%%
    22
    3 \documentclass[letterpaper]{report}     % Classe du document
    4 \usepackage[T1]{fontenc}            % Encodage de sortie (l'encodage T1 convient mieux aux langues autres que l'Anglais)
    5 \usepackage{aeguill,aecompl}        % Fontes virtuelles (nuit aux recherches et aux copies de texte dans le document PDF) pour PDF:
    6                                     % ameliore la qualite de la visualisation avec Acrobat Reader
    7 
    8 %\hypersetup{colorlinks=true,linkcolor=blue,citecolor=magenta}
    9 
    10 
     3\documentclass[letterpaper]{report}
     4\usepackage[T1]{fontenc}
     5\usepackage{aeguill,aecompl}
    116\title{ISSM documentation}
    127\author{Larour, Morlighem, Seroussi, Khazendar}
     
    2520\usepackage{fancyhdr}
    2621
    27 \lhead{\leftmark{}} %en haut a gauche, titre de section
    28 \rhead{\thepage}   %en haut a droite, page
    29 \lfoot{NASA - Jet Propulsion Laboratory} %en bas a gauche
    30 \rfoot{\scriptsize{\today}} %en bas a droite
    31 \cfoot{ISSM Documentation} %en bas, au milieu
    32 \setcounter{tocdepth}{4}                     %pour afficher la table des matiere au niveau subsection
     22\lhead{\leftmark{}}
     23\rhead{\thepage}
     24\lfoot{NASA - Jet Propulsion Laboratory}
     25\rfoot{\scriptsize{\today}}
     26\cfoot{ISSM Documentation}
     27\setcounter{tocdepth}{4}
    3328\setcounter{secnumdepth}{4}
    3429
     
    7267\smallskip
    7368{\bf \large H\'el\`ene Seroussi$^{2,4}$} \\
    74 \smallskip
    75 {\bf \large Ala Khazendar$^{2}$} \\
    7669\smallskip
    7770{\bf \large \'Eric Rignot$^{2,3}$} \\
     
    9285$^{4}$Laboratoire de M\'ecanique des sols, Structures et  mat\'eriaux (MSSMat)\\
    9386\'Ecole Centrale Paris, CNRS UMR 8579\\
    94 Grande Voie des Vignes, 92295 Châtenay-Malabry Cedex, FRANCE\\
     87Grande Voie des Vignes, 92295 Chtenay-Malabry Cedex, FRANCE\\
    9588
    9689\vspace{0.5cm}
     
    112105\tableofcontents
    113106
    114 %\pagestyle{headings}
    115 %\chapter*{Introduction}
    116 %\markboth{CHAPTER 1: Introduction}{}
    117 %\vspace{.5in}
    118 
    119107\pagestyle{headings}
    120108\chapter{Installation}
     
    124112\vspace{.5in}
    125113
    126 \section{Fetching code from repository} 
    127 \label{Fetching_Code_From_Repository}
    128 
    129 $ISSM$ is actively managed using a code versioning  system called CVS. The code is stored in a repository, and can
    130 be remotely fetched, modified, updated, and uploaded. This allows for multiple users to develop the code in an
    131 organized way. In order to fetch a version of the code, users will need to install CVS on their machine. This versioning
    132 system is available at the following address: \url{http://www.nongnu.org/cvs/}.
    133 Once CVS, issue the following command:
    134 \begin{verbatim}> cvs -d useraccount@wilkes.jpl.nasa.gov:/home/larour/Ice_Repository  co -r ice2 -P ice1 \end{verbatim}
    135 This command will download the stable version of the code $ISSM$ named $ice2$ from the repository on the wilkes machine, located
    136 in the $/home/larour/Ice_Repository$ directory, onto the current local directory (replace $useraccount$ by your user name on wilkes). Users are free to choose whichever location they want and to rename $ice1$.  Users should not forget the $-P$ option. Failing to do so would allow CVS to fetch empty directories.
    137 This would result in a code structure not intended by the developers.
    138 
    139 \section{Setting up $ISSM$} 
    140 In the main directory of $ISSM$ (initially named $ice1$), open the file $install.sh$ and modify the configuration if you need to:
    141 \begin{itemize}
    142 \item $CONFIG="config\_linux32.mk"$ for a 32 bits linux OS,
     114\section{Downloading the code} 
     115
     116To download \emph{ISSM}, you can either use the link on in the upper menu "Installation/Download" on \emph{ISSM} website: \url{www.issm.jpl.nasa.gov} or use \href{http://subversion.tigris.org/}{SVN}.
     117\emph{ISSM} is actively managed using a code versioning  system called \href{http://subversion.tigris.org/}{SVN}.
     118The code is stored in a repository, and can be remotely fetched, modified, updated, and uploaded.
     119This allows for multiple users to develop the code in an organized way.
     120In order to fetch a version of the code, users will need to install \href{http://subversion.tigris.org/}{SVN} on their machine.
     121Once \href{http://subversion.tigris.org/}{SVN} has been installed, \emph{ISSM} can be downloaded by the following command:
     122\begin{verbatim}$ svn checkout http://s383-rhat/issm/svn\end{verbatim}
     123This command will download the last version of the code \emph{ISSM} from the repository, onto the current local directory.
     124Users are free to choose whichever location they want and to rename issm.
     125
     126\section{Configuration of your .bashrc}
     127In order for ISSM to work correctly, you should add the following lines in your shell
     128environment script (.bashrc or .cshrc).
     129\begin{verbatim}#ISSM
     130export ISSM_DIR=ISSMPATH
     131source $ISSM_DIR/etc/environment.sh\end{verbatim}
     132Where \verb| ISSMPATH | is the path of ISSM main directory (ex: /home/user1/svn/issm/trunk).
     133When this is done, type in the prompt:
     134\begin{verbatim}$ bash\end{verbatim}
     135
     136\section{Setting up \emph{ISSM}} 
     137In the main directory of \emph{ISSM} (initially named $ice1$), open the file $install.sh$ and modify the configuration if you need to:
     138\begin{itemize}
     139\item $CONFIG="config\_linux32.mk"$ for a 32 \verb| test test | test bits linux OS,
    143140\item $CONFIG="config\_linux64.mk"$ for a 64 bits linux OS,
    144141\item $CONFIG="config\_mac.mk"$ for Mac OS X
Note: See TracChangeset for help on using the changeset viewer.