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

Any tools in visual fortran set to measure subroutine run time?

Nan_Deng
Beginner
1,357 Views
I am trying to adopt our program to run large scale problems and need to know which subroutine(s) consume most of the run-time so I can modify and optimize them. I haven't done this before under intel's visual fortran so I am not very familiar with how this thing can be set up. I would appreciate very much if anyone can give me some hints and instruction on how this should be done for intel visual fortran (with studio 2008? or without?). Thank you very much in advance.
0 Kudos
4 Replies
Nan_Deng
Beginner
1,357 Views
If there is no such tool available in visual fortran. Would someone from intel please also let me know? Or may be you can suggest an alternate route (like 3rd party products)?
0 Kudos
TimP
Honored Contributor III
1,357 Views
CodeAnalyst has been popular among those who didn't want to invest in VTune or switch to linux gprof.
0 Kudos
Nan_Deng
Beginner
1,357 Views
Thanks for the hint. Your reply appears to mean:

(1) Visual Fortran by itself does not have the tool to measure run time for the subroutines;
(2) Intel's tool to do the job is VTune, but VTune cost money.
(3) The alternative is to use Code Analyst, which is free.

Sorry for my ignorance. I don't mind to spend money on VTune,but I am not by trade a programmer so I simply didn't know these tools exist. Did I read your message correctly? Will CodeAnalyst do the job for fortran code? Please confirm. I really need the guidance of you professional fortran programmers.
0 Kudos
Steven_L_Intel1
Employee
1,357 Views
You understood the replies correctly. You could try a 30-day free trial of Intel VTune if you wanted. These tools don't generally care which language was used.
0 Kudos
Reply