Download Intel(R) Trace Collector Reference Guide

Transcript
Contents
Legal Information ................................................................................................................. 5
1. Introduction ...................................................................................................................... 7
1.1. Introducing Intel(R) Trace Collector ............................................................................ 7
1.2. System Requirements and Supported Features............................................................. 8
1.3. Multithreading ......................................................................................................... 10
1.4. What's New............................................................................................................. 10
1.5. Notational Conventions............................................................................................. 11
1.6. Related Information ................................................................................................. 11
2. Installation ..................................................................................................................... 12
2.1. Secure Loading of Dynamic Link Libraries* on Windows* OS ......................................... 14
2.1.1. SecureDynamicLibraryLoading ....................................................................... 14
2.1.2. VT_MPI_DLL and VT_FMPI_DLL ...................................................................... 15
2.1.3. SecurePath .................................................................................................. 15
3. How to Use Intel(R) Trace Collector................................................................................ 17
3.1. Tracing MPI Applications ........................................................................................... 17
3.1.1. Compiling MPI Programs with Intel® Trace Collector ........................................ 18
3.1.2. Linking MPI Programs with Intel® Trace Collector ............................................ 18
3.1.3. Running MPI Programs with Intel® Trace Collector ........................................... 19
3.1.4. Examples .................................................................................................... 20
3.1.5. Troubleshooting ........................................................................................... 20
3.1.6. Handling of Communicator Names .................................................................. 21
3.1.7. Tracing of Failing MPI Applications .................................................................. 21
3.1.8. Tracing MPI File IO ....................................................................................... 23
3.2. Generating Trace File on Intel(R) Xeon Phi(TM) Coprocessor ......................................... 23
3.2.1. Applications Running on Intel® Xeon Phi™ Coprocessor .................................... 23
3.2.2. Application Running on Host System and Intel® Xeon Phi™ Coprocessor
Simultaneously ..................................................................................................... 24
3.2.3. Applications Not Linked to Intel® Trace Collector Library .................................. 24
3.3. Single-process Tracing ............................................................................................. 25
3.4. Compiler-driven Subroutine Instrumentation ............................................................... 25
3.4.1. Intel® Professional Edition Compilers 10.0 and later ........................................ 26
3.4.2. gcc/g++ ..................................................................................................... 26
3.4.3. Folding ....................................................................................................... 26
3.4.4. C++ Name Demangling ................................................................................ 26
3.5. Tracing of Binaries and Binary Instrumentation ........................................................... 27
3.5.1. Synopsis ..................................................................................................... 27
3.5.2. Description .................................................................................................. 27
3.5.3. Analysis ...................................................................................................... 27
3.5.4. Running ...................................................................................................... 27
3.5.5. Function Tracing .......................................................................................... 28
3.5.6. Initialization ................................................................................................ 28
3.5.7. Startup Scripts ............................................................................................ 28
3.5.8. Limitations .................................................................................................. 29
3.6. itcpin Utility Options ................................................................................................. 29
3.7. Multithreaded Tracing............................................................................................... 36
3.8. Recording Statistical Information ............................................................................... 36
3.9. Recording Source Location Information ...................................................................... 38
2