Changeset 5772
- Timestamp:
- Sep 19, 2008, 10:55:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_installation_guide.tex
r5771 r5772 74 74 These packages are available from: 75 75 \begin{itemize} 76 \item The supplied ANUGA distribution folder: \code{pre_requisites \textbackslash2.5} .76 \item The supplied ANUGA distribution folder: \code{pre_requisites$\backslash$2.5} . 77 77 Install in the order 78 78 \begin{verbatim} … … 82 82 MinGW-5.1.4.exe 83 83 \end{verbatim} 84 and then unpack \code{netcdf-3.6.1-win32.zip} into \code{C: \\bin} as suggested below.84 and then unpack \code{netcdf-3.6.1-win32.zip} into \code{C:$\backslash$bin} as suggested below. 85 85 \item The WEB: 86 86 \begin{itemize} … … 90 90 \item MinGW: (MinGW-5.X.X.exe) \url{http://sourceforge.net/project/showfiles.php?group_id=2435} 91 91 \item NETCDF: Go to \url{http://www.unidata.ucar.edu/software/netcdf/binaries.html} and click on the 92 \code{Windows DLL}link in the NetCDF 3.6.1 section. This will download the file92 "\code{Windows DLL}" link in the NetCDF 3.6.1 section. This will download the file 93 93 \code{netcdf-3.6.1-win32.zip} . 94 94 Unpack this in a folder that is available on the system path. 95 We suggest unpacking it into \code{C: \textbackslashbin} .95 We suggest unpacking it into \code{C:$\backslash$bin} . 96 96 \end{itemize} 97 97 \end{itemize} … … 106 106 These are available from either 107 107 \begin{itemize} 108 \item The supplied ANUGA distribution as under the folder pre_requisites 109 (Install in the order \code{enthon-python2.4-1.0.0.exe}, 110 \code{ScientificPython-2.4.9.win32-py2.4.exe} and the unpack 111 \code{netcdf-3.6.1-beta1-win32dll.zip} into \code{C:\textbackslash bin} as 112 suggested below. 108 \item The supplied ANUGA distribution as under the folder \code{pre_requisites} . 109 Install in the order 110 \begin{verbatim} 111 enthon-python2.4-1.0.0.exe 112 ScientificPython-2.4.9.win32-py2.4.exe 113 \end{verbatim} 114 and then unpack \code{netcdf-3.6.1-beta1-win32dll.zip} into \code{C:$\backslash$bin} as 115 suggested below. 113 116 \item The WEB: 114 117 \begin{itemize} 115 \item Enthought version of Python2.4: 116 \url{http://code.enthought.com/projects/}. 117 \item Scientific Python:\\ 118 \url{http://sourceforge.net/project/showfiles.php?group_id=172848} 119 \item NETCDF: download the file netcdf-3.6.1-beta1-win32dll.zip from 120 \url{http://www.unidata.ucar.edu/software/netcdf/binaries.html} 121 (\url{ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.6.1-beta1-win32dll.zip}). 122 Unpack this in a folder that is available on the system path. 123 We suggest unpacking it into 124 \begin{verbatim} 125 C:\bin 126 \end{verbatim} 118 \item Enthought version of Python2.4: \url{http://code.enthought.com/projects/} 119 \item Scientific Python: \url{http://sourceforge.net/project/showfiles.php?group_id=172848} 120 % \item NETCDF: download the file netcdf-3.6.1-beta1-win32dll.zip from 121 % \url{http://www.unidata.ucar.edu/software/netcdf/binaries.html} 122 % (\url{ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.6.1-beta1-win32dll.zip}). 123 % Unpack this in a folder that is available on the system path. 124 % We suggest unpacking it into 125 % \begin{verbatim} 126 % C:\bin 127 % \end{verbatim} 128 \item NETCDF: Go to \url{http://www.unidata.ucar.edu/software/netcdf/binaries.html} and click on the 129 "\code{Windows DLL}" link in the NetCDF 3.6.1 section. This will download the file 130 \code{netcdf-3.6.1-win32.zip} . 131 Unpack this in a folder that is available on the system path. 132 We suggest unpacking it into \code{C:$\backslash$bin} . 127 133 \end{itemize} 128 134 \end{itemize} … … 130 136 \item Add the following to the PATH environment variable 131 137 \begin{verbatim} 132 138 PATH=C:\Python24;C:\Python24\Enthought\MingW\bin;C:\bin 133 139 \end{verbatim} %C:\Program Files\anuga_viewer; 134 140 \item Unpack the ANUGA source code (\code{anuga-1.0_xxxx.tgz})\footnote{Internet explorer has the habit of renaming the .tgz files to .gz - the remedy is to rename them back or use another browser such as Firefox.} … … 138 144 destination directory. 139 145 \item In the ANUGA root directory (\code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages$\backslash$anuga}), 140 run the compilation script (either from the commandline or by clicking on it):141 {\small\begin{verbatim}142 143 \end{verbatim} }146 run the compilation script (either from the commandline or by running it in IDLE): 147 \begin{verbatim} 148 python compile_all.py 149 \end{verbatim} 144 150 \item In the ANUGA root directory, run the test suite 145 (e .g. by opening it with IDLE and running the file):146 {\small\begin{verbatim}147 148 \end{verbatim} }151 (either from the commandline or by running it in IDLE): 152 \begin{verbatim} 153 python test_all.py 154 \end{verbatim} 149 155 ANUGA has been succesfully installed if the tests pass. 150 \item To verify that ANUGA succesfully reproduces a series of validation 151 examples, go 152 to the directory \code{anuga_validation\\automated_validation_tests} in 156 \item To verify that ANUGA succesfully reproduces a series of validation examples, go 157 to the directory \code{anuga_validation$\backslash$automated_validation_tests} in 153 158 which you can run 154 {\small\begin{verbatim}155 156 \end{verbatim} }159 \begin{verbatim} 160 python validate_all.py 161 \end{verbatim} 157 162 \end{enumerate} 158 163 159 164 160 161 162 To install the anuga\_viewer 165 To install the anuga_viewer: 163 166 \begin{enumerate} 164 \item Unpack the distribution (\code{anuga_viewer_1.0.tgz}) in 165 \begin{verbatim} 166 167 \item Unpack the distribution (\code{anuga_viewer_1.0.tgz}) into 168 \begin{verbatim} 169 C:\Program Files 167 170 \end{verbatim} 168 171 \item Double click on the test file 169 172 \begin{verbatim} 170 173 C:\Program Files\anuga_viewer\cylinders.sww 171 174 \end{verbatim} 172 \item and associate .sww files with the executable175 \item Associate .sww files with the executable 173 176 \begin{verbatim} 174 177 C:\Program Files\anuga_viewer\animate.exe 175 178 \end{verbatim} 176 179 \end{enumerate} … … 179 182 (also discussed in the ANUGA user manual available with the distribution 180 183 and also at 181 \url{http://datamining.anu.edu.au/\~ole/anuga/user_manual/anuga_user_manual.pdf})and view the resulting .sww files with the anuga\_viewer. 184 \url{http://datamining.anu.edu.au/\~{}ole/anuga/user_manual/anuga_user_manual.pdf}) 185 and view the resulting .sww files with the anuga_viewer. 182 186 183 187 %To run the ANUGA against the Okushiri Island wave tank validation dataset … … 201 205 \begin{itemize} 202 206 \item python 2.3 or later\footnote{Problems have been observed with 203 Python 2.5 and Numeric on 64 bit platforms. See204 \url{https://datamining.anu.edu.au/anuga/ticket/221}}205 \url{http://www.python.org}207 Python 2.5 and Numeric on 64 bit platforms. See 208 \url{https://datamining.anu.edu.au/anuga/ticket/221}} 209 \url{http://www.python.org} 206 210 %\footnote{Note, the 207 211 %dll python2X.dll is needed to compile ANUGA, but is not always … … 221 225 Note: All of these can be installed in one go on Windows platforms by 222 226 using the Enthought Python 223 distribution available at \url{http://code.enthought.com/projects/} .227 distribution available at \url{http://code.enthought.com/projects/} . 224 228 225 229 \section{Recommended software} 226 230 227 231 \begin{itemize} 228 \item psyco \url{http://psyco.sourceforge.net/index.html}:Speeds up anuga by about 30\%.232 \item psyco: \url{http://psyco.sourceforge.net/index.html} . Speeds up anuga by about 30\%. 229 233 %\item visual python \url{http://vpython.org} 230 \item matplotlib (pylab) for quality 2d plotting (moving towards mandatory requirement and now part of Enthought.)231 \item VTK \url{http://mayavi.sourceforge.net/dwnld/vtk/win32/} - also now part of Enthought.234 \item matplotlib: (pylab) for quality 2d plotting (moving towards mandatory requirement and now part of Enthought). 235 \item VTK: \url{http://mayavi.sourceforge.net/dwnld/vtk/win32/} - also now part of Enthought. 232 236 \end{itemize} 233 237 … … 242 246 exact configuration). 243 247 \begin{verbatim} 244 248 PATH=C:\Python24;C:\Python24\Enthought\MingW\bin;C:\Program Files\anuga_viewer 245 249 \end{verbatim} 246 250 The path should be analoguous for Unix operating systems. … … 259 263 \section{Installation of source zip file} 260 264 Get a source zip file, for example, anuga_source_3807.zip, and expand 261 it in the python site-packages directory (\code{C: \\Python24\\Lib\\site-packages})262 263 In the ANUGA root directory (\code{C: \\Python24\\Lib\\site-packages\\anuga}),265 it in the python site-packages directory (\code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages}) 266 267 In the ANUGA root directory (\code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages$\backslash$anuga}), 264 268 run the compilation script: 265 {\small\begin{verbatim}266 267 \end{verbatim} }269 \begin{verbatim} 270 python compile_all.py 271 \end{verbatim} 268 272 269 273 %or (in anuga_core) … … 275 279 276 280 In the ANUGA root directory, run the test suite: 277 {\small\begin{verbatim}278 279 \end{verbatim} }281 \begin{verbatim} 282 python test_all.py 283 \end{verbatim} 280 284 ANUGA has been succesfully installed if the tests pass as follows: 281 282 {\tiny283 285 \begin{verbatim} 284 286 ... … … 299 301 300 302 OK 301 \end{verbatim} }303 \end{verbatim} 302 304 303 305
Note: See TracChangeset
for help on using the changeset viewer.