Installing Intel Fortran 11 for GEMPACK

[Last updated: 25th October 2010]

Intel(R) Visual Fortran 11.0 is supported by GEMPACK Release 10.0-001 and later. Check that you have the correct GEMPACK release before installing Intel Visual Fortran 11.0.

Please print out and read this page before beginning the installation procedure. This procedure is for installing Intel Visual Fortran 11.0 for both IA-32 [1] and Intel(R) 64 [2] applications with Microsoft Visual Studio 2005 Premier Partner Edition [3] under Windows. For 64-bit Source-code GEMPACK installations you must be using a 64-bit version of Microsoft Windows.

Installation check list

For the installation you should have the following:

Installation steps

The installation procedure we describe here is straight forward and varies only slightly from the defaults suggested by the Intel install program.

  1. Start the install by running the w_cprof_p_11.0.xxx.exe install program.
  2. Click through the installation procedure accepting the default settings. When you reach the "Activation Options" dialogue you will need to use your serial number or licence file. To use a licence file select the 3rd option "Choose alternative activation".
  3. After activation you reach the "Choose Installation Type" dialogue where the choice you are presented with is Full installation or Custom Installation. Select Custom Installation and click Next.
  4. On the "Choose a Destination Folder" dialogue click Next to accept the default destination.
  5. On the "Select Components to Install" dialogue un-select the Intel(R) Math Kernel Library. Do this by clicking on the grey box beside Intel(R) Math Kernel Library and select the red X option.

    Intel Fortran 11.0 unselect MKL

    Figure 1: Un-select the Math Kernel Library


    The dialogue window should now look like figure 2.

    Intel Fortran 11.0 component selection

    Figure 2: Component selection for Intel Fortran 11.0


    Click Next to continue.
  6. Click Next to accept the default choices on the "Configuration Options" dialogue, and likewise on the following "Update System Path" dialogue. Click Install on the "Installation Summary" dialogue.
  7. Vista and Windows7 installations only. [Go on to point 8 if not using Vista.] If you are installing under Vista or Windows7 you may see during the installation the warning message in Figure 3 below, or similar

    Vista known compatibility issues warning

    Figure 3: Vista installation warning message

    Click Run program and complete the installation. This issue will be taken care of by installing the two service packs that you have already downloaded in the subsequent steps.
  8. Finally you will see the "Installation Complete" dialogue reporting a successful installation. Click Finish to exit the install program.
  9. Installation of the Visual Studio service pack is compulsory for installations on Windows Vista, Windows 7 and later Windows, and is recommended for Windows XP. To install this service pack, run the install program
    VS80sp1-KB926601-X86-ENU.exe
    which is your downloaded copy of Microsoft® Visual Studio® 2005 Team Suite Service Pack 1.
    The service pack is quite large and may take a few minutes to install.
  10. Vista and Windows 7 installations only. Installation of a second Visual Studio service pack is compulsory on Windows Vista and Windows7. [Skip this step if you are installing on Windows XP.] To install this service pack on Vista or Windows7, run the installation file
    VS80sp1-KB932232-X86-ENU.exe
    which is your downloaded copy of Visual Studio 2005 Service Pack 1 Update for Windows Vista.
  11. Now complete the next section "Editing the System PATH environment variable".

Editing the System PATH environment variable

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.0.

Open the System Properties dialogue as follows:

If you are upgrading ...

If you are upgrading to Intel Visual Fortran 11.0 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.

Intel Fortran 11.0 edit system path step 1


Completing the installation of Intel Fortran 11 ...

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:

Make sure that you edit the lower "System variables" panel, not the upper "User variables" panel.

Intel Fortran 11.0 edit system path step 1

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;

Intel Fortran 11.0 edit system path step 2

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.

Other Comments

When Intel Visual Fortran 11.0 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.

"Hello World" test for Intel Fortran 11.0

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.

C:\test>ifortvars ia32
C:\test>ifort hello.for
C:\test>hello

To test the 64-bit installation (this only works on 64-bit Windows), type the following commands:

C:\test>ifortvars intel64
C:\test>ifort hello.for
C:\test>hello

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.

Some terms used on this page.

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 2005 Premier Partner Edition is a software development product from Microsoft required by Intel Visual Fortran that comes bundled in the Intel Visual Fortran Professional download package from Intel 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