<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csclub.uwaterloo.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=D2acosta</id>
	<title>CSCWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csclub.uwaterloo.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=D2acosta"/>
	<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/Special:Contributions/D2acosta"/>
	<updated>2026-10-24T10:31:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5707</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5707"/>
		<updated>2026-10-23T23:52:11Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: added why&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Why ==&lt;br /&gt;
Slurm (Simple Linux Utility for Resource Management) is a job scheduler. Basically use this if too many people are trying to use a system at the same time and its crashing or you want to distribute resources more fairly.&lt;br /&gt;
&lt;br /&gt;
== Installation/Config ==&lt;br /&gt;
First you need to install the &amp;quot;slurm&amp;quot; packages and dependencies so run&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install slurm-wlm slurmd slurmctld munge -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Then you need to verify that there are MUNGE keys, which there should already be but run the following to check&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo test -f /etc/munge/munge.key &amp;amp;&amp;amp; echo &amp;quot;Key exists&amp;quot; || echo &amp;quot;Key is missing&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;For this next part, you are going to need the systems hostname, CPU core count, and total RAM. Now create the file /etc/slurm/slurm.conf and write the following in it (replacing the temps with the mentioned data)&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot; start=&amp;quot;1&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;ClusterName=localcluster&lt;br /&gt;
SlurmctldHost=&amp;lt;your-hostname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Authentication&lt;br /&gt;
AuthType=auth/munge&lt;br /&gt;
CredType=cred/munge&lt;br /&gt;
&lt;br /&gt;
# Process tracking and resource limits&lt;br /&gt;
ProctrackType=proctrack/cgroup&lt;br /&gt;
TaskPlugin=task/cgroup,task/affinity&lt;br /&gt;
SelectTypeParameters=CR_Core_Memory&lt;br /&gt;
&lt;br /&gt;
# Paths and logging&lt;br /&gt;
SlurmUser=slurm&lt;br /&gt;
StateSaveLocation=/var/lib/slurm/slurmctld&lt;br /&gt;
SlurmdSpoolDir=/var/lib/slurm/slurmd&lt;br /&gt;
SlurmctldPidFile=/run/slurmctld.pid&lt;br /&gt;
SlurmdPidFile=/run/slurmd.pid&lt;br /&gt;
SlurmctldLogFile=/var/log/slurmctld.log&lt;br /&gt;
SlurmdLogFile=/var/log/slurmd.log&lt;br /&gt;
&lt;br /&gt;
# Node definition&lt;br /&gt;
NodeName=&amp;lt;your-hostname&amp;gt; CPUs=&amp;lt;CPU-cores&amp;gt; RealMemory=&amp;lt;Total-RAM&amp;gt; State=UNKNOWN&lt;br /&gt;
&lt;br /&gt;
# Partition definition&lt;br /&gt;
PartitionName=debug Nodes=&amp;lt;your-hostname&amp;gt; Default=YES MaxTime=INFINITE State=UP&amp;lt;/syntaxhighlight&amp;gt;Also create the file /etc/slurm/cgroup.conf and write&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot; line=&amp;quot;1&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
CgroupAutomount=yes&lt;br /&gt;
ConstrainCores=yes&lt;br /&gt;
ConstrainRAMSpace=yes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The last config step is to create the need directories for slurm&#039;s processes (state and spool) and transfer their ownership to slurm. To do that run the following&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir -p /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
sudo chown slurm:slurm /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Now enable the slurm controller/compute deamons &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl enable slurmctld slurmd&lt;br /&gt;
sudo systemctl start slurmctld slurmd&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Basic Testing ==&lt;br /&gt;
To check the install/to make sure it&#039;s running&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
systemctl status slurmctld&lt;br /&gt;
systemctl status slurmd&lt;br /&gt;
sinfo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;If sinfo shows the node as down or drain, you can set it to idle by&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo scontrol update nodename=localhost state=idle&amp;lt;/syntaxhighlight&amp;gt;If sinfo fails to connect or the node is unresponsive, you can check the log by&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo tail -f /var/log/slurmctld.log&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5706</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5706"/>
		<updated>2026-10-23T09:34:54Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation/Config ==&lt;br /&gt;
