Developer Guide

  • 2021.1
  • 12/04/2020
  • Public Content
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 or per-object lock.
To specify the configuration, source the
vars.[c]sh
script with the
release
, or
debug
,  
release_m
t, or
debug_mt
argument. For example:  
$ . <install-dir>/env/vars.sh release
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)
release_mt
Set this argument to use multi-threaded optimized library (with per-object lock for the thread-split model)
debug_mt
Set this argument to use multi-threaded debug library (with per-object lock for the thread-split model)
Note
You do not need to recompile the application to change the configuration. Source the
vars.[c]sh
script with appropriate arguments before an application launch.
Alternatively, if your shell does not support sourcing with arguments, you can use the
I_MPI_LIBRARY_KIND
environment variable to set an argument for
vars.c[sh]
. See the
Intel® MPI Library Developer Reference
for details.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.