Changes between Version 33 and Version 34 of InstallWindowsSvn
- Timestamp:
- Mar 12, 2015, 3:58:11 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallWindowsSvn
v33 v34 11 11 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. 12 12 13 === = Miniconda ====13 === Miniconda === 14 14 15 Download the Miniconda installer for {{{win32}}}15 Download and run the [http://conda.pydata.org/miniconda.html Miniconda] installer. 16 16 17 17 Be sure to choose the win32 {{{python 2.7}}} version. This is the version for which we are developing. 18 18 19 ==== Netcdf4 Note ==== 19 At the moment {{{anuga}}} has memory problems with {{{win64}}} so avoid that for the time being. 20 You are most welcome to help track down the problems and provide a bug fix. 20 21 21 Check that netcdf is available. From a command line, try 22 ==== Build environment and Load dependencies ==== 22 23 24 First we need to create a specific python environment (called {{{anuga_env}}} and then activate the environment via 23 25 {{{ 24 python -c "import netCDF4" 26 conda create -n anuga_env python=2.7 27 activate anuga_env 25 28 }}} 26 29 27 If no error occurs then netCDF4 is available and you can disregard the rest of this note. 28 29 30 But unfortunately version 2.7.3.1 (April 2013) {{{python xy}}} seems to be missing {{{netCDF4}}}. 31 32 __Please let us know if later versions are ok.__ 33 34 If it is missing then you need to install another package to cover this loss. For this we can use the precompiled scientific python binaries from [http://www.lfd.uci.edu/~gohlke/pythonlibs/#scientificpython]. I suggest you choose {{{ScientificPython-2.9.2.win32-py2.7.exe}}} to install. To test this install try: 35 30 Now in install all the packages 36 31 {{{ 37 python -c "import Scientific.IO.NetCDF" 32 conda install pip nose numpy scipy netcdf4 matplotlib gdal geos 38 33 }}} 39 34 35 === GCC compiler === 40 36 41 ==== 64 bit ==== 37 We need a gcc compiler to install {{{anuga}}}. 42 38 43 At the moment {{{python xy}}} is only 32 bit, but there seems to be a promise that a 64 bit distribution is not too far away. There is a 64 bit python distribution package from Enthought, but is free only to academic users. So at present we recommend win32 {{{python xy}}}. 39 We suggest that you download and install the version of [http://www.mingw.org/ MinGW] provided by [http://tdm-gcc.tdragon.net/ TDM-GCC]. 40 Don't forget to mark the ``openmp`` and ``gfortran`` options in the "Choose Components" part of 41 the installation. See this `excellent documentation for Windows users`_ 42 (they even have screenshots!). 43 44 44 45 45 ==== Manual install ====