Changes between Version 34 and Version 35 of NumpyInstall
- Timestamp:
- Jun 11, 2009, 2:20:03 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NumpyInstall
v34 v35 186 186 Before testing, you must have installed the ANUGA system. How to get the source code is documented 187 187 elsewhere, but to be brief, you can either download the latest '''numpy''' release package and unpack 188 it into the suggested place ({{{/usr/lib/python2.5/site-packages}}}), or you can get the numpy source 189 tree through subversion. 188 it into the suggested place ({{{C:\Python25\Lib\site-packages}}}), or you can get the numpy source 189 tree through subversion. Follow the test and validation precodures in the current installation guide 190 if you go this way. 190 191 191 192 If you get the numpy ANUGA system through subversion, you will probably download the {{{branches/numpy}}} 192 source tree to a place of your choice, say {{{ ~/ANUGA}}}. In this case you need to set the PYTHONPATH193 source tree to a place of your choice, say {{{C:\ANUGA}}}. In this case you need to set the PYTHONPATH 193 194 environment variable to run ANUGA: 194 195 {{{ 195 cd ~/ANUGA 196 svn co https://datamining.anu.edu.au/svn/ga/branches/numpy 197 svn co https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation # need to validate ANUGA 198 export PYTHONPATH=~/ANUGA/numpy 199 }}} 196 cd C:\ANUGA 197 checkout https://datamining.anu.edu.au/svn/ga/branches/numpy 198 checkout https://datamining.anu.edu.au/svn/ga/branches/numpy_anuga_validation # needed to validate ANUGA 199 set PYTHONPATH environment variable to C:\ANUGA\numpy 200 }}} 201 The Windows Tortoise SVN client can be used to access the repository. 200 202 201 203 To test your ANUGA install, do: 202 204 {{{ 203 cd ~/ANUGA/numpy/anuga205 cd C:\ANUGA\numpy\anuga 204 206 python compile_all.py 205 207 python test_all.py … … 208 210 To validate ANUGA, do: 209 211 {{{ 210 cd ~/ANUGA/numpy_anuga_validation/automated_validation_tests212 cd C:\ANUGA\numpy_anuga_validation\automated_validation_tests 211 213 python validate_all.py 212 214 }}}