Changes between Version 18 and Version 19 of NumpyInstall


Ignore:
Timestamp:
Jun 11, 2009, 1:56:40 PM (13 years ago)
Author:
rwilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NumpyInstall

    v18 v19  
    109109
    110110Before testing, you must have installed the ANUGA system.  How to get the source code is documented
    111 elsewhere, but to be brief, download the latest '''numpy''' release package and unpack it into the suggested
    112 place: {{{/usr/lib/python2.5/site-packages}}}.
     111elsewhere, but to be brief, you can either download the latest '''numpy''' release package and unpack
     112it into the suggested place ({{{/usr/lib/python2.5/site-packages}}}), or you can get the numpy source
     113tree through subversion.
    113114
    114 Set the PYTHONPATH environment to the correct place in the installed ANUGA system.  For a numpy ANUGA
    115 package this would be:
     115If you get the numpy ANUGA system through subversion, you will probably download the {{{branches/numpy}}}
     116source tree to a place of your choice, say {{{~/ANUGA}}}.  In this case you need to set the PYTHONPATH
     117environment variable to run ANUGA:
    116118{{{
    117 export PYTHONPATH=~/ANUGA/
     119cd ~/ANUGA
     120svn co https://datamining.anu.edu.au/svn/ga/branches/numpy
     121svn co https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation  # need to validate ANUGA
     122export PYTHONPATH=~/ANUGA/numpy
    118123}}}
    119124
     125To test your ANUGA install, do:
     126{{{
     127cd ~/ANUGA/numpy/anuga
     128python compile_all.py
     129python test_all.py
     130}}}
    120131
    121 to test all of ANUGA:
    122     cd $HOME/ga/branches/numpy/anuga
    123     export PYTHONPATH=$HOME/ga/branches/numpy
    124     python compile_all.py
    125     python test_all.py                          # OK
    126     cd
    127 
    128 to validate ANUGA:
    129     cd $HOME/ga/branches/numpy_anuga_validation/automated_validation_tests
    130     python validate_all.py                      # OK
    131     cd
    132 
    133 
     132To validate ANUGA, do:
     133{{{
     134cd ~/ANUGA/numpy_anuga_validation/automated_validation_tests
     135python validate_all.py
     136}}}