Installing the required software on Windows
Microsoft Platform SDK (PSDK-x86)
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.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.
MinGW: You will need to download and install several packages from http://www.mingw.org/download.shtml.
SWIG
Download SWIG zip file: http://prdownloads.sourceforge.net/swig/swigwin-1.3.36.zip
- Unzip contents to root of you hard disk i.e. C:/
Rename the extracted folder to just swigwin (this is a necessary step for the make system to work)
Python 2.5: You will need to install all of the following:
- 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 toif len(l)>72: pass #l=l[:72]
See this for explanation
