Installing Redistributable Libraries for Intel® oneAPI DPC++/C++ and Fortran Compilers for Windows*

ID 标签 662629
已更新 9/24/2024
版本 Latest
公共

author-image

作者

Overview

This article contains instructions on installing the redistributable library packages for Intel® oneAPI DPC++/C++ and Fortran Compilers for Windows*.

The redistributable packages are for the end users who use applications built with Intel Compilers. Please note that there is one redistributable package for every compiler update. Make sure you download and install the one recommended by the application vendor.

Links to the packages themselves are available at Redistributable Libraries by Version.

Installation Instructions

Links to the packages are available at Redistributable Libraries by Version. Download to a temporary directory.  Unzip the .zip package.  This creates a folder with 32bit (_ia32_) and 64bit (_intel64_) ‘.msi’ installation programs. The ‘.msi’ redistributable packages can be executed to install the redistributable libraries.  To install the redistributable package on Windows, double-click the .msi installer file(s). The installation program of the redistributable package will guide you through the installation. You will need to accept the EULA and the installation will install all the libraries to the fixed directory: [Common Files]\Intel\Shared Libraries\

The installation creates a new env-var "INTEL_DEV_REDIST" with the value of above installation directory, and the PATH env-var is updated with [INTEL_DEV_REDIST]\redist\[ia32|intel64]\compiler and [INTEL_DEV_REDIST]\redist\[ia32|intel64]\mpirt (for Fortran packages). The "redist\intel64" directory is added only on 64-bit systems. See below for more information on PATH changes.

If you wish to install the redistributable package "silently", so that no output is presented to the user, run the executable with the following options added to the command line like:

>> www_icl_redist_[ia32 | intel64]_2020.4.311.msi /quiet /qn
  or
>> www_ifort_redist_[ia32 | intel64]_2020.4.311.msi /quiet /qn

System PATH Environment Variable Changes

Installation of the redistributable libraries, in either MSI or MSM form, adds folders containing the installed DLLs to the system PATH environment variable. Microsoft Windows has a limit on the total size of the value of PATH; in versions later than Windows 7 the limit is 4095 characters. This limit applies not only to the system-wide definition but the length as modified by any batch files or scripts run. If the length is exceeded, the value of PATH can be truncated, and this can cause WIndows or some applications to operate improperly.

If you are concerned that PATH may get truncated, you can prevent the redistributable installer from modifying PATH, but then it is your responsibility to make sure that the proper folders are named in PATH when programs built using the Intel compilers are executed.

If you are using the MSI installer, use the command line and add the parameter NO_UPDATE_PATH=yes. This example is for intel64. For 32bit change “intel64” to “ia32” below::

msiexec /I ww_icl_redist_intel64_2020.4.311.msi NO_UPDATE_PATH=yes

msiexec /I ww_ifort_redist_intel64_2020.4.311.msi NO_UPDATE_PATH=yes

If you are using the MSM merge module, set the update property NO_UPDATE_PATH=yes in the installer properties.

Testing your Installation:

After installing the Intel redistributable libraries AND the prerequisite Microsoft Visual C++ redistributables or Visual Studio with C++ tools and libraries, try running your Intel-compiled binary. If there are any issues, please try to determine the missing DLLs or libraries using a tool such as Dependency Walker.

Have Questions?

Please consult the Intel User Forums: