| | 1 | == Ubuntu pst-installation test and validation == |
| | 2 | |
| | 3 | Before testing, you must have installed the ANUGA system. How to get the source code is documented |
| | 4 | elsewhere, but to be brief, you can either download the latest '''numpy''' release package and unpack |
| | 5 | it into the suggested place ({{{/usr/lib/python2.5/site-packages}}}), or you can get the numpy source |
| | 6 | tree through subversion. |
| | 7 | |
| | 8 | If you get the numpy ANUGA system through subversion, you will probably download the {{{branches/numpy}}} |
| | 9 | source tree to a place of your choice, say {{{~/ANUGA}}}. In this case you need to set the PYTHONPATH |
| | 10 | environment variable to run ANUGA: |
| | 11 | {{{ |
| | 12 | cd ~/ANUGA |
| | 13 | svn co https://datamining.anu.edu.au/svn/ga/branches/numpy |
| | 14 | svn co https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation # need to validate ANUGA |
| | 15 | export PYTHONPATH=~/ANUGA/numpy |
| | 16 | }}} |
| | 17 | Note that the PYTHONPATH environment variable needs to be persistent, so you might consider putting the |
| | 18 | above command in the appropriate file (~/.bashrc, etc). |
| | 19 | |
| | 20 | To test your ANUGA install, do: |
| | 21 | {{{ |
| | 22 | cd ~/ANUGA/numpy/anuga |
| | 23 | python compile_all.py |
| | 24 | python test_all.py |
| | 25 | }}} |
| | 26 | |
| | 27 | To validate ANUGA, do: |
| | 28 | {{{ |
| | 29 | cd ~/ANUGA/numpy_anuga_validation/automated_validation_tests |
| | 30 | python validate_all.py |
| | 31 | }}} |