[Last updated: 25th October 2010]
Intel(R) Visual Fortran 11.1 is supported by GEMPACK Release 10.0-001 or later. Check that you have the correct GEMPACK release before installing Intel Visual Fortran 11.1.
Please print out and read this page before beginning the installation procedure. This procedure is for installing Intel Visual Fortran 11.1 for both IA-32  and Intel(R) 64  applications with Microsoft Visual Studio 2008  under Windows. For 64-bit Source-code GEMPACK installations you must be using a 64-bit version of Microsoft Windows.
For the installation you should have the following:
The installation procedure we describe here is straight forward and varies only slightly from the defaults suggested by the Intel install program.
Figure 1: Pre-requisite Issues Warning for previous versions
Figure 2: Un-select the Math Kernel Library
Figure 3: Component selection for Intel Fortran 11.1
This section gives detailed instructions for editing the Windows system path variable. You must complete this section in order for Source-code GEMPACK to work with Intel Visual Fortran 11.1.
Open the System Properties dialogue as follows:
If you are upgrading to Intel Visual Fortran 11.1 from Intel Visual Fortran 10.1 or 10.0 you do not need to uninstall the old version but you must make sure that you remove the appropriate "Bin" folder from the system path as follows. If you are not upgrading from version 10 then skip on to the next paragraph. Edit the system path variable. To remove the 32-bit "Bin" folder from the path locate and delete the string %IFORT_COMPILER10%\IA32\Bin; . To remove the 64-bit "Bin" folder from the path locate and delete the string %IFORT_COMPILER10%\EM64T\bin; . Make sure you leave a semi-colon separating the remaining entries.
To complete the installation you must add the %IFORT_COMPILER11%Bin folder to the system path variable (this will add both the 32-bit and 64-bit compilers to the path). One method of doing this is as follows. Find the string %IFORT_COMPILER11%lib\ia32; in the system path variable value field, probably at the left-hand end:
Using the mouse select and copy this string (including the semi-colon), and then paste a copy after the ...ia32; . On the new copy delete lib\ia32 and replace with Bin (only edit the new copy). Your path variable should then contain this string %IFORT_COMPILER11%lib\ia32;%IFORT_COMPILER11%Bin;
Entries in the path string must be separated by a semi-colon, so check that you have a semi-colon either side of the new string. Click Ok to accept the changes, and Ok again to close the Environment Variables and System Properties dialogues.
Make sure that you edit the lower "System variables" panel, not the upper "User variables" panel.
When Intel Visual Fortran 11.1 is installed by following the above procedure both 32-bit and 64-bit programs may be compiled, however GEMPACK will only use the one you specify during the GEMPACK installation. If you want to change the compiler that GEMPACK works with you need to reinstall GEMPACK Source-code (Release 10.0-001 or later) again. Note that during the GEMPACK install IF64 (Intel Fortran 64-bit) is only available if you are using 64-bit Windows.
You can test your installation of Intel Fortran as follows. Right click and choose "Save Link As" or "Save Target As" depending on your browser, to save the small program hello.for into a temporary folder, say C:\test. When compiled and executed this program will write "Hello World" to the terminal. Next, open a command prompt in the C:\test folder (containing hello.for). To test the 32-bit installation, type the following commands.
To test the 64-bit installation (this only works on 64-bit Windows), type the following commands:
The first command, ifortvars ia32 (or ifortvars intel64), sets up the environment for the compiler, and will not work if you have not correctly edited the system path as described above. The second command, ifort hello.for, compiles the executable program hello.exe. And the third command, hello, runs the hello.exe program which will write the words "Hello World" to the terminal. If you see "Hello World" then your compiler installation is working.
1. IA-32 - a system based on a Pentium compatible 32-bit processor running a 32-bit version of Microsoft Windows. [Top]
2. Intel® 64 (also EM64T) - a system based on an AMD64 compatible processor running a 64-bit version of Microsoft Windows. [Top]
3. Microsoft Visual Studio 2008 is a software development product from Microsoft needed by Intel Visual Fortran. It comes bundled in the Intel Visual Fortran Professional install package and when necessary is installed by default. [Top]
Go back to:
Using Intel Fortran with Source-Code GEMPACK
Fortran Compilers for Use with Source-Code GEMPACK