Intel® MPI Library

Developer Reference for Windows* OS

ID 768734
Date 10/31/2024
Public

Compilation Environment Variables

I_MPI_{CC,CXX,FC,F77,F90}_PROFILE

Specify the default profiling library.

Syntax

I_MPI_CC_PROFILE=<profile-name>

I_MPI_CXX_PROFILE=<profile-name>

I_MPI_FC_PROFILE=<profile-name>

I_MPI_F77_PROFILE=<profile-name>

I_MPI_F90_PROFILE=<profile-name>

Argument

<profile-name> Specify a default profiling library.

Description

Set this environment variable to select a specific MPI profiling library to be used by default. This has the same effect as using -profile=<profile-name> as an argument for mpiicc or another Intel® MPI Library compiler wrapper.

I_MPI_{CC,CXX,FC,F77,F90}

Set the path/name of the underlying compiler to be used.

Syntax

I_MPI_CC=<compiler>

I_MPI_CXX=<compiler>

I_MPI_FC=<compiler>

I_MPI_F77=<compiler>

I_MPI_F90=<compiler>

Arguments

<compiler> Specify the full path/name of compiler to be used.
  • I_MPI_CC=<compiler> affects mpiicx and mpicc
  • I_MPI_CXX=<compiler> affects mpiicpx and mpicxx
  • I_MPI_FC=<compiler> affects mpifc
  • I_MPI_F77=<compiler> affects mpif77
  • I_MPI_F90=<compiler> affects mpiifx and mpif90

Description

Set this environment variable to select a specific compiler to be used. Specify the full path to the compiler if it is not located in the search path.

NOTE:
Some compilers may require additional command line options.

I_MPI_ROOT

Set the Intel MPI Library installation directory path.

Syntax

I_MPI_ROOT=<path>

Arguments

<path> Specify the installation directory of the Intel MPI Library.

Description

Set this environment variable to specify the installation directory of the Intel MPI Library.

NOTE:
If you are using the Visual Studio integration, you may need to use I_MPI_ONEAPI_ROOT.

VT_ROOT

Set Intel® Trace Collector installation directory path.

Syntax

VT_ROOT=<path>

Arguments

<path> Specify the installation directory of the Intel Trace Collector.

Description

Set this environment variable to specify the installation directory of the Intel Trace Collector.

NOTE:
Intel Trace Analyzer and Collector 2022.3 is the final version. No further feature improvements or security fixes will be available after this final release. For more information, see the Intel Trace Analyzer and Collector transition notice.

I_MPI_COMPILER_CONFIG_DIR

Set the location of the compiler configuration files.

Syntax

I_MPI_COMPILER_CONFIG_DIR=<path>

Arguments

<path> Specify the location of the compiler configuration files. The default value is <install-dir>\etc

Description

Set this environment variable to change the default location of the compiler configuration files.

I_MPI_LINK

Select a specific version of the Intel MPI Library for linking.

Syntax

I_MPI_LINK=<arg>

Arguments

Argument Library Version
opt Multi-threaded optimized library. This is the default value
dbg Multi-threaded debug library

Description

Set this variable to always link against the specified version of the Intel MPI Library.

I_MPI_MSVC_VERSION

Specify the version of the Microsoft* Visual Studio to be used.

Syntax

I_MPI_MSVC_VERSION=<version>

Argument

<version> Specify the numeric full-version number of Microsoft* Visual Studio.

Description

Set this environment variable to select a specific Microsoft* Visual Studio version to be used by C/C++ compiler wrapper, such as mpicc, mpiicc, mpiicpc, mpicxx, and mpiicx.

By default, the latest available version is used.