wiki:NumpyInstall

Version 6 (modified by rwilson, 14 years ago) (diff)

--

Installation procedures for the imminent ANUGA numpy release

This page describes the procedures used to install the ANUGA support packages which allow you to run numpy ANUGA on Ubuntu 8.10 (32 or 64 bit) and 32 bit Windows (XP or Vista).

This page will exist until the numpy release is finalised, at which time these procedures will be moved to the ANUGA installation guide.

The procedures below use various support packages such as numpy. The files containing the packages may be downloaded from SourceForge in the numpy_support_software package.

Ubuntu 8.10 - 32 bit

Using the Ubuntu Synaptic package manager, install the following packages:

subversion
python-dev
python-profiler
g++
python-psyco
python-numpy

Of course, if you prefer using the console, you would do:

sudo install subversion

and so on.

Next, you need to install NetCDF 4.0.1 from the source package:

tar xzf netcdf.tar.gz
cd netcdf-4.0.1
./configure
make check
sudo make install

install ScientificPython? using numpy:

tar xzf ScientificPython?-2.9.0.tar.gz cd ScientificPython?-2.9.0 python setup.py build --numpy sudo python setup.py install cd

install matplotlib:

sudo apt-get install python-matplotlib

if necessary, get ANUGA source code:

svn co https://datamining.anu.edu.au/svn/ga

or:

cd $HOME/ga svn up cd

to test all of ANUGA:

cd $HOME/ga/branches/numpy/anuga export PYTHONPATH=$HOME/ga/branches/numpy python compile_all.py python test_all.py # OK cd

to validate ANUGA:

cd $HOME/ga/branches/numpy_anuga_validation/automated_validation_tests python validate_all.py # OK cd

Ubuntu 8.10 - 64 bit

Windows