source: anuga_core/documentation/user_manual/anuga_installation_guide.tex @ 3822

Last change on this file since 3822 was 3822, checked in by ole, 18 years ago

Added comment about scons

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 3.7 KB
Line 
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
44This document outlines the required software for installing the Anuga toolbox.
45All components are licensed as open source and readily available from the net.
46
47
48\section{Pre-requisites}
49
50The 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
84The 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
90If anuga is not installed in the python site-packages directory the root directory for all anuga/inundation modules must be on
91the pythonpath, e.g.\
92\begin{verbatim}
93PYTHONPATH=C:\anuga_core\source
94\end{verbatim}
95
96
97
98
99
100\section{Installation of source zip file}
101Get a source zip file, for example, anuga_source_3807.zip, and expand
102it in the python site-packages directory.
103
104In 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
116In 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}
127Install tortoise from downloads (ITs didn't integrate wih explorer).
128In settings set proxy to proxy.agso.gov.au  8080
129
130
131Install swollen from latest distro (in subversion)
132
133
134\end{verbatim}
135
136
137
138
139
140\end{document}
Note: See TracBrowser for help on using the repository browser.