Intel® MPI Library User's Guide for Linux* OS
Use the -t or -trace option to link the resulting executable files against the Intel® Trace Collector library. This has the same effect as when -profile=vt is used as an argument to mpiicc or another compiler script.
$ mpiicc -trace test.c -o testc
To use this option, you need to:
Install the Intel® Trace Analyzer and Collector first. The tool is distributed as part of the Intel® Parallel Studio XE Cluster Edition bundle only.
Include the installation path of the Intel® Trace Collector in the VT_ROOT environment variable. Set I_MPI_TRACE_PROFILE to the <profile_name> environment variable to specify another profiling library. For example, set I_MPI_TRACE_PROFILE to vtfs to link against the fail-safe version of the Intel® Trace Collector.