wiki:NumpyUbuntuTest

Ubuntu post-installation test and validation

Before testing, you must have installed the ANUGA system. How to get the source code is documented elsewhere, but to be brief, you can either download the latest numpy release package and unpack it into the installed python site-packages directory (/usr/lib/python2.5/site-packages?), or you can get the numpy source tree through subversion. Follow the test and validation procedures in the current installation guide if you get the release package.

If you get the numpy ANUGA system through subversion, you will probably download the branches/numpy source tree to a place of your choice, say ~/ANUGA. In this case you need to set the PYTHONPATH environment variable to run ANUGA:

cd ~/ANUGA
svn co https://datamining.anu.edu.au/svn/ga/branches/numpy
svn co https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation  # needed to validate ANUGA
export PYTHONPATH=~/ANUGA/numpy

Note that the PYTHONPATH environment variable needs to be persistent, so you might consider putting the above command in the appropriate file (~/.bashrc, etc).

To test your ANUGA install, do:

cd ~/ANUGA/numpy/anuga
python compile_all.py
python test_all.py

To validate ANUGA, do:

cd ~/ANUGA/numpy_anuga_validation/automated_validation_tests
python validate_all.py
Last modified 8 years ago Last modified on Jun 19, 2009, 5:44:23 AM