/[escript]/trunk/doc/user/Installation.tex
ViewVC logotype

Diff of /trunk/doc/user/Installation.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1700 by lgraham, Thu Aug 14 03:35:46 2008 UTC revision 1705 by ksteube, Thu Aug 14 05:56:40 2008 UTC
# Line 90  to unpack the source files into the dire Line 90  to unpack the source files into the dire
90  The installation is started by  The installation is started by
91  \begin{verbatim}  \begin{verbatim}
92    cd <my esys dir>    cd <my esys dir>
93    scons dodebug=no    scons usedebug=no
94  \end{verbatim}  \end{verbatim}
95  By default the configuration for Linux is used. If there is a file \verb|scons/<hostname>_options.py| it will contain values to over-ride the default settings. Use =scons/ess_options.py= as a staring point to create a file for your machine. If you want to use personalized settings in a file called =myoptions.py= you can run  By default the configuration for Linux is used. If there is a file \verb|scons/<hostname>_options.py| it will contain values to over-ride the default settings. Use =scons/ess_options.py= as a staring point to create a file for your machine. If you want to use personalized settings in a file called =myoptions.py= you can run
96  \begin{verbatim}  \begin{verbatim}
97    cd <my esys dir>    cd <my esys dir>
98    scons dodebug=no options_file=myoptions.py    scons usedebug=no options_file=myoptions.py
99  \end{verbatim}  \end{verbatim}
100  You can also over-ride individual settings through the command line:  You can also over-ride individual settings through the command line:
101  \begin{verbatim}  \begin{verbatim}
102     cd <my esys dir>     cd <my esys dir>
103    scons dodebug=no libinstall=/usr/lib    scons usedebug=no libinstall=/usr/lib
104  \end{verbatim}  \end{verbatim}
105  This will install the libraries into the directory \verb|/usr/lib|.  This will install the libraries into the directory \verb|/usr/lib|.
106    
# Line 118  To uninstall the software use Line 118  To uninstall the software use
118  If you have more than one processor available for compilation you can use the -j option to tell scons to do parallel compiles:  If you have more than one processor available for compilation you can use the -j option to tell scons to do parallel compiles:
119  \begin{verbatim}  \begin{verbatim}
120     cd <my esys dir>     cd <my esys dir>
121     scons dodebug=no -j 8     scons usedebug=no -j 8
122  \end{verbatim}  \end{verbatim}
123  \section{Running Release Tests}  \section{Running Release Tests}
124  You can run the test suite of approximately 30,000 unit tests in a few hours with  You can run the test suite of approximately 30,000 unit tests in a few hours with
125  \begin{verbatim}  \begin{verbatim}
126     cd <my esys dir>     cd <my esys dir>
127     scons dodebug=no all_tests     scons usedebug=no all_tests
128  \end{verbatim}  \end{verbatim}
129    
130  \section{Environment Setup}  \section{Environment Setup}
# Line 137  export LD_LIBRARY_PATH=<my esys dir>/lib Line 137  export LD_LIBRARY_PATH=<my esys dir>/lib
137  If you build \esys with  If you build \esys with
138  \begin{verbatim}  \begin{verbatim}
139     cd <my esys dir>     cd <my esys dir>
140     scons dodebug=no prefix=/usr     scons usedebug=no prefix=/usr
141  \end{verbatim}  \end{verbatim}
142  then your libraries and python modules will be installed in system directories and you will  then your libraries and python modules will be installed in system directories and you will
143  not have to set LD_LIBRARY_PATH and PYTHONPATH (assuming python is installed in  not have to set LD_LIBRARY_PATH and PYTHONPATH (assuming python is installed in
# Line 160  python poisson.py Line 160  python poisson.py
160    
161  \subsection{MPI Support}  \subsection{MPI Support}
162    
163  If you wish to use MPI parallelization, and it has been switched on during compilation with useMPI=yes, you need to use the following commands to run scripts in parallel (in this case with four CPUs):  If you wish to use MPI parallelization, and it has been switched on during compilation with usempi=yes, you need to use the following commands to run scripts in parallel (in this case with four CPUs):
164  \begin{verbatim}  \begin{verbatim}
165  cd <my esys dir>/doc/examples  cd <my esys dir>/doc/examples
166  mpirun -np 4 <my esys dir>/lib/pythonMPI poisson.py  mpirun -np 4 <my esys dir>/lib/pythonMPI poisson.py

Legend:
Removed from v.1700  
changed lines
  Added in v.1705

  ViewVC Help
Powered by ViewVC 1.1.26