<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Profiling</id>
		<title>Profiling - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Profiling"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Profiling&amp;action=history"/>
		<updated>2026-04-04T20:04:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Profiling&amp;diff=778&amp;oldid=prev</id>
		<title>Guillaume: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Profiling&amp;diff=778&amp;oldid=prev"/>
				<updated>2008-12-03T10:39:01Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:39, 3 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Guillaume</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Profiling&amp;diff=777&amp;oldid=prev</id>
		<title>192.168.20.110 at 18:31, 10 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Profiling&amp;diff=777&amp;oldid=prev"/>
				<updated>2006-10-10T18:31:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Is is possible to profile code compiled with the Intel Fortran compiler using gprof [http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html]. Intel Fortran's current release (9.1) requires Linux to generate profiling information.&lt;br /&gt;
&lt;br /&gt;
== Quick dive ==&lt;br /&gt;
To generate profiling information follow these steps:&lt;br /&gt;
# ifort -p foo.F90 -o foo&lt;br /&gt;
# ./foo&lt;br /&gt;
# gprof foo&lt;br /&gt;
The first step will generate a executable with profiling information. At the end of the second step a file named gmon.out will be writen alongside the executable file; this file contains the profiling information generated during the program run. The third step screens the profile.&lt;br /&gt;
&lt;br /&gt;
Note: the -p option must be issued both to compile and link the program.&lt;br /&gt;
&lt;br /&gt;
== Profiling Mohid ==&lt;br /&gt;
To profile Mohid open the Makefiles used on [[*NIX platforms]]. Find variable CC in every makefile and replace &amp;quot;ifort&amp;quot; with &amp;quot;ifort -p&amp;quot;. make clean, make and execute Mohid. At the end of the run a file named gmon.out will be created in the executable's folder. Explore gmon.out issuing the command gprof Mohid.&lt;br /&gt;
&lt;br /&gt;
== Usefull links ==&lt;br /&gt;
NCSA [http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/IBMp690/Doc/Timing_Profiling.html].&lt;br /&gt;
&lt;br /&gt;
GNU prof [http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html].&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>192.168.20.110</name></author>	</entry>

	</feed>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-56589921-5', 'auto');
  ga('send', 'pageview');
</script>