Intel® MPI Library

Developer Guide for Linux* OS

ID 768728
Date 10/31/2024
Public
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.