- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I trying for the first time to use the Intel VTune Amplifier on a fortran code using the last Intel Composer XE for linux (Update 7).
I am working on linux, using the Fedora 15 distribution.
I created a new projet and set my fortran binary file as the application target in the "Project Properties" window.
Then, I've chose the "Hotspts" in the "Analyse type" window and pressed the start button.
The analysis start and VTune collects hostspot data during the code execution.
After about 60s, the analysis end.
Up to here, everything go well.
My problem is in the Bottom-up menu.
When a double-click on a procedure name in order to see which part of the procedure is time-consuming, I have no information for the "Line" and "Assembly" field. Actuelly, the "Assembly" colum has unreadable information.
So, my questions are:
How can I know which part of the source code of a procedure is the most time-consuming?
Should I use specific compilation options ?
(I am using -pg option)
Thanks for your help.
F.H.
I trying for the first time to use the Intel VTune Amplifier on a fortran code using the last Intel Composer XE for linux (Update 7).
I am working on linux, using the Fedora 15 distribution.
I created a new projet and set my fortran binary file as the application target in the "Project Properties" window.
Then, I've chose the "Hotspts" in the "Analyse type" window and pressed the start button.
The analysis start and VTune collects hostspot data during the code execution.
After about 60s, the analysis end.
Up to here, everything go well.
My problem is in the Bottom-up menu.
When a double-click on a procedure name in order to see which part of the procedure is time-consuming, I have no information for the "Line" and "Assembly" field. Actuelly, the "Assembly" colum has unreadable information.
So, my questions are:
How can I know which part of the source code of a procedure is the most time-consuming?
Should I use specific compilation options ?
(I am using -pg option)
Thanks for your help.
F.H.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you use "-g" to build program?
Is it possible that you used "-O2" or "-O3" sosome inline functions can't be displayed as "hot function"?
Please check with other simple application, built by ifort. If this is your program specific issue, please go to https://premier.intel.com to submit a ticket with test case (source or/and binary).
Thanks, Peter
Is it possible that you used "-O2" or "-O3" sosome inline functions can't be displayed as "hot function"?
Please check with other simple application, built by ifort. If this is your program specific issue, please go to https://premier.intel.com to submit a ticket with test case (source or/and binary).
Thanks, Peter
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you use "-g" to build program?
Is it possible that you used "-O2" or "-O3" sosome inline functions can't be displayed as "hot function"?
Please check with other simple application, built by ifort. If this is your program specific issue, please go to https://premier.intel.com to submit a ticket with test case (source or/and binary).
Thanks, Peter
Is it possible that you used "-O2" or "-O3" sosome inline functions can't be displayed as "hot function"?
Please check with other simple application, built by ifort. If this is your program specific issue, please go to https://premier.intel.com to submit a ticket with test case (source or/and binary).
Thanks, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Problem solved !!!
I was not using the "-g" compiler option. In addition, I was using the "-O2" option which was preventing some functions to be displayed.
I was not using the "-g" compiler option. In addition, I was using the "-O2" option which was preventing some functions to be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rather than removing -O2, you might try various ways of removing interprocedural optimizations, so as to preserve many of the optimizations. -fno-inline-functions together with removing IPO used to be fairly effective.
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