1 | \documentclass{manual} |
---|
2 | |
---|
3 | |
---|
4 | \title{ANUGA Installation Guide} |
---|
5 | |
---|
6 | \author{Howard Silcock, Ole Nielsen, Duncan Gray, Jane Sexton} |
---|
7 | |
---|
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 | } |
---|
13 | |
---|
14 | %Draft date |
---|
15 | \date{\today} % update before release! |
---|
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. |
---|
20 | |
---|
21 | \release{1.0} % release version; this is used to define the |
---|
22 | % \version macro |
---|
23 | |
---|
24 | \makeindex % tell \index to actually write the .idx file |
---|
25 | %\makemodindex % If this contains a lot of module sections. |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | \begin{document} |
---|
30 | \maketitle |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | % This makes the contents more accessible from the front page of the HTML. |
---|
35 | \ifhtml |
---|
36 | \chapter*{Front Matter\label{front}} |
---|
37 | \fi |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | \chapter{Introduction} |
---|
43 | |
---|
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. |
---|
46 | |
---|
47 | |
---|
48 | \section{Pre-requisites} |
---|
49 | |
---|
50 | The Anuga software core (pyvolution, pmesh, least\_squares, ...) depends on the following: |
---|
51 | |
---|
52 | \begin{itemize} |
---|
53 | \item python 2.3 or later \url{http://www.python.org}. Note, the |
---|
54 | dll python2X.dll is needed to compile ANUGA, but is not |
---|
55 | automatically added for versions 2.4 and above. Install it into the |
---|
56 | python2X directory, if you need it. |
---|
57 | \item python-numeric for Linux. It's called Numeric in Windows. |
---|
58 | \item python-dev (Interestingly, numeric seems to be installed as |
---|
59 | well) for Linux. This is not necessary for Windows. |
---|
60 | \item python-scientific (to provide python-netcdf) for Linux. It's |
---|
61 | called ScientificPython in Windows. |
---|
62 | \item NETCDF. Extract the file netcdf.dll, and put in C://Windows//System32// (Windows XP) or C://WINNT//System32 (Windows NT or 2000). |
---|
63 | |
---|
64 | \item A C compiler such as gcc (from GNU in case of Linux and MinGW |
---|
65 | in case of Windows) |
---|
66 | \item scons for automatically compiling the distribution. |
---|
67 | \end{itemize} |
---|
68 | |
---|
69 | |
---|
70 | \section{Recommended software} |
---|
71 | |
---|
72 | \begin{itemize} |
---|
73 | \item psyco \url{http://psyco.sourceforge.net/index.html} |
---|
74 | \item visual python \url{http://vpython.org} |
---|
75 | \item matplotlib (pylab) for quality 2d plotting (moving towards mandatory requirement) |
---|
76 | \item VTK \url{http://mayavi.sourceforge.net/dwnld/vtk/win32/} |
---|
77 | \end{itemize} |
---|
78 | |
---|
79 | |
---|
80 | |
---|
81 | \section{System configuration} |
---|
82 | |
---|
83 | |
---|
84 | The system path on Win32 architectures must contain the directories |
---|
85 | \begin{verbatim} |
---|
86 | PATH=C:\Python23;C:\MinGW\bin;C:\Program Files\swollen |
---|
87 | \end{verbatim} |
---|
88 | (similar for Linux....) |
---|
89 | |
---|
90 | If anuga is not installed in the python site-packages directory the root directory for all anuga/inundation modules must be on |
---|
91 | the pythonpath, e.g.\ |
---|
92 | \begin{verbatim} |
---|
93 | PYTHONPATH=C:\anuga_core\source |
---|
94 | \end{verbatim} |
---|
95 | |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | \section{Installation of source zip file} |
---|
101 | Get a source zip file, for example, anuga_source_3807.zip, and expand |
---|
102 | it in the python site-packages directory. |
---|
103 | |
---|
104 | In the ANUGA root directory, run the compilation script: |
---|
105 | {\small \begin{verbatim} |
---|
106 | python compile_all.py |
---|
107 | \end{verbatim}} |
---|
108 | |
---|
109 | %or (in anuga_core) |
---|
110 | % scons install |
---|
111 | % scons -c #(clean) |
---|
112 | |
---|
113 | |
---|
114 | \subsection{Testing} |
---|
115 | |
---|
116 | In the ANUGA root directory, run the test suite: |
---|
117 | {\small \begin{verbatim} |
---|
118 | python test_all.py |
---|
119 | \end{verbatim}} |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | \section{Other stuff to be included} |
---|
125 | |
---|
126 | \begin{verbatim} |
---|
127 | Install tortoise from downloads (ITs didn't integrate wih explorer). |
---|
128 | In settings set proxy to proxy.agso.gov.au 8080 |
---|
129 | |
---|
130 | |
---|
131 | Install swollen from latest distro (in subversion) |
---|
132 | |
---|
133 | |
---|
134 | \end{verbatim} |
---|
135 | |
---|
136 | |
---|
137 | |
---|
138 | |
---|
139 | |
---|
140 | \end{document} |
---|