Use -check_mpi option to link the resulting executable file against the Intel® Trace Collector correctness checking library. This has the same effect as when -profile=vtmc is used as an argument to mpiicc or another compiler script.
$ mpiicc -profile=vtmc test.c -o testc
$ mpiicc -check_mpi test.c -o testc
To use this option, you need to: