| | 1 | Checkout anuga via svn |
| | 2 | |
| | 3 | (might need to install svn via the command "sudo apt-get install subversion") |
| | 4 | |
| | 5 | |
| | 6 | Checkout anuga via: |
| | 7 | |
| | 8 | svn checkout https://anuga.anu.edu.au/svn/trunk/anuga_core anuga_core |
| | 9 | |
| | 10 | Should produce an anuga_core directory. |
| | 11 | |
| | 12 | |
| | 13 | Put the following in your .bashrc file |
| | 14 | |
| | 15 | export PYTHONPATH=/home/steve/anuga_core/source |
| | 16 | |
| | 17 | (of course change /home/steve to your home directory. ) |
| | 18 | |
| | 19 | Should rerun your .bashrc file with |
| | 20 | |
| | 21 | source .bashrc |
| | 22 | |
| | 23 | |
| | 24 | Need to install some libraries |
| | 25 | |
| | 26 | sudo apt-get install python-scientific |
| | 27 | sudo apt-get install python-dev |
| | 28 | sudo apt-get install python-matplotlib |
| | 29 | sudo apt-get install python-profiler |
| | 30 | |
| | 31 | |
| | 32 | Now go to the directory anuga_core |
| | 33 | |
| | 34 | compile the anuga files via: |
| | 35 | |
| | 36 | python compile_all.py |
| | 37 | |
| | 38 | Run the unit tests via: |
| | 39 | |
| | 40 | python test_all.py |
| | 41 | |
| | 42 | Hopefully everything works (except for the expected 1 failure regarding ghost triangles) |