Changes between Version 27 and Version 28 of InstallUbuntuSvn
- Timestamp:
- Jun 3, 2012, 2:02:09 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallUbuntuSvn
v27 v28 20 20 }}} 21 21 22 === scientific python ===22 === Scientific python === 23 23 24 Finally we needscientific python to provide netcdf24 We use scientific python to provide netcdf 25 25 support. 26 26 27 27 The default python-scientific provided by Ubuntu is 28 28 the old version 2.8, and this leads to segmentation 29 faults (at least on 32 bit machines) .29 faults (at least on 32 bit machines) in Ubuntu 12.04. 30 30 31 31 So we need to install scientific python version 2.9.1 from source. 32 32 33 First we need to install netcdf support via33 First we need to install basic netcdf support via 34 34 35 35 {{{ … … 59 59 }}} 60 60 61 == Installing anuga == 61 62 62 == Checkout anuga via svn == 63 Now we should have installed all the packages necessary to run anuga. 64 So now to actually installing anuga. 65 66 === Checkout anuga via svn === 67 68 First we need to get the actual anuga software. We do this by checking out the anuga 69 repository using subversion. 63 70 64 71 From your home directory run: … … 72 79 === Setup PYTHONPATH === 73 80 81 We need to tell python where the anuga source code is located. 82 This is done via the {{{PYTHONPATH}}} environment variable. 83 74 84 Put the following in your .bashrc file (if you use the bash shell). 75 85 … … 80 90 (of course change /home/username to your home directory. ) With some versions of linux you need to put this command in the file {{{.profile}}} 81 91 82 Should rerun your .bashrc file with92 You should rerun your .bashrc file with 83 93 84 94 {{{ … … 96 106 97 107 98 == Compile ANUGA Code==108 === Compile ANUGA Code === 99 109 100 110 Now go to the directory anuga_core and compile the anuga files via: … … 104 114 }}} 105 115 106 == Run Unit tests==116 === Run Unit tests === 107 117 108 118 From the anuga_core directory run the unit tests via: