Changes between Version 18 and Version 19 of NumpyInstall
- Timestamp:
- Jun 11, 2009, 1:56:40 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NumpyInstall
v18 v19 109 109 110 110 Before 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}}}. 111 elsewhere, but to be brief, you can either download the latest '''numpy''' release package and unpack 112 it into the suggested place ({{{/usr/lib/python2.5/site-packages}}}), or you can get the numpy source 113 tree through subversion. 113 114 114 Set the PYTHONPATH environment to the correct place in the installed ANUGA system. For a numpy ANUGA 115 package this would be: 115 If you get the numpy ANUGA system through subversion, you will probably download the {{{branches/numpy}}} 116 source tree to a place of your choice, say {{{~/ANUGA}}}. In this case you need to set the PYTHONPATH 117 environment variable to run ANUGA: 116 118 {{{ 117 export PYTHONPATH=~/ANUGA/ 119 cd ~/ANUGA 120 svn co https://datamining.anu.edu.au/svn/ga/branches/numpy 121 svn co https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation # need to validate ANUGA 122 export PYTHONPATH=~/ANUGA/numpy 118 123 }}} 119 124 125 To test your ANUGA install, do: 126 {{{ 127 cd ~/ANUGA/numpy/anuga 128 python compile_all.py 129 python test_all.py 130 }}} 120 131 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 132 To validate ANUGA, do: 133 {{{ 134 cd ~/ANUGA/numpy_anuga_validation/automated_validation_tests 135 python validate_all.py 136 }}}