First you need to install the &amp;quot;slurm&amp;quot; packages and dependencies so run&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install slurm-wlm slurmd slurmctld munge -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Then you need to verify that there are MUNGE keys, which there should already be but run the following to check&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo test -f /etc/munge/munge.key &amp;amp;&amp;amp; echo &amp;quot;Key exists&amp;quot; || echo &amp;quot;Key is missing&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;For this next part, you are going to need the systems hostname, CPU core count, and total RAM. Now create the file /etc/slurm/slurm.conf and write the following in it (replacing the temps with the mentioned data)&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot; start=&amp;quot;1&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;ClusterName=localcluster&lt;br /&gt;
SlurmctldHost=&amp;lt;your-hostname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Authentication&lt;br /&gt;
AuthType=auth/munge&lt;br /&gt;
CredType=cred/munge&lt;br /&gt;
&lt;br /&gt;
# Process tracking and resource limits&lt;br /&gt;
ProctrackType=proctrack/cgroup&lt;br /&gt;
TaskPlugin=task/cgroup,task/affinity&lt;br /&gt;
SelectTypeParameters=CR_Core_Memory&lt;br /&gt;
&lt;br /&gt;
# Paths and logging&lt;br /&gt;
SlurmUser=slurm&lt;br /&gt;
StateSaveLocation=/var/lib/slurm/slurmctld&lt;br /&gt;
SlurmdSpoolDir=/var/lib/slurm/slurmd&lt;br /&gt;
SlurmctldPidFile=/run/slurmctld.pid&lt;br /&gt;
SlurmdPidFile=/run/slurmd.pid&lt;br /&gt;
SlurmctldLogFile=/var/log/slurmctld.log&lt;br /&gt;
SlurmdLogFile=/var/log/slurmd.log&lt;br /&gt;
&lt;br /&gt;
# Node definition&lt;br /&gt;
NodeName=&amp;lt;your-hostname&amp;gt; CPUs=&amp;lt;CPU-cores&amp;gt; RealMemory=&amp;lt;Total-RAM&amp;gt; State=UNKNOWN&lt;br /&gt;
&lt;br /&gt;
# Partition definition&lt;br /&gt;
PartitionName=debug Nodes=&amp;lt;your-hostname&amp;gt; Default=YES MaxTime=INFINITE State=UP&amp;lt;/syntaxhighlight&amp;gt;Also create the file /etc/slurm/cgroup.conf and write&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot; line=&amp;quot;1&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
CgroupAutomount=yes&lt;br /&gt;
ConstrainCores=yes&lt;br /&gt;
ConstrainRAMSpace=yes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The last config step is to create the need directories for slurm&#039;s processes (state and spool) and transfer their ownership to slurm. To do that run the following&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir -p /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
sudo chown slurm:slurm /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Now enable the slurm controller/compute deamons &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl enable slurmctld slurmd&lt;br /&gt;
sudo systemctl start slurmctld slurmd&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Basic Testing ==&lt;br /&gt;
To check the install/to make sure it&#039;s running&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
systemctl status slurmctld&lt;br /&gt;
systemctl status slurmd&lt;br /&gt;
sinfo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;If sinfo shows the node as down or drain, you can set it to idle by&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo scontrol update nodename=localhost state=idle&amp;lt;/syntaxhighlight&amp;gt;If sinfo fails to connect or the node is unresponsive, you can check the log by&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo tail -f /var/log/slurmctld.log&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5705</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5705"/>
		<updated>2026-10-23T09:33:13Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: v1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation/Config ==&lt;br /&gt;
First you need to install the &amp;quot;slurm&amp;quot; packages and dependencies so run&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install slurm-wlm slurmd slurmctld munge -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Then you need to verify that there are MUNGE keys, which there should already be but run the following to check&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo test -f /etc/munge/munge.key &amp;amp;&amp;amp; echo &amp;quot;Key exists&amp;quot; || echo &amp;quot;Key is missing&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;For this next part, you are going to need the systems hostname, CPU core count, and total RAM. Now create the file /etc/slurm/slurm.conf and write the following in it (replacing the temps with the mentioned data)&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot; start=&amp;quot;1&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;ClusterName=localcluster&lt;br /&gt;
SlurmctldHost=&amp;lt;your-hostname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Authentication&lt;br /&gt;
AuthType=auth/munge&lt;br /&gt;
CredType=cred/munge&lt;br /&gt;
&lt;br /&gt;
# Process tracking and resource limits&lt;br /&gt;
ProctrackType=proctrack/cgroup&lt;br /&gt;
TaskPlugin=task/cgroup,task/affinity&lt;br /&gt;
SelectTypeParameters=CR_Core_Memory&lt;br /&gt;
&lt;br /&gt;
# Paths and logging&lt;br /&gt;
SlurmUser=slurm&lt;br /&gt;
StateSaveLocation=/var/lib/slurm/slurmctld&lt;br /&gt;
SlurmdSpoolDir=/var/lib/slurm/slurmd&lt;br /&gt;
SlurmctldPidFile=/run/slurmctld.pid&lt;br /&gt;
SlurmdPidFile=/run/slurmd.pid&lt;br /&gt;
SlurmctldLogFile=/var/log/slurmctld.log&lt;br /&gt;
SlurmdLogFile=/var/log/slurmd.log&lt;br /&gt;
&lt;br /&gt;
# Node definition&lt;br /&gt;
NodeName=&amp;lt;your-hostname&amp;gt; CPUs=&amp;lt;CPU-cores&amp;gt; RealMemory=&amp;lt;Total-RAM&amp;gt; State=UNKNOWN&lt;br /&gt;
&lt;br /&gt;
# Partition definition&lt;br /&gt;
PartitionName=debug Nodes=&amp;lt;your-hostname&amp;gt; Default=YES MaxTime=INFINITE State=UP&amp;lt;/syntaxhighlight&amp;gt;Also create the file /etc/slurm/cgroup.conf and write&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot; line=&amp;quot;1&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
CgroupAutomount=yes&lt;br /&gt;
ConstrainCores=yes&lt;br /&gt;
ConstrainRAMSpace=yes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The last config step is to create the need directories for slurm&#039;s processes (state and spool) and transfer their ownership to slurm. To do that run the following&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir -p /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
sudo chown slurm:slurm /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Now enable the slurm controller/compute deamons &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl enable slurmctld slurmd&lt;br /&gt;
sudo systemctl start slurmctld slurmd&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Basic Testing ==&lt;br /&gt;
To check the install/to make sure it&#039;s running&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
systemctl status slurmctld&lt;br /&gt;
systemctl status slurmd&lt;br /&gt;
sinfo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;If sinfo shows the node as down or drain, you can set it to idle by&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo scontrol update nodename=localhost state=idle&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5704</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5704"/>
		<updated>2026-10-23T09:29:45Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation/Config ==&lt;br /&gt;
