Installing the required software on Windows

  1. TortoiseSVN

  2. Microsoft Platform SDK (PSDK-x86)

  3. Microsoft Visual C++: Either one of the following products will work:

    Supposedly you can also use the linker provided with Microsoft Visual C++ Professional, although we have not tested this.
  4. Intel Visual Fortran: You will need Intel Visual Fortran Compiler for Windows from http://www.intel.com/cd/software/products/asmo-na/eng/278834.htm.

    • Version 10: This is the one we currently use. During installation, if there is a message about "Visual Studio not found", and you actually have installed one of the Visual C++ version listed above, you can ignore the message.
    • Version 8-9: We have used this in the past and it has worked too. It will first extract the setup files onto the hard drive, and then it will open a web page. Click the link "Install Intel® Visual Fortran Compiler" at the top right of this page to start the installer. If you are using the Visual C++ toolkit instead of Visual Studio, choose the option to "Continue installing" when it says command line support will not work. You should turn on the option "Automatically define Intel Fortran environment variables."
    • g95: I have not been able to get g95 to work on Windows either, although we use it for both Mac and Linux. If you do decide to try it this way, make sure to include --with-g95 when you run configure.
  5. MinGW: You will need to download and install several packages from http://www.mingw.org/download.shtml.

    • First install MSYS, and say "no" to it's post installation.

    • Then install MSYS DTK.

    • Then do a full install of MinGW to c:\msys\1.0\mingw.

  6. SWIG

  7. Python 2.5: You will need to install all of the following:

    • Python 2.5

    • win32 extensions for Python 2.5

    • numpy

      • Note: Don't try numpy 1.3; it's not compatible with the current mgl tools
      • After installing numpy, open this file with an editor: C:\Python25\Lib\site-packages\numpy\f2py\crackfortran.py

      • Search in the file for "72"
      • The search should go to a line like this:
        • if len(l)>72: l=l[:72]
                 
          Change that line to
          if len(l)>72: pass #l=l[:72]
                 
      • See this for explanation