You can use the -pg option to the Fortran compilers to compile an application for call graph profiling. Once your program is compiled in this manner, call graph profile data is sent to a file called gmon.out after each run. Use the gprof command to interpret the results of the profile.