Setup Tips - Intel Fortran Compiler (Trial or Free Edition)

The following tips may be used to help with setting up a trial for Intel(R) Fortran Composer (IVF):

a. Review the tips in Step 1 of this article.

b. Microsoft(R) Visual Studio (VS) software is prerequisite when using IVF. This software must be installed before IVF, to ensure "integration" between the two software.

c. Visual Studio software may be obtained and installed as follows:

(i) To obtain a download from the MHI Support desk, please indicate the version and edition of Visual Studio, as well as your PSCAD license number.

(ii) Or, to download from the Microsoft website, the most current version or earlier versions.

Note
To obtain earlier versions from the Microsoft website, it is required to first join their free Dev Essentials program.

(iii) For Visual Studio 2015: Ensure that the "selected" items as shown in the following screenshot are selected during your installation (minimum required elements):
                    

         VS 2015 Installation.png (122 KB)

Warning! To update an existing installation of VS 2015, it is recommended to uninstall-then-reinstall this software. It is not recommended to "modify" your existing installation.

(iv) For Visual Studio 2017: Ensure that the "selected" items as shown in the following screenshot are selected during your installation (minimum required elements):

Visual Studio 2017 Installation - Selections1.png (233 KB)


                                     Warning – the items might be differently-ordered in your installer, so just be careful when selecting them.

(v) For Visual Studio 2019: Ensure that the "selected" items as shown in the following screenshot are selected during your installation (minimum required elements):

Visual Studio 2019 Installation - Selections.png (255 KB)

                                          Warning – the items might be differently-ordered in your installer, so just be careful when selecting them.

Note - Visual Studio 2022 supported only on 64-bit editions of Windows 10 version 1909 and higher and Windows Server 2016 and higher

(vi) For Visual Studio 2022: Ensure that the "selected" items as shown in the following screenshot are selected during your installation (minimum required elements):

Visual Studio 2022 - Selections during Installation.png (210 KB)  

                                                    Warning – the items might be differently-ordered in your installer, so just be careful when selecting them.


d. For a Trial of Intel 18 or Older:

Note - A trial for v19.0 or 19.1 is not available (see Step e below for Intel 19.2 trial).

- Contact the MHI support desk (support@mhi.ca) for a download.

- Download, unzip and launch the installer.

- When prompted to select the activation, select "Evaluate...".

Intel 15 - Evaluate option.png (707 KB)

- Select the option to "customize" the installation:

Intel 15 - Customize Option.png (247 KB)

- When prompted to select the items to install, select the 32-bit and 64-bit editions" as shown in the image below:
Intel 15 - Products to install.png (43 KB)

- When prompted to select Integration with Microsoft Visual Studio, ensure that the version installed in Step c. above is selected.

e. For a Trial of Intel oneAPI (v19.2) (v2021 or 2022 or 2023 or 2024):

Notes

(1) This free compiling software is compatible with PSCAD v4.6.3 and newer. It is not compatible with v4.6.2 and older.

(2) If you are also expecting to install a licensed or trial version for an earlier version of Intel (e.g. Intel 15), then that earlier version should be installed first.
If the earlier version detects that Intel 19.2 (or any other version) is already installed, a trial for your earlier version installer may be denied.


(3) It is generally expected that pre-compiled models will run in the same or newer version of Intel that was used to pre-compile them.
(e.g. if pre-compiled using intel 15, the model should be compatible with Intel 15 and newer)
The exception occurs if the model contains any non-Fortran code (e.g. c-code). This is rare, but if this occurs, and if the model designer specifies an older version of Microsoft Visual Studio (specifically VS 2013 and older), then the pre-compiled model is not expected to be compatible with this free compiler setup.
Refer to Chart 3.b of the Compatibility Charts posted to this article.

- Obtain the "offline" download from either the Intel Website (newest version) or the MHI Support Desk.

    Note - Two toolkits are required, the Base Toolkit and the HPC Toolkit.


- Unzip the downloaded file/s, and save them locally on your machine (e.g. desktop).
  For example, the two kits from the 19.2.49846 (2024.0.0) build are shown as follows:
      Intel - Two toolkit installers.png (11 KB)

- Launch the Base Kit installer first, and when prompted, select the "Custom" installation. Then you can ensure to select the one item ("...Threading Building Blocks") as shown below for installation:
        Intel 19.2 - Installation - Base Kit Selections1.png (376 KB)

- Launch the HPC toolkit installer second, and when prompted, select the "Custom" installation.
Then you can ensure to select the one item ("...Fortran Compiler Classic") as shown below for installation:

Intel 19.2 - Installation - HPC Kit Selections.png (932 KB)

g. After installing Visual Studio and Intel Fortran compiler (any versions), log out then log back in on your machine or network to apply the changes.

h. Use the Fortran Medic Utility to check that the Intel variable is present in the Windows Environment.
(If the variable is not present in the Environment, PSCAD might not be able to detect this compiler.)
This can be checked as per Step 1 and fixed as per Step 2 of this article.

i. Use the Fortran Medic Utility to check that the Visual Studio variable is present in the Windows Environment.
(If the variable is not present in the Environment, PSCAD might not be able to detect this software.)
This can be checked as per Step 1 and fixed as per Step 2 of this article.

j. Configure PSCAD EMTDC files appropriately as per the information in this article.
This will allow PSCAD to use either Visual Studio 2013 and older, or Visual Studio 2015 and newer.

k. Configure PSCAD to be able to use newer versions of Intel Fortran compiler as per this article.

l. Try testing your setup as per this article. If there are no errors in your Build pane, then your setup is good, and ready for your own projects. Refer to the troubleshooting suggestions in this article if there are any build errors.

If you are new to PSCAD, a listing of resources is available in this topic.

Back