Changes between Version 1 and Version 2 of InstallWindowsGohlke
- Timestamp:
- Mar 31, 2015, 5:11:41 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallWindowsGohlke
v1 v2 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. 6 6 7 8 == Python ==9 7 10 8 We use {{{python}}} as our programming environment together with a number of standard python packages such as {{{numpy, scipy, matplotlib, netcdf4, gdal, nose}}}. One way to install all the required packages is to use the standard python distribution an then install pre-compiled binaries from [http://www.lfd.uci.edu/~gohlke/pythonlibs]. … … 38 36 From http://www.lfd.uci.edu/~gohlke/pythonlibs/#nose download nose‑1.3.4‑py2‑none‑any.whl 39 37 38 From the directory where you have downloaded the whl files. At the {{{cmd}}} line 39 40 {{{ 41 pip install numpy‑1.9.2+mkl‑cp27‑none‑win32.whl 42 pip install scipy‑0.15.1‑cp27‑none‑win32.whl 43 pip install netCDF4‑1.1.7‑cp27‑none‑win32.whl 44 pip install matplotlib‑1.4.3‑cp27‑none‑win32.whl 45 pip install GDAL‑1.11.2‑cp27‑none‑win32.whl 46 pip install nose‑1.3.4‑py2‑none‑any.whl 47 }}} 48 49 40 50 == GCC compiler == 41 51 … … 59 69 To install git use the [http://git-scm.com/download/win windows download link] 60 70 61 == Manually install dependencies ==62 71 63 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. 72 73 74 64 75 65 76