Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Any VTune users? Basic question.

lklawrie
Beginner
603 Views

I asked this on the Vtune forum but didn't get much response.

I follow the instructions on using the "release" build and adding the debug/full but all I get from VTune is a lump -- not broken out by routines (addressses which are way hard to read).  The only way I've been able to get it to work is to start with debug build and work backwards for optimizations.

What's the trick?  Linking with debug libs?  Wasting lots of time trying to get this to work.

0 Kudos
5 Replies
TimP
Honored Contributor III
603 Views

You should be able to set /Zi in your release build compile and link steps, if you don't care about full detail from the libraries.  The analyzer will need the search paths set including the .pdb .obj and .exe.

0 Kudos
lklawrie
Beginner
603 Views
0 Kudos
lklawrie
Beginner
603 Views

And /Zi seems to help with the release build and debug/full.  Thanks!

Oops -- spoke too soon.  That was with a debug build.  Release build even with /Zi doesn't work in VTune.

0 Kudos
IanH
Honored Contributor III
603 Views

That tutorial doesn't mention the need to set the linker debug flag (in VS set Linker > Debugging > Generate debug info to yes).

0 Kudos
lklawrie
Beginner
603 Views

Thanks, Ian.  I'll try that then.

Tutorials are of less use if they don't explain all the steps....

And it keeps complaining that I am using the debug configuration for the VTune.  :-)

0 Kudos
Reply