<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.scinet.utoronto.ca/index.php?action=history&amp;feed=atom&amp;title=HPCTW</id>
	<title>HPCTW - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.scinet.utoronto.ca/index.php?action=history&amp;feed=atom&amp;title=HPCTW"/>
	<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=HPCTW&amp;action=history"/>
	<updated>2026-05-30T00:10:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.12</generator>
	<entry>
		<id>https://docs.scinet.utoronto.ca/index.php?title=HPCTW&amp;diff=1557&amp;oldid=prev</id>
		<title>Fertinaz: Created page with &quot;HPCTW is a set of libraries that may be linked to in order to gather MPI usage and hardware performance counter information for IBM BG/Q. There are three libraries to choose f...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.scinet.utoronto.ca/index.php?title=HPCTW&amp;diff=1557&amp;oldid=prev"/>
		<updated>2018-09-25T19:47:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;HPCTW is a set of libraries that may be linked to in order to gather MPI usage and hardware performance counter information for IBM BG/Q. There are three libraries to choose f...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;HPCTW is a set of libraries that may be linked to in order to gather MPI usage and hardware performance counter information for IBM BG/Q. There are three libraries to choose from depending on that statistics you want to gather.  &lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
Load the HPCTW module &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load hpctw&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module sets three environment variables that can then be used in the final link line of your programs compilation&lt;br /&gt;
depending on that statistics you want to gather.  &lt;br /&gt;
&lt;br /&gt;
For MPI only&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-L ${SCINET_HPCTW_MPI} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For MPI with hardware counters use &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-L ${SCINET_HPCTW_MPIHPM} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For MPI/OpenMP with hardware counters use &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-L ${SCINET_HPCTW_MPIHPM_SMP}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now run the program in the normal way and a series of text file outputs will be generated in the working directory.  For analysis and other options see the HPCTW Document below provided by the author. &lt;br /&gt;
&lt;br /&gt;
= Docs =&lt;br /&gt;
&lt;br /&gt;
[https://support.scinet.utoronto.ca/wiki/images/9/99/Hpct-bgq_0.pdf HPCTW Manual]&lt;/div&gt;</summary>
		<author><name>Fertinaz</name></author>
	</entry>
</feed>