- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear IntelMPi user,
is it possible to use gprof under IntelMPi 4.0? I compiled my code with "-pg " and exported GMON_OUT_PREFIX variable,
but i don't see any gmon profiling outfile at the end of execution.
Thanks in forward.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you add -pg to both your compile and link options, gmon.out data should be generated at normal termination, according to the file system environment for each process (not necessarily the same environment where you launched MPI). There would be a file system race among processes running gprof in the same directory, but you can often get useful data. You may get data from static linked functions which weren't built with -pg, but no call graph. Execution time associated with IMPI functions is spread more broadly in 4.0 than 3.2.2, and will be affected by your SPIN environment settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems to me that it would be better to use a special tool. Something like Intel Trace Analyzer and Collector.
Of cause it depends on the purposes of your profiling. As the first step you can try to use I_MPI_STATS environment variable (look for stats.txt file)
Regards!
Dmitry
Of cause it depends on the purposes of your profiling. As the first step you can try to use I_MPI_STATS environment variable (look for stats.txt file)
Regards!
Dmitry

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page