Changes between Version 36 and Version 37 of InstallWindowsSvn
- Timestamp:
- Mar 14, 2015, 10:28:13 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallWindowsSvn
v36 v37 5 5 {{{anuga}}} is developed on Linux (Ubuntu) and hence the installation on Linux (Ubuntu) is more streamlined. But it is possible to install on windows. First you need to install the required {{{python}}} environment, then download the {{{anuga}}} source and then compile and test. The most time consuming part of the process is getting the {{{python}}} environment setup (which involves either a 500 MB download and some fixes, or a sequence of smaller downloads (see manual install)). But it can be done. 6 6 7 == Packages to install ==8 7 9 == = Python ===8 == Python == 10 9 11 10 We use {{{python}}} as our programming environment together with a number of standard python packages such as {{{numpy, scipy, matplotlib, netcdf4}}}. One way to install all the required packages is to use a distribution like {{{python_xy}}}, {{{Anaconda}}} and the related {{{miniconda}}} environments. … … 20 19 You are most welcome to help track down the problems and provide a bug fix. 21 20 22 == == Build environment and Load dependencies ====21 == Anuga python package dependencies == 23 22 24 23 {{{conda}}} is now installed, but we do need to install a number of other packages, via the {{{conda install}}} command. … … 30 29 }}} 31 30 32 == = GCC compiler ===31 == GCC compiler == 33 32 34 33 We need a gcc compiler to install {{{anuga}}}. … … 38 37 the installation. 39 38 40 == == Manual install ====39 == Manual install == 41 40 42 41 It is possible to install the required environment manually. You would need to install {{{Mingw}}} to provide a compiler, the standard distribution of {{{python27}}} and then precompiled python libraries for {{{numpy, scipy, matplotlib, netcdf4}}} from a site like [http://www.lfd.uci.edu/~gohlke/pythonlibs/]. It would be interesting to hear feedback on this option, as there is an opportunity to use versions using the Intel Math Kernel Library, which should provide a useful increase in speed. 43 42 44 43 45 == Installing anuga==44 == Download ANUGA == 46 45 47 So now to actually installing anuga. 46 So now to actually installing anuga. First we need to get the actual anuga source code. 47 48 === Zipped version === 49 50 A zipped version of the latest development version of anuga from github at [https://github.com/stoiver/anuga_core/archive/master.zip] and the latest released version at sourceforge [http://sourceforge.net/projects/anuga/files/anuga_1.3/anuga_1.3.10.zip] 48 51 49 52 === Checkout anuga via svn === 50 53 51 First we need to get the actual anuga source code. We do this by checking out the anuga52 repository using subversion.I suggest installing [http://tortoisesvn.net/downloads.html tortoise svn downloads] and then checking out the following svn repository.54 We can also check out the anuga repository using subversion. 55 I suggest installing [http://tortoisesvn.net/downloads.html tortoise svn downloads] and then checking out the following svn repository. 53 56 When you installed {{{tortoise svn}}} it creates a few extra menu items to your right click menu in the file manager. Just choose "tortoise" checkout to download the code. 54 57 … … 59 62 This should produce an anuga_core directory 60 63 61 == = Compiling ANUGA ===64 == Installing ANUGA == 62 65 63 66 Now go to the directory anuga_core and build and install the anuga files. … … 69 72 70 73 71 == = Run Unit tests ===74 == Run Unit tests == 72 75 73 76 From the anuga_core directory run the unit tests via: … … 92 95 }}} 93 96 94 == = Notes ===97 == Note == 95 98 96 99 You can add a text file {{{pydistutils.cfg}}} to your C:\Users\Username directory contaning the configuration info