Installing Intel Fortran 12.0 for GEMPACK

[Last updated: 5th August 2011]

Intel(R) Visual Fortran 12.0 is supported by GEMPACK Release 11.0 or later. Check that you have the correct GEMPACK release before installing Intel Visual Fortran 12.0.

Please read this page carefully before beginning the installation procedure.

Intel Visual Fortran 12.0 targets both 32-bit and 64-bit applications [1]. You choose one of these when you install GEMPACK. Included as part of the installation is Microsoft Visual Studio 2008 [2], you don't need to know what it is or how to use it. You must be using Windows XP, Vista or Windows 7 or later 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_fcompxe_2011.n.mmm.exe install program.
  2. Proceed through the first few windows of the installation procedure (click Extract, Next, Accept terms of licence, Next) then when you reach the "Activation" dialogue you will need to use your serial number or licence file. To use a licence file select the "Choose alternative activation" option, click Next, Browse for your licence file and click Next.
  3. After activation you come to "Choose Installation Type". 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 we recommend you un-select the Intel Math Kernel Library. Do this by clicking on the green "+" beside Intel Math Kernel Library and select the red "-" option. In the same way we recommend you un-select the Intel Parallel Debugger Extension. The dialogue window should now look like figure 1.

    Intel Fortran 12.0 component selection

    Figure 1: Component selection for Intel Fortran 12.0.


    Click Next to continue.
  6. Click Next, Install and Finish to finish the installation.
  7. 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 12.0.

Open the System Properties dialogue as follows:

If you are upgrading ...

If you are upgrading to Intel Visual Fortran 12.0 from Intel Visual Fortran 10 or 11 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 then skip on to the next paragraph. Edit the system path variable then locate and delete the appropriate string from the following possibilities:

Make sure you leave a semi-colon separating the remaining entries. Here is an example:

Intel Fortran 12.0 edit system path step 1


Completing the installation of Intel Fortran 12.0 ...

To complete the installation you must add the string %IFORT_COMPILER12%Bin to the system path variable (this will add both the 32-bit and 64-bit compilers to the path). Edit the system path, scroll to the lefthand end enter %IFORT_COMPILER12%Bin; like this:

Intel Fortran 12.0 edit system path step 1

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

Entries in the path string must be separated by a semi-colon, so check that you have a semi-colon at the end 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 12.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 Source-code GEMPACK. 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

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. Intel calls these targets IA-32 and Intel64. IA-32 means a system based on a Pentium compatible 32-bit processor running a 32-bit version of Microsoft Windows, these programs will also run under a 64-bit version of Microsoft Windows. Intel64 (also EM64T) means a system based on an AMD64 compatible processor running a 64-bit version of Microsoft Windows.[Top]

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