<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Profiling with gprof or saturn on mac os x in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750956#M7399</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I believe that  replacement of gprof by Saturn or Shark is good.&lt;BR /&gt;I have checked manuals for Saturn and Shark but I didn't understand how to use any of each profilers from command line like as the gprof with out any additional setups or source changes. Can you tell me any simple way (or BKM) to get applications profile on MAC OS? E.g. to write some batch file and after execution of it I'll get text file with applications profile.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 20 May 2009 13:33:42 GMT</pubDate>
    <dc:creator>Kirill_Mavrodiev__In</dc:creator>
    <dc:date>2009-05-20T13:33:42Z</dc:date>
    <item>
      <title>Profiling with gprof or saturn on mac os x</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750951#M7394</link>
      <description>&lt;P&gt;Im trying to find out about the performance of a simple fortran 90 program. Previously I used the compiler and linker option p together with gprof, but this seems no longer to work on my intel mac with Mac OS X 10.5.5, XCode 3.0 and the Intel Fortran Compiler10.1 20080312. The gprof output tells me thatevery method used 0.0 seconds eventhough the entire program runs for hours.I was told to use instead the-finstrument-functions option for the Compiler and to link with Apples Saturn library (-lSaturn for the linker). There, however, I keep getting errors like:&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier;"&gt;&lt;EM&gt;Undefined symbols:&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier;"&gt;&lt;EM&gt; "__cyg_profile_func_exit", referenced from:&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier;"&gt;&lt;EM&gt;   _MAIN__ in convert.o&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier;"&gt;&lt;EM&gt; "__cyg_profile_func_enter", referenced from:&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier;"&gt;&lt;EM&gt;   _MAIN__ in convert.o&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier;"&gt;&lt;EM&gt;ld: symbol(s) not found&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is there anybody who experienced similar issues?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2008 18:53:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750951#M7394</guid>
      <dc:creator>bob2</dc:creator>
      <dc:date>2008-10-22T18:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling with gprof or saturn on mac os x</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750952#M7395</link>
      <description>&lt;DIV style="margin:0px;"&gt;I'll agree that the documentation on several alternatives for gprof has been confusing. It ought to work when the -pg option is used throughout (at least from the main program down through the functions you want to profile), including the link step, same as gcc. There are alternate spellings for -pg, but as far as I know, -p is a valid alternate only for Intel compilers on Itanium.&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Oct 2008 20:03:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750952#M7395</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-10-22T20:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling with gprof or saturn on mac os x</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750953#M7396</link>
      <description>&lt;P&gt;Thanks for this advice. I triedgprof once againwith -pg (build and link), but the problem remains the same as with the -p option: The function call statistics are correctly reported but the time remains empty. Here is an excerpt of the output of gpgrof:&lt;/P&gt;
&lt;P&gt;...    &lt;BR /&gt;%  cumulative  self       self   total     &lt;BR /&gt; time  seconds  seconds  calls ms/call ms/call name  &lt;BR /&gt; 0.0    0.00   0.00 125803621   0.00   0.00 _pdf1d_lib_mp_ran1_ [105]&lt;BR /&gt; 0.0    0.00   0.00 98312192   0.00   0.00 _pdf1d_lib_mp_gasdev_ [106]&lt;BR /&gt; 0.0    0.00   0.00 98304000   0.00   0.00 _pdf1d_lib_mp_sde_integrator_ [107]&lt;BR /&gt; 0.0    0.00   0.00  594051   0.00   0.00 _pdf1d_lib_mp_ranw_ [108]&lt;BR /&gt; 0.0    0.00   0.00  19000   0.00   0.00 _stopwatch_ [109]&lt;BR /&gt; ...&lt;/P&gt;
&lt;P&gt;The time columns remain zero but should report values larger than seconds.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2008 22:18:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750953#M7396</guid>
      <dc:creator>bob2</dc:creator>
      <dc:date>2008-10-22T22:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling with gprof or saturn on mac os x</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750954#M7397</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;This is not an area I'm familiar with, but after some investigation here is what little I can offer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;I confirmed information I found that gprof has always produced zero timings on what others refer to as an "Intel Mac". Apparently this is a know issue that is not related to the Intel compilers and I reproduced this using both Intel compilers and GNU C++ (gcc 4.0.1) on Leopard (10.5.2) w/Xcode 3.0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;On Leopard (10.5.5) with Xcode 3.1.1, I cannot produce a gmon.out file using Intel or GNU compilers. It is unclear what that issue is, but that may be of little importance given the above information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;The unresolved externals received when linking the Saturn library and using the Intel Fortran compiler involve a difference between the name decorations for the instrumented routines. On Mac OS X, a third leading underscore is expected. This mismatch was reported to our Compiler development team. While our name decoration is compatible with GCC on Linux, GCC on Mac OS is clearly different although the man page does not indicate this. Regardless, GCC on Mac OS is clearly compatible with the Saturn library decorations. Assuming the GCC Mac OS decorations are correct, we will likely decorate accordingly per the specific requirement on each OS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;I was somewhat successful using the bridge routines below on Mac OS X 10.5.2 with Xcode 3.0 and the IA-32 Intel Fortran 10.1.015 and 11.0.034 Beta compilers.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;First, I could not link the Saturn library using either the Intel or GNU Intel 64 compilers due to the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt 0.5in;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: " courier="" new=""&gt;ld64 warning: in /usr/lib/libSaturn.dylib, missing required architecture x86_64 in file&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;I did not dig any further into this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;Using the bridge routines allowed me to compile/link using the IA-32 Intel Fortran 10.1 and 11.0 compilers. I could launch the execution under Saturn and raise the resulting output report. The major issue that exists with the report when using the Intel Fortran compiler is that Saturn is unable to display any Fortran routine names despite all my efforts to ensure the presence of symbols. It is unclear what the issue is here and more investigation is required into using Saturn with the Intel compilers that I will take up with compiler development. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;The IA-32 GNU C++ compiler operates fine when linking with the Saturn library, and the report displays routine names.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;I do not know if someone with additional experience using the Mac OS X performance tools can make further progress using the bridge routines with the Intel Fortran compiler or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;Here is how I used them:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: " courier="" new=""&gt;gcc m32 c bridges.c&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: " courier="" new=""&gt;ifort finstrument-functions g save-temps O2 sample.f90 bridges.o lSaturn&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8.5pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;[cpp]bridges.c:

