<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Zippo_Sicortex_machine</id>
	<title>Zippo Sicortex machine - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Zippo_Sicortex_machine"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Zippo_Sicortex_machine&amp;action=history"/>
	<updated>2026-04-12T04:38:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Zippo_Sicortex_machine&amp;diff=1326&amp;oldid=prev</id>
		<title>Adk44: Created page with &quot;Please record useful notes about the new SiCortex machine here.   == Specifying nodes == A node specific hello world program: &lt;pre&gt; $ cat hosthello.c  #include &lt;unistd.h&gt; #inc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Zippo_Sicortex_machine&amp;diff=1326&amp;oldid=prev"/>
		<updated>2019-05-13T12:33:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Please record useful notes about the new SiCortex machine here.   == Specifying nodes == A node specific hello world program: &amp;lt;pre&amp;gt; $ cat hosthello.c  #include &amp;lt;unistd.h&amp;gt; #inc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Please record useful notes about the new SiCortex machine here. &lt;br /&gt;
&lt;br /&gt;
== Specifying nodes ==&lt;br /&gt;
A node specific hello world program:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat hosthello.c&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
  char name[100];&lt;br /&gt;
  gethostname(name, sizeof(name));&lt;br /&gt;
  printf(&amp;quot;%s says hello!\n&amp;quot;, name);&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Compile&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ gcc hosthello.c -o hosthello&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and run one process (-n1) on one node (-N1) named sca-m0n10 with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ srun -p sca -N1 -n1 -w sca-m0n10 ./hosthello&lt;br /&gt;
&lt;br /&gt;
sca-m0n10.scsystem says hello!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Run two processes (-n2) on two specific nodes (-N2), sca-m0n10 and sca-m0n11, with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ srun -p sca -N2 -n2 -w sca-m0n10,sca-m0n11 ./hosthello&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sca-m0n10.scsystem says hello!&lt;br /&gt;
sca-m0n11.scsystem says hello!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== System documentation ==&lt;br /&gt;
See: http://www-theor.ch.cam.ac.uk/IT/servers/zippo/&lt;/div&gt;</summary>
		<author><name>Adk44</name></author>
	</entry>
</feed>