Changes between Version 33 and Version 34 of InstallWindowsSvn


Ignore:
Timestamp:
Mar 12, 2015, 3:58:11 PM (10 years ago)
Author:
steve
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallWindowsSvn

    v33 v34  
    1111We 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.
    1212
    13 ==== Miniconda ====
     13=== Miniconda ===
    1414
    15 Download the Miniconda installer for {{{win32}}}
     15Download and run the [http://conda.pydata.org/miniconda.html Miniconda] installer.
    1616
    1717Be sure to choose the win32 {{{python 2.7}}} version. This is the version for which we are developing.
    1818
    19 ==== Netcdf4 Note ====
     19At the moment {{{anuga}}} has memory problems with {{{win64}}} so avoid that for the time being.
     20You are most welcome to help track down the problems and provide a bug fix.
    2021
    21 Check that netcdf is available. From a command line, try
     22==== Build environment and Load dependencies ====
    2223
     24First we need to create a specific python environment (called {{{anuga_env}}} and then activate the environment via
    2325{{{
    24 python -c "import netCDF4"
     26conda create -n anuga_env python=2.7
     27activate anuga_env
    2528}}}
    2629
    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 
     30Now in install all the packages
    3631{{{
    37 python -c "import Scientific.IO.NetCDF"
     32conda install pip nose numpy scipy netcdf4 matplotlib gdal geos
    3833}}}
    3934
     35=== GCC compiler ===
    4036
    41 ==== 64 bit ====
     37We need a gcc compiler to install {{{anuga}}}.
    4238
    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}}}.
     39We suggest that you download and install the version of [http://www.mingw.org/ MinGW] provided by [http://tdm-gcc.tdragon.net/ TDM-GCC].
     40Don't forget to mark the ``openmp`` and ``gfortran`` options in the "Choose Components" part of
     41the installation. See this `excellent documentation for Windows users`_
     42(they even have screenshots!).
     43
    4444
    4545==== Manual install ====