| 15 | Using the Ubuntu Synaptic package manager, install the following packages: |
| 16 | |
| 17 | * subversion |
| 18 | * python-dev |
| 19 | * python-profiler |
| 20 | * g++ |
| 21 | * python-psyco |
| 22 | |
| 23 | Of course, if you prefer using the console, you would do: |
| 24 | {{{ |
| 25 | sudo install subversion |
| 26 | }}} |
| 27 | and so on. |
| 28 | |
| 29 | install numpy: |
| 30 | sudo apt-get install python-numpy |
| 31 | |
| 32 | install NetCDF4: |
| 33 | tar xzf netcdf.tar.gz |
| 34 | cd netcdf-4.0.1 |
| 35 | ./configure |
| 36 | make check # OK |
| 37 | sudo make install |
| 38 | cd |
| 39 | |
| 40 | install ScientificPython using numpy: |
| 41 | tar xzf ScientificPython-2.9.0.tar.gz |
| 42 | cd ScientificPython-2.9.0 |
| 43 | python setup.py build --numpy |
| 44 | sudo python setup.py install |
| 45 | cd |
| 46 | |
| 47 | install matplotlib: |
| 48 | sudo apt-get install python-matplotlib |
| 49 | |
| 50 | if necessary, get ANUGA source code: |
| 51 | svn co https://datamining.anu.edu.au/svn/ga |
| 52 | or: |
| 53 | cd $HOME/ga |
| 54 | svn up |
| 55 | cd |
| 56 | |
| 57 | to test all of ANUGA: |
| 58 | cd $HOME/ga/branches/numpy/anuga |
| 59 | export PYTHONPATH=$HOME/ga/branches/numpy |
| 60 | python compile_all.py |
| 61 | python test_all.py # OK |
| 62 | cd |
| 63 | |
| 64 | to validate ANUGA: |
| 65 | cd $HOME/ga/branches/numpy_anuga_validation/automated_validation_tests |
| 66 | python validate_all.py # OK |
| 67 | cd |
| 68 | |