Changes between Version 3 and Version 4 of InstallViewer


Ignore:
Timestamp:
Jun 6, 2012, 6:43:09 PM (12 years ago)
Author:
steve
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallViewer

    v3 v4  
    1212
    1313== Download the Code ==
    14 The latest version of the code is available from {{{googlecode}}}.
     14The latest version of the code is available from {{{googlecode}}}. Don't use the version on sourceforge.
    1515
    1616If subversion has not  been install do that now via
     
    3030{{{
    3131make
    32 make install
     32sudo make install
    3333}}}
    3434
     35Finally we need to setup some environment variables.
    3536
     37Put the following in your .bashrc file (if you use the bash shell).
    3638
     39{{{
     40export SWOLLEN_BINDIR=/home/username/anuga-viewer/bin
     41export PATH=$PATH:$SWOLLEN_BINDIR
     42}}}
    3743
     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
     46You should rerun your {{{.bashrc}}} file with
     47
     48{{{
     49source .bashrc
     50}}}
     51
     52Actually 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
     54You can check your {{{PATH}}} with the command
     55
     56{{{
     57printenv PYTHONPATH
     58}}}
     59
     60== Check Installation ===
     61
     62Change into the {{{anuga-viewer/data}}} directory and run the {{{anuga_viewer}}} via the command
     63
     64{{{
     65anuga_viewer cairns.sww
     66}}}
     67