Changeset 5778
- Timestamp:
- Sep 22, 2008, 3:04:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_installation_guide.tex
r5772 r5778 55 55 To run ANUGA you will need a Windows (2000 or XP) or a Linux PC with at 56 56 least 512MB RAM. The viewer (Windows only) requires a graphics adapter that 57 is OpenGL compatible. It has been tested with e.g. ATI FireGL X158 and the NVIDIA family. It may not work with cards such as those from the57 is OpenGL compatible. It has been tested with ATI FireGL X1 cards 58 and the NVIDIA family. It may not work with other cards such as those from the 59 59 Intel(R) 82915G Express Chipset Family. 60 60 … … 67 67 68 68 \begin{enumerate} 69 70 \item For Python 2.5, install Python pre-requisites: Python2.5, 71 Scientific Python, Mingw, Numeric 72 and the NetCDF library. Note that the scientific Python installation 73 sometimes ends with an error message, although ANUGA still works. 74 These packages are available from: 75 \begin{itemize} 76 \item The supplied ANUGA distribution folder: \code{pre_requisites$\backslash$2.5} . 77 Install in the order 78 \begin{verbatim} 79 python-2.5.msi 80 Numeric-23.8.2.win32-py2.5.exe 81 ScientificPython-2.7.8.win32-py2.5.exe 82 MinGW-5.1.4.exe 83 \end{verbatim} 84 and then unpack \code{netcdf-3.6.1-win32.zip} into \code{C:$\backslash$bin} as suggested below. 85 \item The WEB: 86 \begin{itemize} 87 \item Python2.5: \url{http://www.python.org/download/}. 88 \item Numeric Python: (Numeric-23.8.2.win32-py2.5.exe) \url{http://sourcesup.cru.fr/frs/?group_id=180} 89 \item Scientific Python: (ScientificPython-2.X.X.win32-py2.5.exe) \url{http://sourcesup.cru.fr/frs/?group_id=180} 90 \item MinGW: (MinGW-5.X.X.exe) \url{http://sourceforge.net/project/showfiles.php?group_id=2435} 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 file 93 \code{netcdf-3.6.1-win32.zip} . 94 Unpack this in a folder that is available on the system path. 95 We suggest unpacking it into \code{C:$\backslash$bin} . 96 \end{itemize} 97 \end{itemize} 69 \item For Python 2.5, install: Python2.5, Scientific Python, Mingw, Numeric 70 and the NetCDF library. Note that the scientific Python installation 71 sometimes ends with an error message, although ANUGA still works. 72 These packages are available from either: 73 \begin{itemize} 74 \item The supplied ANUGA distribution folder: \code{pre_requisites$\backslash$2.5} . 75 Install in order: 76 \begin{enumerate} 77 \item \code{python-2.5.msi} 78 \item \code{Numeric-23.8.2.win32-py2.5.exe} 79 \item \code{ScientificPython-2.7.8.win32-py2.5.exe} 80 \item \code{MinGW-5.1.4.exe} 81 \end{enumerate} and then unpack \code{netcdf-3.6.1-win32.zip} into \code{C:$\backslash$bin} as suggested below. 82 \item The WEB. Install in order: 83 \begin{enumerate} 84 \item \url{http://www.python.org/download/} and click on the \code{Python 2.5.x Windows installer} link to get 85 \code{python-2.5.x.msi}. Execute this file to install Python 2.5. 86 \item \url{http://sourcesup.cru.fr/frs/?group\%5Fid=180}. Download \code{Numeric-23.8.2.win32-py2.5.exe} 87 and execute it to install Numeric Python. 88 \item \url{http://sourcesup.cru.fr/frs/?group\%5Fid=180}. Download \code{ScientificPython-2.X.X.win32-py2.5.exe} 89 and execute it to install Scientific Python. 90 \item \url{http://sourceforge.net/project/showfiles.php?group\%5Fid=2435}. Click on the \code{Download} link for 91 the \code{Automated MinGW Installer} package. Execute the file \code{MinGW-5.X.X.exe} to install the MinGW environment. 92 Note that you will need a working internet connection to install WinGW. 93 \item \url{http://www.unidata.ucar.edu/software/netcdf/binaries.html} and click on the 94 "\code{Windows DLL}" link in the NetCDF 3.6.1 section. This will download the file \code{netcdf-3.6.1-win32.zip}. 95 Unpack this in a folder that is available on the system path. 96 We suggest unpacking it into \code{C:$\backslash$bin}. 97 \end{enumerate} 98 \end{itemize} 98 99 100 \item For Python 2.4, install: The Enthought version of Python2.4, Scientific Python 101 and the NetCDF library\footnote{Separate installation of Scientific 102 Python and NetCDF 103 will become unneccesary once Enthought sorts out netcdf support 104 (see \url{https://svn.enthought.com/enthought/ticket/917})}. 105 These are available from either: 106 \begin{itemize} 107 \item The supplied ANUGA distribution, under the folder \code{pre_requisites} . 108 Install in order: 109 \begin{enumerate} 110 \item enthon-python2.4-1.0.0.exe 111 \item ScientificPython-2.4.9.win32-py2.4.exe 112 \end{enumerate} 113 and then unpack \code{netcdf-3.6.1-beta1-win32dll.zip} into \code{C:$\backslash$bin} as suggested below. 114 \item The WEB. Install in order: 115 \begin{enumerate} 116 \item \url{http://code.enthought.com/projects/} and install the Enthought environment for Python 2.4.x. 117 \item \url{http://sourceforge.net/project/showfiles.php?group\%5Fid=172848}. Click on the \code{Download} link for Scientific Python 118 and download \code{ScientificPython-2.4.9.win32-py2.4.exe} which will install Scientific Python. 119 \item \url{http://www.unidata.ucar.edu/software/netcdf/binaries.html} and click on the 120 "\code{Windows DLL}" link in the NetCDF 3.6.1 section. This will download the file \code{netcdf-3.6.1-win32.zip}. 121 Unpack this in a folder that is available on the system path. We suggest unpacking it into \code{C:$\backslash$bin} . 122 \end{enumerate} 123 \end{itemize} 99 124 100 \item For Python 2.4, install Python pre-requisites: The Enthought version of Python2.4, 101 Scientific Python 102 and the NetCDF library\footnote{Separate installation of Scientific 103 Python and NetCDF 104 will become unneccesary once Enthought sorts out netcdf support 105 (see \url{https://svn.enthought.com/enthought/ticket/917})}. 106 These are available from either 107 \begin{itemize} 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. 116 \item The WEB: 117 \begin{itemize} 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} . 133 \end{itemize} 134 \end{itemize} 135 136 \item Add the following to the PATH environment variable 137 \begin{verbatim} 138 PATH=C:\Python24;C:\Python24\Enthought\MingW\bin;C:\bin 139 \end{verbatim} %C:\Program Files\anuga_viewer; 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.} 141 in the python site-packages 142 directory \code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages}. This is often done in Windows by 143 double clicking on the .tgz file and then 'browse to' the 144 destination directory. 125 \item Add the following to the PATH environment variable: 126 \begin{verbatim}PATH=C:\Python24;C:\Python24\Enthought\MingW\bin;C:\bin\end{verbatim} 127 For details on how to do this under windows please refer to Section \ref{sec:windowspath}. 128 129 \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 - 130 the remedy is to rename them back or use another browser such as Firefox.} 131 in the python site-packages directory \code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages}. 132 This is often done in Windows by double clicking on the .tgz file and then 'browse to' the destination directory. 133 145 134 \item In the ANUGA root directory (\code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages$\backslash$anuga}), 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} 150 \item In the ANUGA root directory, run the test suite 151 (either from the commandline or by running it in IDLE): 152 \begin{verbatim} 153 python test_all.py 154 \end{verbatim} 155 ANUGA has been succesfully installed if the tests pass. 135 run the compilation script (either from the commandline or by running it in IDLE): 136 \begin{verbatim}python compile_all.py\end{verbatim} 137 138 \item In the ANUGA root directory, run the test suite (either from the commandline or by running it in IDLE): 139 \begin{verbatim}python test_all.py\end{verbatim} ANUGA has been succesfully installed if the tests pass. 140 156 141 \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 158 which you can run 159 \begin{verbatim} 160 python validate_all.py 161 \end{verbatim} 142 to the directory \code{anuga_validation$\backslash$automated_validation_tests} in which you can run 143 \begin{verbatim}python validate_all.py\end{verbatim} 144 145 146 \item To install the ANUGA viewer: 147 \begin{enumerate} 148 \item Unpack the distribution (\code{anuga_viewer_1.0.tgz}) into 149 \begin{verbatim}C:\Program Files\end{verbatim} 150 \item Double click on the test file 151 \begin{verbatim}C:\Program Files\anuga_viewer\cylinders.sww\end{verbatim} 152 \item Associate .sww files with the executable 153 \begin{verbatim}C:\Program Files\anuga_viewer\animate.exe\end{verbatim} 154 \end{enumerate} 155 156 Try the demos provided in the ANUGA directory \code{anuga\_demos} 157 (discussed in the ANUGA user manual 158 and also at 159 \url{http://datamining.anu.edu.au/\~{}ole/anuga/user_manual/anuga_user_manual.pdf}) 160 and view the resulting .sww files with the anuga_viewer. 162 161 \end{enumerate} 163 162 164 165 To install the anuga_viewer:166 \begin{enumerate}167 \item Unpack the distribution (\code{anuga_viewer_1.0.tgz}) into168 \begin{verbatim}169 C:\Program Files170 \end{verbatim}171 \item Double click on the test file172 \begin{verbatim}173 C:\Program Files\anuga_viewer\cylinders.sww174 \end{verbatim}175 \item Associate .sww files with the executable176 \begin{verbatim}177 C:\Program Files\anuga_viewer\animate.exe178 \end{verbatim}179 \end{enumerate}180 181 Try the demos provided in the ANUGA directory \code{anuga\_demos}182 (also discussed in the ANUGA user manual available with the distribution183 and also at184 \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.186 163 187 164 %To run the ANUGA against the Okushiri Island wave tank validation dataset … … 318 295 319 296 297 \chapter{Appendix} 298 \section{Setting the PATH on Windows} 299 \label{sec:windowspath} 320 300 321 301
Note: See TracChangeset
for help on using the changeset viewer.