Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rudy rain operator #3

Open
wants to merge 403 commits into
base: rudy_rain_operator
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
403 commits
Select commit Hold shift + click to select a range
d8c5970
more moved into simple folder
stoiver Apr 4, 2017
355aceb
pointing to correct folder
stoiver Apr 4, 2017
f92d8e2
added files to ignore
stoiver Apr 4, 2017
3076205
Merge branch 'master' of github.com:/GeoscienceAustralia/anuga_core
stoiver Apr 4, 2017
067b6f7
removed download label
stoiver Apr 4, 2017
30ecb1b
Merge branch 'simple_examples'
stoiver Apr 4, 2017
a402de5
Merge branch '88hoddle-barrel'
stoiver Apr 4, 2017
e9f9b01
added cairns_initialcond to gitignore
stoiver Apr 4, 2017
e2f230f
spreadsheet for structure calculations
stoiver Apr 4, 2017
4a5f860
Added Wiki page and github site to documentation.
uniomni May 15, 2017
fc4f1a5
Added git command for commit rights using ssh keys
uniomni May 15, 2017
5806b2b
Fixed capitalisation of ANUGA (derived from ANU and GA so all capital)
uniomni May 15, 2017
f6d4168
Update install_ubuntu.sh
stoiver May 15, 2017
30ef579
Update install_ubuntu.sh
stoiver May 15, 2017
9e45375
Update install_ubuntu.sh
stoiver May 15, 2017
0a78693
Update install_ubuntu.sh
stoiver May 15, 2017
da3ddde
Update .travis.yml
stoiver May 15, 2017
463eaa8
Update README.rst
stoiver May 16, 2017
ed97ea5
Update __init__.py
stoiver May 18, 2017
616e7e1
Update __init__.py
stoiver May 18, 2017
62b5e4a
Merge branch 'master' of github.com:/GeoscienceAustralia/anuga_core
stoiver May 18, 2017
d10b048
Build on appveyor
stoiver Jun 8, 2017
1e92678
Add mingwpy compiler
stoiver Jun 8, 2017
dbdd8f2
run setup with mingw32
stoiver Jun 8, 2017
e153bd3
Use conda mingw
stoiver Jun 8, 2017
ed6576b
remove libpython from build
stoiver Jun 8, 2017
05d8989
Back to mingwpy
stoiver Jun 8, 2017
3304607
remove mingw
stoiver Jun 8, 2017
6c7882a
Add cfg file for windows
stoiver Jun 8, 2017
701de8c
test directory
stoiver Jun 8, 2017
717138c
use set
stoiver Jun 8, 2017
6a438b8
move pydistutils.cfg
stoiver Jun 8, 2017
ec26f40
cleanup script
stoiver Jun 8, 2017
388e8ee
try 64bit
stoiver Jun 8, 2017
3e5714d
fix len(self) problem
stoiver Jun 8, 2017
0d1f575
Test 64 bit
stoiver Jun 8, 2017
f90ccae
changed len(self)
stoiver Jun 8, 2017
c6bfc8b
force no of triangles to be int
stoiver Jun 8, 2017
e83265c
Back to x86
stoiver Jun 8, 2017
1665ae9
Small typo
stoiver Jun 8, 2017
263c1f1
try compiler directive
stoiver Jun 9, 2017
0b376a1
Merge branch 'master' of github.com:/stoiver/anuga_core
stoiver Jun 9, 2017
32da3e1
try build
stoiver Jun 9, 2017
2d4d48f
Remove pydistutils.cfg as setup.py build --compiler=mingw32 works
stoiver Jun 10, 2017
7e74589
Add compiler directive to install
stoiver Jun 10, 2017
c1d8890
Try skip-build install
stoiver Jun 10, 2017
b37512c
Merge pull request #128 from stoiver/master
stoiver Jun 10, 2017
f853b3d
Cleaned up conflicts between int32 and int64 and long
Jun 12, 2017
f5d06db
Merge pull request #4 from stoiveroberts/win64
stoiver Jun 12, 2017
b25e1aa
Create appveyor.yml
stoiver Jun 12, 2017
24da499
Create appveyor.yml
stoiver Jun 12, 2017
a6288e5
Merge pull request #129 from stoiver/win64
stoiver Jun 12, 2017
868ebb9
install mingwpy via conda
stoiver Jun 14, 2017
d5115d0
install mingwpy via conda-forge
stoiver Jun 14, 2017
e456581
install mingwpy instead of mingw32
stoiver Jun 14, 2017
1c14f84
install -c instead of -channel
stoiver Jun 14, 2017
d73ac75
add channel conda-forge
stoiver Jun 14, 2017
529cac7
conga-forge to conda-forge
stoiver Jun 14, 2017
7303717
Merge branch 'win64'
stoiver Jun 19, 2017
d02f148
Hi Steve, i have added the 2002 Wollongong City Council blockage poli…
PetarMilevski Jun 22, 2017
262c299
copyright
Jul 27, 2017
03d077c
Hi Steve, i have made some amendments to boyd culvert
PetarMilevski Sep 7, 2017
7710ae6
Merge pull request #135 from stoiver/is_None
stoiver Sep 13, 2017
e16a220
Changed "== None" to "is None".
stoiver Sep 13, 2017
67f8fd0
Merge pull request #136 from stoiver/is_None
stoiver Sep 13, 2017
db7b57d
match up dimensions of centroid and vertex arrays
stoiver Sep 13, 2017
e84ae0d
ensure variable is int
stoiver Sep 13, 2017
7a49bb4
Merge pull request #137 from stoiver/is_None
stoiver Sep 13, 2017
81a8acc
Removed inline to avoid linking problem on macos
stoiver Sep 13, 2017
645a646
drop test on darwin
stoiver Sep 13, 2017
73e6f47
Drop through on macos
stoiver Sep 13, 2017
71f4c05
added macos tests
stoiver Sep 13, 2017
3f72686
Merge pull request #138 from stoiver/is_None
stoiver Sep 13, 2017
bd77c93
Disable openmp on macos
stoiver Sep 13, 2017
01d78f9
Merge pull request #139 from stoiver/is_None
stoiver Sep 13, 2017
1a1689a
Adding macos test
stoiver Sep 13, 2017
84a778d
Removed tab
stoiver Sep 13, 2017
edbb4a7
Fixing bugs in macos build
stoiver Sep 13, 2017
fdb14aa
use wget from homebrew
stoiver Sep 13, 2017
3c69215
Getting file names correct
stoiver Sep 13, 2017
0dcc45d
Need to track down error
stoiver Sep 13, 2017
8d871ba
Still wrong file name
stoiver Sep 13, 2017
51e75b6
Setting path
stoiver Sep 13, 2017
cdcee40
removed sudo from install
stoiver Sep 13, 2017
fb52ad8
If darwin don't use openmp
stoiver Sep 13, 2017
da6ddad
disable openmp for macos
stoiver Sep 13, 2017
f3442fb
Merge pull request #140 from stoiver/macos_conda_forge
stoiver Sep 13, 2017
a1cf567
Merge branch 'wcc2002blockage' of git://github.com/88hoddle/anuga_cor…
stoiver Sep 14, 2017
65e00b8
Reinstated example scripts
stoiver Sep 14, 2017
3a693a8
Change appveyor runtest
stoiver Sep 14, 2017
d7e948c
Merge pull request #141 from stoiver/appveyor-runtests
stoiver Sep 14, 2017
8d90828
Merge branch 'culvert_mods' of git://github.com/88hoddle/anuga_core i…
stoiver Sep 14, 2017
a99988e
Merge pull request #142 from stoiver/88hoddle-culvert_mods
stoiver Sep 14, 2017
9bb0533
Hi Steve, i left verbose=True
PetarMilevski Sep 18, 2017
8bbacf0
Merge pull request #144 from 88hoddle/culvert_mods
stoiver Sep 18, 2017
f4bc8ab
Added old build files to patong
stoiver Oct 3, 2017
dac7295
Merge pull request #150 from stoiver/patong-extras
stoiver Oct 3, 2017
96334e7
now py scripts
stoiver Oct 3, 2017
9169d60
Merge pull request #151 from stoiver/patong-extras
stoiver Oct 3, 2017
e48d12c
Merge branch 'master' into rudy_rain_operator
stoiver Oct 4, 2017
e747efa
Allow sequential_distibute to save/load large domains.
ninnghazad Oct 17, 2017
af2bf14
Updated setup.py to compile c++-version of neighbour_table_ext module.
ninnghazad Oct 17, 2017
62c348f
Changed neighbour_table_ext.c to C++.
ninnghazad Oct 17, 2017
74df67c
Much better hash function, using the bitmixer from MurmurHash3.
ninnghazad Oct 18, 2017
0756bc5
Removed useless comments and compiler-flags from setup.py.
ninnghazad Oct 18, 2017
10eba3a
Removed dumb test-thing i forgot was in there.
ninnghazad Oct 18, 2017
a670691
Removed use of auto and changed to c++11 (seemingly min version for u…
ninnghazad Oct 18, 2017
4bb907a
Remove unused include mingw did not like.
ninnghazad Oct 18, 2017
0f51438
Removed leftover debug printfs.
ninnghazad Oct 20, 2017
adfb954
Changed module to use long integers (for large domains).
ninnghazad Oct 20, 2017
e01f260
Merge pull request #158 from ninnghazad/update-quantity_ext
stoiver Oct 21, 2017
14976d0
Merge pull request #155 from ninnghazad/update-neighbour_table_ext
stoiver Oct 21, 2017
1e84d8d
modifications to weir_orifice_trapedoid operator
PetarMilevski Nov 7, 2017
b33638b
Merge branch 'trapezoid' of git://github.com/88hoddle/anuga_core into…
stoiver Nov 12, 2017
f96f35a
Fixed wier function
stoiver Nov 12, 2017
21a954b
trapedoid-fixed
PetarMilevski Nov 13, 2017
df490a4
fixes for trapezoid
PetarMilevski Nov 13, 2017
83708b5
Update README.rst
Nov 14, 2017
cfaf2a3
updated logging in parallel structure operator
PetarMilevski Nov 15, 2017
1913336
changes made to model_tools.py
PetarMilevski Nov 19, 2017
1e37a1a
Use mingw32 compiler on windows
stoiver Nov 23, 2017
00d920e
Remove old runtime libs
stoiver Nov 23, 2017
da5f833
Use runtests for appveyor
stoiver Nov 23, 2017
cc4e567
Activate miniconda on appveyor
stoiver Nov 23, 2017
cce4bc4
Only install pypar if parallel set
stoiver Nov 23, 2017
2301f1f
Turn parallel off on travis
stoiver Nov 23, 2017
d91222d
Merge pull request #163 from stoiver/win-runtests
stoiver Nov 23, 2017
b9ccd1a
Added script to document installation of everything
uniomni Nov 27, 2017
03f1af6
update to the towradgi creek results file
PetarMilevski Nov 28, 2017
0de3d09
Added missing parameters to __init__
ninnghazad Dec 15, 2017
b21ea25
Update install_conda_macos.sh
stoiver Dec 16, 2017
7fdf0f0
allow trimming of internal_holes (houses) when producing geotiff outp…
davekennewell Feb 7, 2018
12b8fe8
added testcase where removal of leading spaces is allowed (occurs on …
davekennewell Mar 9, 2018
972ab88
added testcase where removal of leading spaces is allowed (occurs on …
davekennewell Mar 9, 2018
ca67e86
Merge pull request #167 from Hydrata/master
stoiver Mar 10, 2018
f2486da
Merge pull request #165 from ninnghazad/master
stoiver Mar 10, 2018
37610d0
Merge pull request #164 from 88hoddle/reporting
stoiver Mar 10, 2018
8f99f81
Merge pull request #168 from Hydrata/fix-geospatialdata-test
stoiver Mar 10, 2018
8dda970
Update appveyor.yml
stoiver Mar 11, 2018
0c7d723
Update appveyor.yml
stoiver Mar 12, 2018
2e03652
Update runCheckpoint.py
stoiver May 2, 2018
806a9f4
Update test_weir_orifice_trapezoid_operator.py
stoiver May 4, 2018
c2b1428
Update generic_domain.py
stoiver May 4, 2018
34eb7e2
Update quantity_setting_functions.py
stoiver May 10, 2018
8a073b5
Update quantity_setting_functions.py
stoiver May 10, 2018
f283148
Update __init__.py
stoiver May 11, 2018
6723de9
Update extras.py
stoiver May 14, 2018
9dcad7b
Update appveyor.yml
stoiver May 20, 2018
a76595c
Update appveyor.yml
stoiver May 20, 2018
3e9f18a
Update README.rst
stoiver May 20, 2018
bdbc332
Added link to colab notebooks
stoiver Jul 31, 2018
971beb2
Added Documentation and Help section title
stoiver Jul 31, 2018
cca98bd
Slight reformat
stoiver Jul 31, 2018
2319ce2
Added in a pump example
stoiver Aug 7, 2018
2e65266
Merge pull request #174 from stoiver/pump
stoiver Aug 7, 2018
6dbca90
Making consistent with notebook
stoiver Aug 8, 2018
03dc682
Merge pull request #175 from stoiver/pump
stoiver Aug 8, 2018
7f9d8ee
Merge branch 'master' into rudy_rain_operator
stoiver Aug 8, 2018
ecf0db0
Update hard coded version
stoiver Aug 23, 2018
249225f
ensure create_domain works
stoiver Aug 23, 2018
4aeb5dc
cleanup grid_data code
stoiver Aug 23, 2018
151d545
setting up example for rain
stoiver Sep 4, 2018
92fc879
Rename file to fit standard
stoiver Sep 4, 2018
dc7632f
move simulation to anuga tree
stoiver Sep 4, 2018
88a6d7b
Move to new folder
stoiver Sep 4, 2018
41f3d01
Moving run_simulation
stoiver Sep 4, 2018
0b1e268
Added Simulation to anuga
stoiver Sep 4, 2018
2673210
Use dill instead of cPickle
stoiver Sep 4, 2018
179c839
Added in some default arguments
stoiver Sep 4, 2018
d3ca9d4
added dill to install
stoiver Sep 4, 2018
297a9c7
updated simulation file
stoiver Sep 4, 2018
0fef7f0
Add simulation package
stoiver Sep 4, 2018
bfdec82
setup simulation module
stoiver Sep 4, 2018
cee155d
Add in extra files to Towradgi_simulation folder
stoiver Sep 4, 2018
9b40271
more explicit import
stoiver Sep 4, 2018
69bb00f
Update INSTALL.rst
stoiver Sep 4, 2018
17daa47
Merge pull request #177 from stoiver/simulation
stoiver Sep 4, 2018
144f00f
Update run_parallel_sw_rectangular_cross.py
stoiver Nov 19, 2018
cc9a181
Update run_parallel_sw_rectangular_cross.py
stoiver Nov 19, 2018
c50b525
Update __init__.py
stoiver Nov 19, 2018
d99cf75
Update run_parallel_sw_rectangular_cross.py
stoiver Nov 19, 2018
125f586
Update run_parallel_sw_rectangular_cross.py
stoiver Nov 19, 2018
0297f30
Update run_parallel_sw_rectangular_cross.py
stoiver Nov 20, 2018
00976ec
Update run_parallel_sw_rectangular_cross.py
stoiver Nov 20, 2018
b9763e0
Merge branch 'master' into rudy_rain_operator
stoiver Dec 17, 2018
de4d9df
bug when using log and ipython
stoiver Feb 12, 2019
2a5de47
Merge pull request #178 from stoiver/master
stoiver Feb 12, 2019
bfb3d06
get rid of fromstring
stoiver Mar 5, 2019
2c0bc86
Merge branch 'master' of https://github.com/GeoscienceAustralia/anuga…
stoiver Mar 5, 2019
a8b8130
Weird difference in plot util
stoiver Mar 5, 2019
c52deea
Merge pull request #180 from stoiver/master
stoiver Mar 5, 2019
ff2942b
updated user manual
stoiver Mar 26, 2019
896f396
updated manual
stoiver Mar 26, 2019
dd7fd12
Merge pull request #181 from stoiver/manual
stoiver Mar 26, 2019
ee3ca55
set default to 0 in parallel inlet_operator
stoiveroberts Apr 2, 2019
fb29199
Merge pull request #182 from stoiver/master
stoiver Apr 2, 2019
4ec9736
Merge branch 'master' of github.com:/stoiver/anuga_core
stoiver Apr 9, 2019
1c46050
Merge branch 'master' of github.com:/GeoscienceAustralia/anuga_core
stoiver Apr 9, 2019
5f7c6b9
vertex value bug when mesh has orphan nodes
stoiver Apr 11, 2019
25471d8
Merge pull request #183 from stoiver/sww-version_number
stoiver Apr 11, 2019
3fa0d75
Update INSTALL.rst
stoiver Apr 12, 2019
4ad31dd
Update INSTALL.rst
stoiver Apr 12, 2019
e37c871
Update INSTALL.rst
stoiver Apr 13, 2019
8028d8a
typo
stoiver Apr 17, 2019
4e43977
Merge pull request #184 from stoiver/sww-version_number
stoiver Apr 17, 2019
64349c4
timestepping_statistics now works with Q
stoiver Apr 17, 2019
dcdfc58
Merge pull request #185 from stoiver/rate_operator_stats
stoiver Apr 17, 2019
3cc1666
Merge branch 'master' of github.com:stoiver/anuga_core into rudy_rain…
stoiver May 7, 2019
9efd7c9
Resolved conflicts
stoiver May 7, 2019
7a90400
Merge pull request #186 from stoiver/88hoddle-trapezoid
stoiver May 7, 2019
16da900
Merge branch 'master' of github.com:stoiver/anuga_core into update-ca…
stoiver May 7, 2019
e1c927a
Merge branch 'update-cache-for-large-domains'
stoiver May 7, 2019
52601cc
Merge branch 'master' of github.com:GeoscienceAustralia/anuga_core
stoiver May 7, 2019
4083736
Change masked array to array
stoiveroberts May 9, 2019
fdc97f8
Merge branch 'master' into merewether_plot_results
stoiveroberts May 9, 2019
8f9bff3
Merge pull request #187 from stoiver/merewether_plot_results
stoiver May 9, 2019
319bc7c
Merge branch 'master' into rudy_rain_operator
stoiver May 9, 2019
6e63c13
Updating results file
stoiver May 16, 2019
e71f2e2
Typos in merewether case study
stoiver May 24, 2019
5927283
Bug in file_conversion.py
stoiver May 24, 2019
8bb6b7a
Merge pull request #188 from stoiver/bug_timefile2netcdf
stoiver May 24, 2019
42abf96
Merge branch 'master' into rudy_rain_operator
stoiveroberts May 25, 2019
9a5b440
Adding animate code from clinic
stoiver Jun 21, 2019
c4d984b
trying lambda function in BC
stoiver Jun 21, 2019
9198974
small typo
stoiver Jun 21, 2019
a05b818
updated low_froude code
stoiver Jun 22, 2019
3a9d67b
original low_froude update
stoiver Jun 22, 2019
fc2f2db
original file
stoiver Jun 22, 2019
a5e997a
latest low froude code
stoiver Jun 22, 2019
7ee037b
Merge pull request #189 from stoiver/clinic_animate
stoiver Jun 22, 2019
62c0e48
extended the time to subcritical flat model
stoiver Jun 23, 2019
71c07c1
extend finaltime to 30 periods
stoiver Jun 23, 2019
a1bdecd
longer finaltime
stoiver Jun 23, 2019
bbb3b83
pull plot results from longer time series
stoiver Jun 23, 2019
7c77588
typo in tex file and longer evolve
stoiver Jun 23, 2019
651af0a
sqrt(sqrt)) transform of local_fr
stoiver Jun 23, 2019
943c935
Merge branch 'master' into low_froude
stoiver Jun 23, 2019
9e5d534
Added set_use_low_froude procedure
stoiver Jun 24, 2019
22aefb3
Playing with local_fr
stoiver Jun 24, 2019
30c6c8f
playing with different versions of local_fr
stoiver Jun 24, 2019
97527e6
set default to use_low_froude = False
stoiver Jun 24, 2019
0aad337
For low_froude evolve for longer
stoiver Jun 25, 2019
5f56ac9
setup low_froude
stoiver Jun 25, 2019
0a9389a
unit tests now work for low_froude = 0 or 1
stoiver Jun 25, 2019
4c9a524
Change config low_froude to 0
stoiver Jun 25, 2019
5aeaabd
ensured that low_froude is broadcast in parallel
stoiver Jun 26, 2019
cb2120f
Made some parallel test faster
stoiveroberts Jun 26, 2019
21d0524
Merge branch 'master' into rudy_rain_operator
stoiver Jun 26, 2019
e16fb58
investigating rain operator
stoiver Jul 1, 2019
ee5f229
added in plt.pause calls
stoiver Jul 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ validation_tests/case_studies/towradgi/Model
validation_tests/case_studies/towradgi/PARTITIONS
validation_tests/case_studies/towradgi/Validation

validation_tests/reports/validations_report_alg_DE1.pdf

examples/cairns_excel/cairns_initialcond

parameters.tex
ch5.png
Expand Down
52 changes: 39 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,45 @@
language: python
sudo: required
virtualenv:
system_site_packages: true
env:
matrix:
#- PYTHON_VERSION="2.7" ANUGA_PARALLEL="openmpi" DISTRIB="conda"
- PYTHON_VERSION="2.7" ANUGA_PARALLEL="openmpi" DISTRIB="ubuntu"
#- PYTHON_VERSION="2.7" ANUGA_PARALLEL="mpich2" DISTRIB="conda"
- PYTHON_VERSION="2.7" ANUGA_PARALLEL="mpich2" DISTRIB="ubuntu" COVERAGE="--coverage"
- PYTHON_VERSION="2.7" ANUGA_PARALLEL="false" DISTRIB="ubuntu"
#- PYTHON_VERSION="2.6" ANUGA_PARALLEL="false" DISTRIB="conda"

install:
matrix:

include:

- os: osx
language: generic
sudo: false
python: "2.7"
env: PYTHON_VERSION="2.7" ANUGA_PARALLEL="false" DISTRIB="conda_macos"

- os: linux
language: generic
sudo: required
python: "2.7"
env: PYTHON_VERSION="2.7" ANUGA_PARALLEL="openmpi" DISTRIB="conda"

- os: linux
dist: trusty
sudo: required
python: "2.7_with_system_site_packages"
env: PYTHON_VERSION="2.7" ANUGA_PARALLEL="mpich" DISTRIB="ubuntu"

- os: linux
dist: trusty
sudo: required
python: "2.7_with_system_site_packages"
env: PYTHON_VERSION="2.7" ANUGA_PARALLEL="false" DISTRIB="ubuntu"

- os: linux
dist: trusty
sudo: required
python: "2.7_with_system_site_packages"
env: PYTHON_VERSION="2.7" ANUGA_PARALLEL="openmpi" DISTRIB="ubuntu" COVERAGE="--coverage"


install:
- if [[ "$DISTRIB" == "conda_macos" ]]; then source tools/install_conda_macos.sh; fi
- if [[ "$DISTRIB" == "conda" ]]; then source tools/install_conda.sh; fi
- if [[ "$DISTRIB" == "ubuntu" ]]; then source tools/install_ubuntu.sh; fi
- if [[ "$COVERAGE" == "--coverage" ]]; then pip install coverage coveralls; fi


script:
- python runtests.py $COVERAGE
Expand Down
150 changes: 38 additions & 112 deletions INSTALL.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@


Installation
============
******************
Anuga Installation
******************

.. contents::


Introduction
------------
============

AnuGA_ is a python package with some C extensions (and an optional fortran
extension). At present AnuGA has only been run and tested using python 2.x.
We recommend python 2.7.

If you have a python 2.7 environment with gcc and gfortran support,
then you can use pip to install the latest release
version of AnuGA::

pip install anuga

You might want to install the dependencies via ubuntu ``apt-get`` or ``conda install``
to download pre-compiled versions of the dependencies. See below.


Dependencies
------------
============

AnuGA requires the following packages:

Expand All @@ -33,26 +26,29 @@ AnuGA requires the following packages:
* `gdal <http://gdal.org/>`_
* `netcdf <http://www.unidata.ucar.edu/software/netcdf/>`_
* `nose <http://nose.readthedocs.org/en/latest/>`_
* `dill <https://dill.readthedocs.io/>`_
* A C compiler (preferably GCC or TDM-GCC_ MinGW_ on Windows)


Ubuntu Install
++++++++++++++
Installing the latest DEVELOPMENT version on Ubuntu
===================================================

AnuGA is developed on Ubuntu. The preferred way to install the dependencies is
to use the standard ubuntu ``apt-get`` method.

We have a script in the ``tools`` directory,
`install_ubuntu.sh <https://github.com/GeoscienceAustralia/anuga_core/blob/master/tools/install_ubuntu.sh>`_
which when run from the ``anuga_core`` directory will install AnuGA and all the dependencies using ``apt-get``.
We suggest installing the latest version of ANUGA_ from Github_.
We try to maintain the *master* branch stable and
`passing all tests <https://travis-ci.org/GeoscienceAustralia/anuga_core/branches>`_,
so it should be safe to use.

Follow these instructions to
`Install ANUGA on Ubuntu (using apt-get) <https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Ubuntu-(using-apt-get)>`_

For extended instructions checkout the wiki page
`install ANUGA on Ubuntu <https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Ubuntu>`_



Alternative Ubuntu Install
++++++++++++++++++++++++++
==========================

An alternative is to install the dependencies using the Anaconda_ or the Miniconda_ Python
distributions by `Continuum Analytics`_.
Expand All @@ -65,50 +61,42 @@ Both Anaconda_ and Miniconda_ do not require administrative rights
to your computer and do not interfere with the Python installed
in your system.

Follow these instructions to
`Install ANUGA on Ubuntu (using Miniconda) <https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Ubuntu-(using-Miniconda)>`_

Anaconda and Miniconda
~~~~~~~~~~~~~~~~~~~~~~

Once you have downloaded and installed Anaconda_ or Miniconda_
open a terminal (or ``cmd.exe`` on Windows).

With Miniconda_, you can create
a specific environment for AnuGA, by running::
Windows 10 Install using 'Ubuntu on Windows'
==========================

conda create -n anuga_env python=2.7
source activate anuga_env


With either Anaconda_ or Miniconda_ you can now install the dependencies by running::
Starting from Windows 10, it is possible to run an Ubuntu Bash console from Windows. This can greatly simplify the install for Windows users. You'll still need administrator access though.

conda install pip nose numpy scipy matplotlib netcdf4
conda install -c pingucarsti gdal

and setup GDAL_DATA environment variable:
Follow the instructions
`Install ANUGA on Window 10 using Ubuntu for Windows <https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Windows-10-using-Ubuntu-on-Windows'>`_

export GDAL_DATA=`gdal-config --datadir`

(You should add this command to your .bashrc file.)


Windows Dependency Installation
+++++++++++++++++++++++++++++++
Native Windows Installation
===============================

We have successfully install AnuGA on windows using Gohlke Binaries and using Miniconda.
At present we recommend using the Gohlke Binaries.
We have successfully installed AnuGA 'natively' on windows using Gohlke Binaries and using Miniconda.
At present we recommend using the Miniconda.

Follow the instructions
Follow the instructions
`install ANUGA on Windows using Miniconda
<https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Windows-using-Miniconda>`_

Alternatively follow the instructions
`install ANUGA on Windows using the Gohlke Binaries
<https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Windows-using-Gohlke-Binaries>`_

Alternatively if you want ot use Miniconda, follow the instructions
`install ANUGA on Windows using Miniconda
<https://github.com/GeoscienceAustralia/anuga_core/wiki/Install-ANUGA-on-Windows-using-Miniconda>`_





GCC dependency for Windows users
++++++++++++++++++++++++++++++++++++
--------------------------------

Unfortunately, the ``gcc`` compiler MinGW_ included in Anaconda or
installable via Miniconda_ doesn't have OpenMP_ support. This is required to compile
Expand All @@ -121,79 +109,18 @@ the installation. See this `excellent documentation for Windows users`_
(they even have screenshots!). The same applies if you are using Miniconda_.


Installing AnuGA
----------------

After you've installed the dependencies you can proceed to install AnuGA
using pip_.
Open a terminal (or ``cmd.exe`` on Windows) and run::

pip install anuga


If you already have AnuGA installed and want to **upgrade** to a newer
version, use::

pip install anuga --upgrade

To uninstall simply run::

pip uninstall anuga


.. note::

The Windows installer from older versions is no longer supported.

Installing the latest development version
-----------------------------------------

If you want the very latest code and features,
you can install AnuGA directly from Github_.
We try to maintain the *master* branch stable and
`passing all tests <https://travis-ci.org/GeoscienceAustralia/anuga_core/branches>`__,
so it should be safe to use.

First, you'll need to `install git`_.
Then, open a terminal and run::

git clone git://github.com/GeoscienceAustralia/anuga_core.git

This will fetch the source code from Github_
and place it in a folder called ``anuga_core`` in the directory where you ran the
command.
Then, just ``cd`` into the directory and run ``pip``::

cd anuga_core
pip install --upgrade .


Testing the install
-------------------


From the source directory run ``python runtests.py``

python runtests.py


If you get an error message or weird result,
please write to the `mailing list`_ or `create an issue on the github site
<https://github.com/GeoscienceAustralia/anuga_core/issues>`__.

To make it easier for us to debug you problem, please include the following
information:

* Operating system
* Python distribution (Anaconda_, PythonXY_, `ETS/Canopy`_, own install)
* Python version (2.6, 2.7 etc)
* The script you ran (and gave you an error/weird result)
* The error message (the part that says ``Traceback: ...``) or result (figure,
numbers, etc)

.. _AnuGA http://anuga.anu.edu.au/
.. _AnuGA: http://anuga.anu.edu.au/
.. _install git: http://git-scm.com/
.. _Github: https://github.com/stoiver/anuga_core/
.. _Github: https://github.com/GeoscienceAustralia/anuga_core/
.. _Python: http://www.python.org/
.. _pip: http://www.pip-installer.org
.. _MinGW: http://www.mingw.org/
Expand All @@ -206,4 +133,3 @@ information:
.. _OpenMP: http://openmp.org/
.. _TDM-GCC: http://tdm-gcc.tdragon.net/
.. _excellent documentation for Windows users: http://docs-windows.readthedocs.org/en/latest/devel.html#mingw-with-openmp-support

Loading