First you need to install the &amp;quot;slurm&amp;quot; packages and dependencies so run&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install slurm-wlm slurmd slurmctld munge -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Then you need to verify that there are MUNGE keys, which there should already be but run the following to check&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo test -f /etc/munge/munge.key &amp;amp;&amp;amp; echo &amp;quot;Key exists&amp;quot; || echo &amp;quot;Key is missing&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;For this next part, you are going to need the systems hostname, CPU core count, and total RAM. Now create the file /etc/slurm/slurm.conf and write the following in it (replacing the temps with the mentioned data)&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
ClusterName=localcluster&lt;br /&gt;
SlurmctldHost=&amp;lt;your-hostname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Authentication&lt;br /&gt;
AuthType=auth/munge&lt;br /&gt;
CredType=cred/munge&lt;br /&gt;
&lt;br /&gt;
# Process tracking and resource limits&lt;br /&gt;
ProctrackType=proctrack/cgroup&lt;br /&gt;
TaskPlugin=task/cgroup,task/affinity&lt;br /&gt;
SelectTypeParameters=CR_Core_Memory&lt;br /&gt;
&lt;br /&gt;
# Paths and logging&lt;br /&gt;
SlurmUser=slurm&lt;br /&gt;
StateSaveLocation=/var/lib/slurm/slurmctld&lt;br /&gt;
SlurmdSpoolDir=/var/lib/slurm/slurmd&lt;br /&gt;
SlurmctldPidFile=/run/slurmctld.pid&lt;br /&gt;
SlurmdPidFile=/run/slurmd.pid&lt;br /&gt;
SlurmctldLogFile=/var/log/slurmctld.log&lt;br /&gt;
SlurmdLogFile=/var/log/slurmd.log&lt;br /&gt;
&lt;br /&gt;
# Node definition&lt;br /&gt;
NodeName=&amp;lt;your-hostname&amp;gt; CPUs=&amp;lt;CPU-cores&amp;gt; RealMemory=&amp;lt;Total-RAM&amp;gt; State=UNKNOWN&lt;br /&gt;
&lt;br /&gt;
# Partition definition&lt;br /&gt;
PartitionName=debug Nodes=&amp;lt;your-hostname&amp;gt; Default=YES MaxTime=INFINITE State=UP&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Also create the file /etc/slurm/cgroup.conf and write&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line=&amp;quot;1&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
CgroupAutomount=yes&lt;br /&gt;
ConstrainCores=yes&lt;br /&gt;
ConstrainRAMSpace=yes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The last config step is to create the need directories for slurm&#039;s processes (state and spool) and transfer their ownership to slurm. To do that run the following&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir -p /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
sudo chown slurm:slurm /var/lib/slurm/slurmd /var/lib/slurm/slurmctld&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Now enable the slurm controller/compute deamons &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl enable slurmctld slurmd&lt;br /&gt;
sudo systemctl start slurmctld slurmd&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Basic Testing ==&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5703</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5703"/>
		<updated>2026-10-23T09:25:26Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation/Config ==&lt;br /&gt;
First you need to install the &amp;quot;slurm&amp;quot; packages and dependencies so run&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install slurm-wlm slurmd slurmctld munge -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Then you need to verify that there are MUNGE keys, which there should already be but run the following to check&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo test -f /etc/munge/munge.key &amp;amp;&amp;amp; echo &amp;quot;Key exists&amp;quot; || echo &amp;quot;Key is missing&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;For this next part, you are going to need the systems hostname, CPU core count, and total RAM. Now create the file /etc/slurm/slurm.conf and write the following in it (replacing the temps with the mentioned data)&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
ClusterName=localcluster&lt;br /&gt;
SlurmctldHost=&amp;lt;your-hostname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Authentication&lt;br /&gt;
AuthType=auth/munge&lt;br /&gt;
CredType=cred/munge&lt;br /&gt;
&lt;br /&gt;
# Process tracking and resource limits&lt;br /&gt;
ProctrackType=proctrack/cgroup&lt;br /&gt;
TaskPlugin=task/cgroup,task/affinity&lt;br /&gt;
SelectTypeParameters=CR_Core_Memory&lt;br /&gt;
&lt;br /&gt;
# Paths and logging&lt;br /&gt;
SlurmUser=slurm&lt;br /&gt;
StateSaveLocation=/var/lib/slurm/slurmctld&lt;br /&gt;
SlurmdSpoolDir=/var/lib/slurm/slurmd&lt;br /&gt;
SlurmctldPidFile=/run/slurmctld.pid&lt;br /&gt;
SlurmdPidFile=/run/slurmd.pid&lt;br /&gt;
SlurmctldLogFile=/var/log/slurmctld.log&lt;br /&gt;
SlurmdLogFile=/var/log/slurmd.log&lt;br /&gt;
&lt;br /&gt;
# Node definition&lt;br /&gt;
NodeName=&amp;lt;your-hostname&amp;gt; CPUs=&amp;lt;CPU-cores&amp;gt; RealMemory=&amp;lt;Total-RAM&amp;gt; State=UNKNOWN&lt;br /&gt;
&lt;br /&gt;
# Partition definition&lt;br /&gt;
PartitionName=debug Nodes=&amp;lt;your-hostname&amp;gt; Default=YES MaxTime=INFINITE State=UP&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Also create the file /etc/slurm/cgroup.conf and write&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line=&amp;quot;1&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
CgroupAutomount=yes&lt;br /&gt;
ConstrainCores=yes&lt;br /&gt;
ConstrainRAMSpace=yes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5702</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=SLURM&amp;diff=5702"/>
		<updated>2026-10-23T09:16:22Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: Start installation guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation ==&lt;br /&gt;
