Correctness Checking of MPI Applications
By default, the
libVTmc
library does not write a tracefile. To perform correctness checking of an MPI application, enable trace collection and link your application with the
libVTmc
library. Do the following:
Linux* OS
- Switch theCHECK-TRACINGconfiguration option toonto enable Intel® Trace Collector to record the correctness checking reports to the tracefile. For example:$ export VT_CHECK_TRACING=on
- Run your application with the-check_mpioption ofmpirun. For example:$ mpirun -check_mpi -n 4 ./myApp
Windows* OS
- Relink your application with thelibVTmclibrary using the-check_mpicompiler option. For example:> mpiicc -check_mpi myApp.c
- Run your application with theCHECK-TRACINGconfiguration option enabled. For example:> mpiexec -n 4 myApp.exe --itc-args --check-tracing ON --itc-args-end
Use Intel® Trace Analyzer to view correctness checking events.