Intel® MPI Library Reference Manual for Linux* OS
You can select a profile library through the -profile option of the Intel® MPI Library compiler drivers. The profile files are located in the <installdir>/<arch>/etc directory. The Intel® MPI Library comes with several predefined profiles for the Intel® Trace Collector:
<installdir>/etc/vt.conf - regular Intel® Trace Collector library
<installdir>/etc/vtfs.conf - fail-safe Intel® Trace Collector library
<installdir>/etc/vtmc.conf - correctness checking Intel® Trace Collector library
You can also create your own profile as <profile_name>.conf
The following environment variables can be defined there:
PROFILE_PRELIB - libraries (and paths) to include before the Intel® MPI Library
PROFILE_POSTLIB - libraries to include after the Intel® MPI Library
PROFILE_INCPATHS - C preprocessor arguments for any include files
For instance, create a file /myprof.conf with the following lines:
PROFILE_PRELIB="-L<path_to_myprof>/lib -lmyprof"
PROFILE_INCPATHS="-I<paths_to_myprof>/include"
Use the command-line argument -profile=myprof for the relevant compile driver to select this new profile.