[2377] | 1 | \documentclass{manual} |
---|
[2287] | 2 | |
---|
| 3 | |
---|
[2377] | 4 | \title{ANUGA Installation Guide} |
---|
| 5 | |
---|
[2287] | 6 | \author{Howard Silcock, Ole Nielsen, Duncan Gray, Jane Sexton} |
---|
| 7 | |
---|
[2377] | 8 | % Please at least include a long-lived email address; |
---|
| 9 | % the rest is at your discretion. |
---|
| 10 | \authoraddress{Geoscience Australia \\ |
---|
| 11 | Email: \email{ole.nielsen@ga.gov.au} |
---|
| 12 | } |
---|
[2287] | 13 | |
---|
[2377] | 14 | %Draft date |
---|
| 15 | \date{\today} % update before release! |
---|
[2422] | 16 | % Use an explicit date so that reformatting |
---|
| 17 | % doesn't cause a new date to be used. Setting |
---|
| 18 | % the date to \today can be used during draft |
---|
| 19 | % stages to make it easier to handle versions. |
---|
[2377] | 20 | |
---|
[2422] | 21 | \release{1.0} % release version; this is used to define the |
---|
| 22 | % \version macro |
---|
[2377] | 23 | |
---|
[2422] | 24 | \makeindex % tell \index to actually write the .idx file |
---|
| 25 | %\makemodindex % If this contains a lot of module sections. |
---|
[2377] | 26 | |
---|
| 27 | |
---|
| 28 | |
---|
[2287] | 29 | \begin{document} |
---|
| 30 | \maketitle |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | |
---|
[2377] | 34 | % This makes the contents more accessible from the front page of the HTML. |
---|
| 35 | \ifhtml |
---|
| 36 | \chapter*{Front Matter\label{front}} |
---|
| 37 | \fi |
---|
[2287] | 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
[2377] | 42 | \chapter{Introduction} |
---|
[2287] | 43 | |
---|
[2377] | 44 | This document outlines the required software for installing the Anuga toolbox. |
---|
| 45 | All components are licensed as open source and readily available from the net. |
---|
[2422] | 46 | |
---|
| 47 | |
---|
[2377] | 48 | \section{Pre-requisites} |
---|
| 49 | |
---|
[2287] | 50 | The Anuga software core (pyvolution, pmesh, least\_squares, ...) depends on the following: |
---|
| 51 | |
---|
[2422] | 52 | \begin{itemize} |
---|
[2287] | 53 | \item python 2.3 or later \url{http://www.python.org} |
---|
| 54 | \item python-numeric |
---|
| 55 | \item python-dev (Interestingly, numeric seems to be installed as well) |
---|
[2422] | 56 | \item python-scientific (to provide python-netcdf) |
---|
| 57 | \url{http://www-md.fsl.noaa.gov/eft/developer/netCDFPythonInterface.html} |
---|
| 58 | (The file netcdf.dll shipped with python-scientific must be copied to a |
---|
[2788] | 59 | location somewhere on the system PATH - e.g.\ in \verb|C:\bin|) |
---|
[2287] | 60 | \item A C compiler such as gcc (from GNU in case of Linux and MinGW in case of Windows) |
---|
[2422] | 61 | \end{itemize} |
---|
| 62 | |
---|
| 63 | |
---|
[2377] | 64 | \section{Recommended software} |
---|
[2287] | 65 | |
---|
[2422] | 66 | \begin{itemize} |
---|
[2287] | 67 | \item psyco \url{http://psyco.sourceforge.net/index.html} |
---|
| 68 | \item visual python \url{http://vpython.org} |
---|
| 69 | \item matplotlib (pylab) for quality 2d plotting |
---|
[2788] | 70 | \item VTK \url{http://mayavi.sourceforge.net/dwnld/vtk/win32/} |
---|
| 71 | \end{itemize} |
---|
[2287] | 72 | |
---|
| 73 | |
---|
| 74 | |
---|
[2377] | 75 | \section{System configuration} |
---|
[2287] | 76 | |
---|
| 77 | |
---|
[2422] | 78 | The system path on Win32 architectures must contain the directories |
---|
| 79 | \begin{verbatim} |
---|
| 80 | PATH=C:\Python23;C:\MinGW\bin;C:\Program Files\swollen |
---|
| 81 | \end{verbatim} |
---|
[2287] | 82 | (similar for Linux....) |
---|
| 83 | |
---|
[2422] | 84 | In addition the root directory for all anuga/inundation modules must be on |
---|
[2377] | 85 | the pythonpath, e.g.\ |
---|
[2422] | 86 | \begin{verbatim} |
---|
[2788] | 87 | PYTHONPATH=C:\anuga\inundation |
---|
[2422] | 88 | \end{verbatim} |
---|
[2287] | 89 | |
---|
| 90 | |
---|
| 91 | |
---|
[2422] | 92 | |
---|
| 93 | |
---|
[2377] | 94 | \section{Installation} |
---|
[2287] | 95 | |
---|
| 96 | (Explain how to check out from svn or obtain from elsewhere) |
---|
| 97 | |
---|
| 98 | |
---|
[2377] | 99 | In the ANUGA root directory, run the compilation script: |
---|
[2287] | 100 | {\small \begin{verbatim} |
---|
| 101 | python compile_all.py |
---|
| 102 | \end{verbatim}} |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | \subsection{Testing} |
---|
| 107 | |
---|
[2377] | 108 | In the ANUGA root directory, run the test suite: |
---|
[2287] | 109 | {\small \begin{verbatim} |
---|
| 110 | python test_all.py |
---|
| 111 | \end{verbatim}} |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | \section{Other stuff to be included} |
---|
| 117 | |
---|
[2422] | 118 | \begin{verbatim} |
---|
[2377] | 119 | Install tortoise from downloads (ITs didn't integrate wih explorer). |
---|
[2287] | 120 | In settings set proxy to proxy.agso.gov.au 8080 |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | Install swollen from latest distro (in subversion) |
---|
| 124 | |
---|
| 125 | |
---|
[2422] | 126 | \end{verbatim} |
---|
[2287] | 127 | |
---|
| 128 | |
---|
| 129 | |
---|
[2377] | 130 | |
---|
[2422] | 131 | |
---|
[2287] | 132 | \end{document} |
---|