Changes between Version 3 and Version 4 of InstallViewer
- Timestamp:
- Jun 6, 2012, 6:43:09 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallViewer
v3 v4 12 12 13 13 == Download the Code == 14 The latest version of the code is available from {{{googlecode}}}. 14 The latest version of the code is available from {{{googlecode}}}. Don't use the version on sourceforge. 15 15 16 16 If subversion has not been install do that now via … … 30 30 {{{ 31 31 make 32 make install32 sudo make install 33 33 }}} 34 34 35 Finally we need to setup some environment variables. 35 36 37 Put the following in your .bashrc file (if you use the bash shell). 36 38 39 {{{ 40 export SWOLLEN_BINDIR=/home/username/anuga-viewer/bin 41 export PATH=$PATH:$SWOLLEN_BINDIR 42 }}} 37 43 44 (of course change {{{/home/username}}} to your own home directory. ) With some versions of linux you need to put this command in the file .profile 45 46 You should rerun your {{{.bashrc}}} file with 47 48 {{{ 49 source .bashrc 50 }}} 51 52 Actually it is usually safer to fire up a new terminal to see if you have been successful in setting up the {{{PATH}}} and {{{SWOLLEN_BINDIR}}} 53 54 You can check your {{{PATH}}} with the command 55 56 {{{ 57 printenv PYTHONPATH 58 }}} 59 60 == Check Installation === 61 62 Change into the {{{anuga-viewer/data}}} directory and run the {{{anuga_viewer}}} via the command 63 64 {{{ 65 anuga_viewer cairns.sww 66 }}} 67