Intel® MPI Library Developer Reference for Windows* OS

ID 768734
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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.

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.

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.