extern void __cyg_profile_func_enter(void *f, void *c);
extern void __cyg_profile_func_exit(void *f, void *c);

void _cyg_profile_func_enter (void *f, void *c) {
    __cyg_profile_func_enter (&amp;amp;f, &amp;amp;c);
}

void _cyg_profile_func_exit  (void *f, void *c) {
    __cyg_profile_func_exit (&amp;amp;f, &amp;amp;c);
}[/cpp]&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Oct 2008 18:49:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750954#M7397</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-10-23T18:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling with gprof or saturn on mac os x</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750955#M7398</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Thanks Kevin for this input!&lt;/P&gt;
&lt;P&gt;I have been looking in the meantime for an alternative and I could actually find one that is suitable for my purpose.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;One can use Shark&lt;/P&gt;
&lt;P&gt;/Developer/Applications/Performance Tools/Shark.app&lt;/P&gt;
&lt;P&gt;Shark works differently than gprof or Apple's Saturn, however. It does not need a specifically compiled executable (where beginnings and endings of routines are tagged) but instead determines in a cyclic manner what method of what process is currently running. If the time interval of this cyclic measurement procedure is sufficiently small, the time consumptions of different parts of an executable can be determined. Obviously the subsequent analysis of the data works best with an executable that includes some debugging information. The measurements recorded by shark can be analyzed with the graphical user interface of Shark.app.&lt;/P&gt;
&lt;P&gt;The Mac OSX application Shark.app has a command line version, shark, that has even a manpage. The remote mode (shark -r) is best suited to determine the scaling of some program with respect to parameter changes. In that mode, shark waits for signals that can be sent by chudRemoteCtrl. So, while shark is running and waiting, we invoke in a simple script "chudRemoteCtrl -s" to start a shark profiling session, then run our program to inspect, and finally "chudRemoteCtrl -e" to finish the current session. At the conclusion of each session, shark writes out a report and continues to run (waiting) until it is terminated by ctrl-c. With the -m option we can provide a configuration file that can be composed in Shark.app. Similarly, the generated reports can be analyzed by Shark.app. Additionally, shark provides as well options to generate reports in text form.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2008 20:19:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750955#M7398</guid>
      <dc:creator>bob2</dc:creator>
      <dc:date>2008-10-23T20:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling with gprof or saturn on mac os x</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750956#M7399</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I believe that  replacement of gprof by Saturn or Shark is good.&lt;BR /&gt;I have checked manuals for Saturn and Shark but I didn't understand how to use any of each profilers from command line like as the gprof with out any additional setups or source changes. Can you tell me any simple way (or BKM) to get applications profile on MAC OS? E.g. to write some batch file and after execution of it I'll get text file with applications profile.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 May 2009 13:33:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750956#M7399</guid>
      <dc:creator>Kirill_Mavrodiev__In</dc:creator>
      <dc:date>2009-05-20T13:33:42Z</dc:date>
    </item>
    <item>
      <title>1 year later.. still no GPROF joy?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750957#M7400</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Has anyone resolved this issue?&lt;BR /&gt;We too are getting 0.0 execution times noted despite having a long-running program run.&lt;BR /&gt;As for @bob, we are getting values for callcount but nothing in the %time, cumulative or self seconds.&lt;BR /&gt;&lt;BR /&gt;What do I need to do to get grof working correctly with icc?&lt;BR /&gt;I don't want to give up on gprof. :-(&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;shawn&lt;BR /&gt;&lt;BR /&gt;p.s. Some suggested ensuring that we're linking to /usr/lib/gcrt.o ??</description>
      <pubDate>Mon, 02 Aug 2010 10:04:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750957#M7400</guid>
      <dc:creator>koppenhoefer</dc:creator>
      <dc:date>2010-08-02T10:04:13Z</dc:date>
    </item>
    <item>
      <title>1 year later.. still no GPROF joy?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750958#M7401</link>
      <description>shawn,&lt;BR /&gt;&lt;BR /&gt;You said you wanted it to work with 'icc', I assume you mean ifort.&lt;BR /&gt;&lt;BR /&gt;A while ago I wrote this article on the topic:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-visual-fortran-pro-for-linux-notes-on-gprof-use/" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-visual-fortran-pro-for-linux-notes-on-gprof-use/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Keys:&lt;BR /&gt;- use a recent ifort compiler&lt;BR /&gt;- disable inlining&lt;BR /&gt;- remove the default "_" name decoration used by Fortran. Most C-centric tools filter out function names with trailing underscores. You can actually see the source lines in gprof where they throw out any names with trailing "_" characters. I can't speak for Saturn, but suspect it's similar.&lt;BR /&gt;&lt;BR /&gt;This is not an Intel Fortran issue.&lt;BR /&gt;&lt;BR /&gt;ron</description>
      <pubDate>Mon, 02 Aug 2010 18:15:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750958#M7401</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2010-08-02T18:15:43Z</dc:date>
    </item>
    <item>
      <title>1 year later.. still no GPROF joy?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750959#M7402</link>
      <description>&amp;gt;Has anyone resolved this issue?&lt;DIV&gt;&amp;gt; We too are getting 0.0 execution times noted&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; despite having a long-running program run.&lt;BR /&gt;&amp;gt; As for @bob, we are getting values for callcount&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; but nothing in the %time, cumulative or self seconds.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have a possible answer (three years later).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This can happen if there is some system-level process, such as I/O, which is blocking the program and causing it to sleep while it waits. Thus, none of your procedures take significant time to execute (less than 0.0%) because it's at the system level where the waiting occurs. &lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Try turning off I/O as much as possible (in sensible ways for your program). See the thread below for some suggestions. &lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Details:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I resolved this issue when it came up for me. See&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; "I/O substantially slower today than yesterday"&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=86780" target="_blank"&gt;http://software.intel.com/en-us/forums/showthread.php?t=86780&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In that situation, I was piping output of my program to a VERY SLOW script:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; ./my.exe | my_stdout_processing_script&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I didn't know the script was slow. But it was reading stdout of the program very slowly. The pipe operator was filling its buffer trying to pass my program's stdout to the script, and was forcing the program (my.exe) to wait while the buffer was emptied. &lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Reading the status of the computer's processes showed my.exe was continually sleeping, reporting "pipe_wait". Here is a sample of my output from gprof:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;Flat profile:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;granularity: each sample hit covers 4 byte(s) no time accumulated&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; %  cumulative  self       self   total     &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;time  seconds  seconds  calls ms/call ms/call name  &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00 3361419   0.00   0.00 _fillsparsemat_3d_p2_ [79]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00 3361419   0.00   0.00 _fillsparsemat_3d_p3_ [80]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00 3361419   0.00   0.00 _fillsparsemat_3d_p_ [81]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  871654   0.00   0.00 _eval_shape_3d_new_ [82]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  256870   0.00   0.00 _intelmass_postproc_3d_ [83]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  188811   0.00   0.00 _fillsparsemat_3d_u_ [84]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  139968   0.00   0.00 _fillsparsematb_3d_u_ [85]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  64102   0.00   0.00 _compute_gtens_pl2_ [86]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  28491   0.00   0.00 _e3tensors_nooj_ [87]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; 0.0    0.00   0.00  22293   0.00   0.00 _intelmass_3d_ [88]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;Notice that no significant amount of cpu time is spent in any procedure of my code. It was ALL spent in the write() intrinsic.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Notice that while in 2008 there may have been incompatibilities with ifort/gprof/saturn/shark/whatever, the situation I describe can occur regardless. &lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;- Nooj&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Oct 2011 20:29:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Profiling-with-gprof-or-saturn-on-mac-os-x/m-p/750959#M7402</guid>
      <dc:creator>nooj</dc:creator>
      <dc:date>2011-10-03T20:29:26Z</dc:date>
    </item>
  </channel>
</rss>

