| 139 | |
| 140 | === Windows === |
| 141 | |
| 142 | Before testing, you must have installed the ANUGA system. How to get the source code is documented |
| 143 | elsewhere, but to be brief, you can either download the latest '''numpy''' release package and unpack |
| 144 | it into the suggested place ({{{/usr/lib/python2.5/site-packages}}}), or you can get the numpy source |
| 145 | tree through subversion. |
| 146 | |
| 147 | If you get the numpy ANUGA system through subversion, you will probably download the {{{branches/numpy}}} |
| 148 | source tree to a place of your choice, say {{{~/ANUGA}}}. In this case you need to set the PYTHONPATH |
| 149 | environment variable to run ANUGA: |
| 150 | {{{ |
| 151 | cd ~/ANUGA |
| 152 | svn co https://datamining.anu.edu.au/svn/ga/branches/numpy |
| 153 | svn co https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation # need to validate ANUGA |
| 154 | export PYTHONPATH=~/ANUGA/numpy |
| 155 | }}} |
| 156 | |
| 157 | To test your ANUGA install, do: |
| 158 | {{{ |
| 159 | cd ~/ANUGA/numpy/anuga |
| 160 | python compile_all.py |
| 161 | python test_all.py |
| 162 | }}} |
| 163 | |
| 164 | To validate ANUGA, do: |
| 165 | {{{ |
| 166 | cd ~/ANUGA/numpy_anuga_validation/automated_validation_tests |
| 167 | python validate_all.py |
| 168 | }}} |