Intel® MPI Library Developer Guide for Linux* OS
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 mpivars.[c]sh script with release, debug, release_mt, or debug_mt argument. For example:
$ . <installdir>/intel64/bin/mpivars.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) |
You do not need to recompile the application to change the configuration. Source the mpivars.[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 mpivars.[c]sh. See the Intel® MPI Library Developer Reference for details.