Intel® MPI Library Developer Guide for Linux* OS

ID 768728
Date 12/16/2022
Public

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

Document Table of Contents

Selecting a Library Configuration

You can specify a particular configuration of the Intel® MPI Library to be used, depending on your purposes. This can be a library optimized for multi-threading debug or release version with the global lock.

To specify the configuration, source the vars.sh script with the -i_mpi_library_kind environment variable and the release or debug. For example:  

$ . <install-dir>/env/vars.sh -i_mpi_library_kind=release

-i_mpi_library_kind environment variable sets the library configuration. See the Intel® MPI Library Developer Reference for details.

You can use the following arguments:

Argument Definition
release Set this argument to use multi-threaded optimized library (with the global lock). This is the default value
debug Set this argument to use multi-threaded debug library (with the global lock)
NOTE:
You do not need to recompile the application to change the configuration. Source the vars.sh script with appropriate arguments before an application launch.

If you want to enable or disable usage of libfabric* from the Intel MPI Library, set the -i_mpi_ofi_internal environment variable. See the Intel® MPI Library Developer Reference for details.