- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm just getting started with Intel MPI and am trying to understand how to use Trace Analyzer. My understanding is that linking with vt.lib and running an mpi application is sufficient to cause a *.stf file to be emitted. I have a simple Hello World MPI application. After linking with vt.lib and running through mpiexec, I see no stf output.
There's not much more information to add. The setup could not be simpler. What am I missing?
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was finally able to get STF results. Here's what I did:
- vt.lib must be before impi.lib in the link line.
- I had to include vt.h and invoke VT_initialize, VT_traceon, and VT_finalize.
I don't know why these steps are necessary. I found no documentation to suggest they are, and I figured this out through slow trial-and-error.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was finally able to get STF results. Here's what I did:
- vt.lib must be before impi.lib in the link line.
- I had to include vt.h and invoke VT_initialize, VT_traceon, and VT_finalize.
I don't know why these steps are necessary. I found no documentation to suggest they are, and I figured this out through slow trial-and-error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for sharing! Changing the order so that VT.lib comes before impi.lib worked for me in VS2017 using PS XE 2019, with Fortran code (but I did not need the VT_initialize or other calls).
jefffaust wrote:
I was finally able to get STF results. Here's what I did:
- vt.lib must be before impi.lib in the link line.
- I had to include vt.h and invoke VT_initialize, VT_traceon, and VT_finalize.
I don't know why these steps are necessary. I found no documentation to suggest they are, and I figured this out through slow trial-and-error.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page