First you need to install the &amp;quot;slurm&amp;quot; packages and dependencies so run&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install slurm-wlm slurmd slurmctld munge -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Then you need to verify that there are MUNGE keys, which there should already be but run &amp;lt;nowiki&amp;gt;&amp;lt;code lang=&amp;quot;bash&amp;gt;sudo test -f /etc/munge/munge.key &amp;amp;&amp;amp; echo &amp;quot;Key exists&amp;quot; || echo &amp;quot;Key is missing&amp;quot; &amp;lt;/code&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Main_Page&amp;diff=5701</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Main_Page&amp;diff=5701"/>
		<updated>2026-10-23T09:08:04Z</updated>

		<summary type="html">&lt;p&gt;D2acosta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the Wiki of the [[Computer Science Club]]. Feel free to start adding pages and information.&lt;br /&gt;
&lt;br /&gt;
[[Special:AllPages]]&lt;br /&gt;
&lt;br /&gt;
== Member/Club Rep Documentation ==&lt;br /&gt;
To access our Linux machines, see [[How to SSH]] and select one of the general-use machines from [[Machine List#General-Use Servers]].&lt;br /&gt;
&lt;br /&gt;
To host a website, see [[Web Hosting]]. If you are trying to host websites for clubs, see [[Club Hosting]].&lt;br /&gt;
&lt;br /&gt;
To view instruction on playing music at the office, see [[Music]].&lt;br /&gt;
&lt;br /&gt;
To use our Nextcloud instance (similar to Google Drive and Dropbox), go to [https://files.csclub.uwaterloo.ca CSC Files].&lt;br /&gt;
&lt;br /&gt;
=== Guides ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[New Member Guide]]&lt;br /&gt;
* [[Club Hosting]]&lt;br /&gt;
* [[Web Hosting]]&lt;br /&gt;
* [[Git Hosting]]&lt;br /&gt;
* [[How to IRC]]&lt;br /&gt;
* [[How to SSH]]&lt;br /&gt;
* [[MySQL]]&lt;br /&gt;
* [[PostgreSQL]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== News and Events ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Meeting:Meetings|Meetings]]&lt;br /&gt;
* [[Talks]]&lt;br /&gt;
* [[Projects]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Club Operation ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Budget Guide]]&lt;br /&gt;
* [[ceo]]&lt;br /&gt;
* [[Exec Manual]]&lt;br /&gt;
* [[MEF Guide]]&lt;br /&gt;
* [[Office Policies]]&lt;br /&gt;
* [[Office Staff]]&lt;br /&gt;
* [[Sysadmin Guide]]&lt;br /&gt;
* [[How to (Extra) Ban Someone]]&lt;br /&gt;
* [[SCS Guide]]&lt;br /&gt;
* [[Kerberos |Password Reset]]&lt;br /&gt;
* [[Keys and Fobs]]&lt;br /&gt;
&lt;br /&gt;
* [[Talks Guide]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Systems Documentation ==&lt;br /&gt;
=== Introductions ===&lt;br /&gt;
Start here if you have no clue how a subsystem works&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Intro to Authentication]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hardware Infrastructure (the bare metals) ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Machine List]]&lt;br /&gt;
* [[Decommissioned Machines]]&lt;br /&gt;
* [[Filer]]&lt;br /&gt;
* [[Switches]]&lt;br /&gt;
* [[IPMI101]]&lt;br /&gt;
* [[Disk Drive RMA Process]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Software Infrastructure ===&lt;br /&gt;
To see a complete list of services, where to find them and when they are updated, see [[Service List]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[ADFS]]&lt;br /&gt;
* [[Backups]]&lt;br /&gt;
* [[CUDA]]&lt;br /&gt;
* [[DNS]]&lt;br /&gt;
* [[Debian Repository]]&lt;br /&gt;
* [[Firewall]]&lt;br /&gt;
* [[Kerberos]]&lt;br /&gt;
* [[Matrix]]&lt;br /&gt;
* [[MatterMost]]&lt;br /&gt;
* [[Load-balancer]]&lt;br /&gt;
* [[Proxmox]]&lt;br /&gt;
* [[Plane]]&lt;br /&gt;
* [[RT]]&lt;br /&gt;
* [[Keycloak]]&lt;br /&gt;
* [[KVM]]&lt;br /&gt;
* [[LDAP]]&lt;br /&gt;
* [[Network]]&lt;br /&gt;
* [[New CSC Machine]]&lt;br /&gt;
* [[Observability]]&lt;br /&gt;
* [[OID Assignment]]&lt;br /&gt;
* [[Podman]]&lt;br /&gt;
* [[Scratch]]&lt;br /&gt;
* [[SNMP]]&lt;br /&gt;
* [[SSL]]&lt;br /&gt;
* [[SLURM|slurm]]&lt;br /&gt;
* [[Syscom Todo]]&lt;br /&gt;
* [[Systemd]]&lt;br /&gt;
* [[Systemd-nspawn]]&lt;br /&gt;
* [[Two-Factor Authentication]]&lt;br /&gt;
* [[UID/GID Assignment]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Services ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Application List]]&lt;br /&gt;
* [[BigBlueButton]]&lt;br /&gt;
* [[CodeyBot]]&lt;br /&gt;
* [[Mail]]&lt;br /&gt;
* [[Mailing Lists]]&lt;br /&gt;
* [[Mirror]]&lt;br /&gt;
* [[Music]]&lt;br /&gt;
* [[Nextcloud]]&lt;br /&gt;
* [[Immich]]&lt;br /&gt;
* [[Printing]]&lt;br /&gt;
* [[Pulseaudio]]&lt;br /&gt;
* [[Webmail]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSC Cloud ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Ceph]]&lt;br /&gt;
* [[Cloud Networking]]&lt;br /&gt;
* [[CloudStack]]&lt;br /&gt;
* [[CloudStack Templates]]&lt;br /&gt;
* [[Kubernetes]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Acronyms]]&lt;br /&gt;
* [[Finance:Budget]]&lt;br /&gt;
* [[Executive]]&lt;br /&gt;
* [[Past Executive]]&lt;br /&gt;
* [[History]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Historical ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;-webkit-column-count:3; -moz-column-count:3; column-count:3;&amp;quot;&amp;gt;&lt;br /&gt;
* [[New NetApp]]&lt;br /&gt;
* [[Robot Arm]]&lt;br /&gt;
* [[Webcams]]&lt;br /&gt;
* [[Website]]&lt;br /&gt;
* [[Digital Cutter]]&lt;br /&gt;
* [[Electronics]]&lt;br /&gt;
* [[NetApp]]&lt;br /&gt;
* [[Frosh]]&lt;br /&gt;
* [[Virtualization (LXC Containers)]]&lt;br /&gt;
* [[Serial Connections]]&lt;br /&gt;
* [[Library]]&lt;br /&gt;
* [[Finance:MEF Proposals]]&lt;br /&gt;
* [[Proposed Constitution Changes]]&lt;br /&gt;
* [[NFS/Kerberos]]&lt;br /&gt;
* [[Hardware]]&lt;br /&gt;
* [[Imapd Guide]]&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>D2acosta</name></author>
	</entry>
</feed>