Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2159 Discussions

How to use the Intel Trace Collector(ITC) in non-MPI Application

klouis
Beginner
371 Views

Dear whom it may concern:

I have tried to trace socket communication in distributed application
using the Intel Trace Collector(ITC) 7.2
But, I feel hard because I can't consult some example(or guide)
sources(or projects) for socket communication.

So, ifsomeone hasa example or usage, addition information(except
Reference Guide) of socket communication using ITC, please send me the files.

(skyrain22@naver.com)

I would greatly appreciate your prompt reply

Sincerely Louis

0 Kudos
2 Replies
TimP
Honored Contributor III
371 Views

According to my understanding, unless you implement the API calls, Trace Collector works entirely by capturing information in MPI calls, and doesn't work at as low a level as you appear to propose.

0 Kudos
srimks
New Contributor II
371 Views
Quoting - klouis

Dear whom it may concern:

I have tried to trace socket communication in distributed application
using the Intel Trace Collector(ITC) 7.2
But, I feel hard because I can't consult some example(or guide)
sources(or projects) for socket communication.

So, if someone has a example or usage, addition information(except
Reference Guide) of socket communication using ITC, please send me the files.

(skyrain22@naver.com)

I would greatly appreciate your prompt reply

Sincerely Louis

Hi.

AFIK with Intel Trace Analyser & Collector, the tracing part is not restricted to programs using MPI; however it is more complicated to use the tracing library in this case. One can use itcpin to insert instrumentation probes. The itcpin utility program can manipulate a binary executable so that an Intel Trace Analyzer and Collector library is inserted as if the file has been linked against it. It can also insert code into the executable so that function entry and exit events are recorded for more detailed analysis of the users code.


If one has the access to the source codes of the application then one could instrument the code using API calls to the tracing functions of the library. The executable would have to be recompiled and relinked with the tracing library. The resulting binary then writes a tracefile that contains the calls to the API as events and can be analyzed using the Intel Trace Analyzer.

HIH

~BR

MKS

0 Kudos
Reply