<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wormulon.dsv.su.se/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Erth9960%28AT%29su.se</id>
	<title>DSV Slurm documentation - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wormulon.dsv.su.se/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Erth9960%28AT%29su.se"/>
	<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/wiki/Special:Contributions/Erth9960(AT)su.se"/>
	<updated>2026-06-07T16:16:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Hardware_specifications_for_Olympus&amp;diff=13</id>
		<title>Hardware specifications for Olympus</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Hardware_specifications_for_Olympus&amp;diff=13"/>
		<updated>2026-06-02T11:52:04Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the partitions available for use on Olympus, with their respective hardware specifications. Partition names are case sensitive, so they are reproduced here in the format that is valid in a slurm job specification.&lt;br /&gt;
&lt;br /&gt;
== cpu ==&lt;br /&gt;
The default partition if a job doesn&#039;t specify a partition to use. Mostly intended for testing, since the nodes are fairly weak in comparison to other partitions.&lt;br /&gt;
&lt;br /&gt;
== cpu_large ==&lt;br /&gt;
This partition contains nodes which provide a lot of CPU cores and RAM, but no GPUs.&lt;br /&gt;
&lt;br /&gt;
== gpu ==&lt;br /&gt;
This is the main GPU partition, where GPU jobs should be pointed unless there is some specific reason not to.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=12</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=12"/>
		<updated>2026-06-02T11:51:00Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the documentation site for working with Slurm at DSV. The site is a work in progress and will grow over time as usage patterns become clear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DSV currently has a single small Slurm cluster called Olympus. It is available to staff and thesis students by individual request as detailed [[Applying for access|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some useful starting points:&lt;br /&gt;
&lt;br /&gt;
* [[Applying for access]]&lt;br /&gt;
* [[Getting started]]&lt;br /&gt;
* [[Hardware specifications for Olympus]] (this page also lists the available partitions)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are wondering about the names, slurm is a soft drink from the TV show Futurama, and it&#039;s produced on the planet Wormulon. Hosting the documentation on the planet of origin seemed appropriate.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=11</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=11"/>
		<updated>2026-06-02T11:49:25Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the documentation site for working with Slurm at DSV. The site is a work in progress and will grow over time as usage patterns become clear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DSV currently has a single small Slurm cluster called Olympus. It is available to staff and thesis students by individual request as detailed [[Applying for access|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some useful starting points:&lt;br /&gt;
&lt;br /&gt;
* [[Applying for access]]&lt;br /&gt;
* [[Getting started]]&lt;br /&gt;
* [[Hardware specifications for Olympus]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are wondering about the names, slurm is a soft drink from the TV show Futurama, and it&#039;s produced on the planet Wormulon. Hosting the documentation on the planet of origin seemed appropriate.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=10</id>
		<title>Getting started</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=10"/>
		<updated>2026-05-21T13:11:25Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: /* Submitting your job */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document should help you get started with logging in to the cluster and running a &amp;quot;Hello world&amp;quot; script as a slurm job.&lt;br /&gt;
&lt;br /&gt;
== Accessing the cluster ==&lt;br /&gt;
First you need to apply for access to the cluster if you haven&#039;t already, see [[Applying for access|this page]] for details. Once you have been granted access, you will need to configure a VPN connection in order to be able to communicate with the server. Students can set up a VPN connection at https://vpn-student.dsv.su.se.&lt;br /&gt;
&lt;br /&gt;
When your VPN connection is up and running, you connect to the cluster using an SSH client and your SU credentials. The server address is &amp;lt;code&amp;gt;olympus.dsv.su.se&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
me@mylaptop:~$ ssh erth9960@olympus.dsv.su.se&lt;br /&gt;
erth9960@olympus&#039;s password: &lt;br /&gt;
Linux slurm-login 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64&lt;br /&gt;
&lt;br /&gt;
The programs included with the Debian GNU/Linux system are free software;&lt;br /&gt;
the exact distribution terms for each program are described in the&lt;br /&gt;
individual files in /usr/share/doc/*/copyright.&lt;br /&gt;
&lt;br /&gt;
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent&lt;br /&gt;
permitted by applicable law.&lt;br /&gt;
Last login: Wed Apr 15 14:01:10 2026 from vpn-student-wgi.dsv.su.se&lt;br /&gt;
erth9960@slurm-login:~$ &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you have successfully logged in, you can move on to running your first Slurm job.&lt;br /&gt;
&lt;br /&gt;
== Running code as a slurm job ==&lt;br /&gt;
Running code on slurm is always an asynchronous process. In other words you submit a job to the queue, Slurm schedules the job for execution when relevant resources are available, and any output from your job is recorded in a file.&lt;br /&gt;
&lt;br /&gt;
=== Preparing your script ===&lt;br /&gt;
&lt;br /&gt;
Write the following code into a file named &amp;lt;code&amp;gt;hello-slurm.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=testjob&lt;br /&gt;
#SBATCH --partition=cpu&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Hello $HOSTNAME&amp;quot;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial &amp;lt;code&amp;gt;#SBATCH&amp;lt;/code&amp;gt; comments are special commands read by Slurm, passing instructions about how to execute your job. Here we only choose a name for the job and which partition to run it on. An incomplete list of useful sbatch arguments is available [[Useful sbatch arguments|here]]. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$HOSTNAME&amp;lt;/code&amp;gt; is an environment variable that contains the name of the server the code is running on. &lt;br /&gt;
&lt;br /&gt;
=== Submitting your job ===&lt;br /&gt;
Once you have saved your script, you queue it for execution by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
sbatch hello-slurm.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see output similar to this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Submitted batch job 1928&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the script does very little work it will probably execute immediately, but if it doesn&#039;t you can see its place in the queue by running the command &amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;. You can also see details about your job by running &amp;lt;code&amp;gt;scontrol show job NN&amp;lt;/code&amp;gt;, where NN is the job ID that was printed (1928 in this example).&lt;br /&gt;
&lt;br /&gt;
=== Reading job output ===&lt;br /&gt;
Since the job is run asynchronously, the output from your job will not be printed to your terminal as usual but written to a file. We don&#039;t specify a filename to use, so slurm will use the default name. The default name is &amp;lt;code&amp;gt;slurm-NN.out&amp;lt;/code&amp;gt;, where NN is the job ID.&lt;br /&gt;
&lt;br /&gt;
You can read the resulting file with any tool that can read text files, such as &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
erth9960@slurm-login:~$ cat slurm-1928.out&lt;br /&gt;
Hello slurm-node-cpu-01&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here you can see that the code executed on &amp;lt;code&amp;gt;slurm-node-cpu-01&amp;lt;/code&amp;gt;, as opposed to &amp;lt;code&amp;gt;slurm-login&amp;lt;/code&amp;gt; which is where your terminal session is running.&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
A more ambitious example job, which deals with a slightly more complex Python scenario is available at https://gitea.dsv.su.se/erth9960/slurm-gpu-test.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=9</id>
		<title>Getting started</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=9"/>
		<updated>2026-05-21T13:11:07Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document should help you get started with logging in to the cluster and running a &amp;quot;Hello world&amp;quot; script as a slurm job.&lt;br /&gt;
&lt;br /&gt;
== Accessing the cluster ==&lt;br /&gt;
First you need to apply for access to the cluster if you haven&#039;t already, see [[Applying for access|this page]] for details. Once you have been granted access, you will need to configure a VPN connection in order to be able to communicate with the server. Students can set up a VPN connection at https://vpn-student.dsv.su.se.&lt;br /&gt;
&lt;br /&gt;
When your VPN connection is up and running, you connect to the cluster using an SSH client and your SU credentials. The server address is &amp;lt;code&amp;gt;olympus.dsv.su.se&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
me@mylaptop:~$ ssh erth9960@olympus.dsv.su.se&lt;br /&gt;
erth9960@olympus&#039;s password: &lt;br /&gt;
Linux slurm-login 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64&lt;br /&gt;
&lt;br /&gt;
The programs included with the Debian GNU/Linux system are free software;&lt;br /&gt;
the exact distribution terms for each program are described in the&lt;br /&gt;
individual files in /usr/share/doc/*/copyright.&lt;br /&gt;
&lt;br /&gt;
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent&lt;br /&gt;
permitted by applicable law.&lt;br /&gt;
Last login: Wed Apr 15 14:01:10 2026 from vpn-student-wgi.dsv.su.se&lt;br /&gt;
erth9960@slurm-login:~$ &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you have successfully logged in, you can move on to running your first Slurm job.&lt;br /&gt;
&lt;br /&gt;
== Running code as a slurm job ==&lt;br /&gt;
Running code on slurm is always an asynchronous process. In other words you submit a job to the queue, Slurm schedules the job for execution when relevant resources are available, and any output from your job is recorded in a file.&lt;br /&gt;
&lt;br /&gt;
=== Preparing your script ===&lt;br /&gt;
&lt;br /&gt;
Write the following code into a file named &amp;lt;code&amp;gt;hello-slurm.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=testjob&lt;br /&gt;
#SBATCH --partition=cpu&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Hello $HOSTNAME&amp;quot;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial &amp;lt;code&amp;gt;#SBATCH&amp;lt;/code&amp;gt; comments are special commands read by Slurm, passing instructions about how to execute your job. Here we only choose a name for the job and which partition to run it on. An incomplete list of useful sbatch arguments is available [[Useful sbatch arguments|here]]. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$HOSTNAME&amp;lt;/code&amp;gt; is an environment variable that contains the name of the server the code is running on. &lt;br /&gt;
&lt;br /&gt;
=== Submitting your job ===&lt;br /&gt;
Once you have saved your script, you queue it for execution by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sbatch hello-slurm.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see output similar to this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Submitted batch job 1928&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the script does very little work it will probably execute immediately, but if it doesn&#039;t you can see its place in the queue by running the command &amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;. You can also see details about your job by running &amp;lt;code&amp;gt;scontrol show job NN&amp;lt;/code&amp;gt;, where NN is the job ID that was printed (1928 in this example).&lt;br /&gt;
&lt;br /&gt;
=== Reading job output ===&lt;br /&gt;
Since the job is run asynchronously, the output from your job will not be printed to your terminal as usual but written to a file. We don&#039;t specify a filename to use, so slurm will use the default name. The default name is &amp;lt;code&amp;gt;slurm-NN.out&amp;lt;/code&amp;gt;, where NN is the job ID.&lt;br /&gt;
&lt;br /&gt;
You can read the resulting file with any tool that can read text files, such as &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
erth9960@slurm-login:~$ cat slurm-1928.out&lt;br /&gt;
Hello slurm-node-cpu-01&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here you can see that the code executed on &amp;lt;code&amp;gt;slurm-node-cpu-01&amp;lt;/code&amp;gt;, as opposed to &amp;lt;code&amp;gt;slurm-login&amp;lt;/code&amp;gt; which is where your terminal session is running.&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
A more ambitious example job, which deals with a slightly more complex Python scenario is available at https://gitea.dsv.su.se/erth9960/slurm-gpu-test.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Hardware_specifications_for_Olympus&amp;diff=8</id>
		<title>Hardware specifications for Olympus</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Hardware_specifications_for_Olympus&amp;diff=8"/>
		<updated>2026-04-29T11:00:54Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: Created page with &amp;quot;These are the partitions available for use on Olympus, with their respective hardware specifications.  == CPU == The default partition if a job doesn&amp;#039;t specify a partition to use. Mostly intended for testing, since the nodes are fairly weak in comparison to other partitions.  == CPU_large == This partition contains nodes which provide a lot of CPU cores and RAM, but no GPUs.  == GPU == This is the main GPU partition, where GPU jobs should be pointed unless there is some...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the partitions available for use on Olympus, with their respective hardware specifications.&lt;br /&gt;
&lt;br /&gt;
== CPU ==&lt;br /&gt;
The default partition if a job doesn&#039;t specify a partition to use. Mostly intended for testing, since the nodes are fairly weak in comparison to other partitions.&lt;br /&gt;
&lt;br /&gt;
== CPU_large ==&lt;br /&gt;
This partition contains nodes which provide a lot of CPU cores and RAM, but no GPUs.&lt;br /&gt;
&lt;br /&gt;
== GPU ==&lt;br /&gt;
This is the main GPU partition, where GPU jobs should be pointed unless there is some specific reason not to.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=7</id>
		<title>Getting started</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=7"/>
		<updated>2026-04-28T14:48:03Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document should help you get started with logging in to the cluster and running a &amp;quot;Hello world&amp;quot; script as a slurm job.&lt;br /&gt;
&lt;br /&gt;
== Accessing the cluster ==&lt;br /&gt;
First you need to apply for access to the cluster if you haven&#039;t already, see [[Applying for access|this page]] for details. Once you have been granted access, you will need to configure a VPN connection in order to be able to communicate with the server. Students can set up a VPN connection at https://vpn-student.dsv.su.se.&lt;br /&gt;
&lt;br /&gt;
When your VPN connection is up and running, you connect to the cluster using an SSH client and your SU credentials. The server address is &amp;lt;code&amp;gt;olympus.dsv.su.se&amp;lt;/code&amp;gt;.&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
me@mylaptop:~$ ssh erth9960@olympus.dsv.su.se&lt;br /&gt;
erth9960@olympus&#039;s password: &lt;br /&gt;
Linux slurm-login 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64&lt;br /&gt;
&lt;br /&gt;
The programs included with the Debian GNU/Linux system are free software;&lt;br /&gt;
the exact distribution terms for each program are described in the&lt;br /&gt;
individual files in /usr/share/doc/*/copyright.&lt;br /&gt;
&lt;br /&gt;
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent&lt;br /&gt;
permitted by applicable law.&lt;br /&gt;
Last login: Wed Apr 15 14:01:10 2026 from vpn-student-wgi.dsv.su.se&lt;br /&gt;
erth9960@slurm-login:~$ &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;When you have successfully logged in, you can move on to running your first Slurm job.&lt;br /&gt;
&lt;br /&gt;
== Running code as a slurm job ==&lt;br /&gt;
Running code on slurm is always an asynchronous process. In other words you submit a job to the queue, Slurm schedules the job for execution when relevant resources are available, and any output from your job is recorded in a file.&lt;br /&gt;
&lt;br /&gt;
=== Preparing your script ===&lt;br /&gt;
&lt;br /&gt;
Write the following code into a file named &amp;lt;code&amp;gt;hello-slurm.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=testjob&lt;br /&gt;
#SBATCH --partition=cpu&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Hello $HOSTNAME&amp;quot;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial &amp;lt;code&amp;gt;#SBATCH&amp;lt;/code&amp;gt; comments are special commands read by Slurm, passing instructions about how to execute your job. Here we only choose a name for the job and which partition to run it on. An incomplete list of useful sbatch arguments is available [[Useful sbatch arguments|here]]. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$HOSTNAME&amp;lt;/code&amp;gt; is an environment variable that contains the name of the server the code is running on. &lt;br /&gt;
&lt;br /&gt;
=== Submitting your job ===&lt;br /&gt;
Once you have saved your script, you queue it for execution by running the following command:&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sbatch hello-slurm.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;You should see output similar to this:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Submitted batch job 1928&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Since the script does very little work it will probably execute immediately, but if it doesn&#039;t you can see its place in the queue by running the command &amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;. You can also see details about your job by running &amp;lt;code&amp;gt;scontrol show job NN&amp;lt;/code&amp;gt;, where NN is the job ID that was printed (1928 in this example).&lt;br /&gt;
&lt;br /&gt;
=== Reading job output ===&lt;br /&gt;
Since the job is run asynchronously, the output from your job will not be printed to your terminal as usual but written to a file. We don&#039;t specify a filename to use, so slurm will use the default name. The default name is &amp;lt;code&amp;gt;slurm-NN.out&amp;lt;/code&amp;gt;, where NN is the job ID.&lt;br /&gt;
&lt;br /&gt;
You can read the resulting file with any tool that can read text files, such as &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;:&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
erth9960@slurm-login:~$ cat slurm-1928.out&lt;br /&gt;
Hello slurm-node-cpu-01&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Here you can see that the code executed on &amp;lt;code&amp;gt;slurm-node-cpu-01&amp;lt;/code&amp;gt;, as opposed to &amp;lt;code&amp;gt;slurm-login&amp;lt;/code&amp;gt; which is where your terminal session is running.&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
A more ambitious example job, which deals with a slightly more complex Python scenario is available at https://gitea.dsv.su.se/erth9960/slurm-gpu-test.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=6</id>
		<title>Getting started</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Getting_started&amp;diff=6"/>
		<updated>2026-04-28T14:37:13Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: Created page with &amp;quot;This document should help you get started with logging in to the cluster and running a &amp;quot;Hello world&amp;quot; script as a slurm job.  Running code on slurm is always an asynchronous process. In other words you submit a job to the queue, Slurm schedules the job for execution when relevant resources are available, and any output from your job is recorded in a file.  === Preparing your script ===  Write the following code into a file named &amp;lt;code&amp;gt;hello-slurm.sh&amp;lt;/code&amp;gt;  &amp;lt;syntaxhighlig...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document should help you get started with logging in to the cluster and running a &amp;quot;Hello world&amp;quot; script as a slurm job.&lt;br /&gt;
&lt;br /&gt;
Running code on slurm is always an asynchronous process. In other words you submit a job to the queue, Slurm schedules the job for execution when relevant resources are available, and any output from your job is recorded in a file.&lt;br /&gt;
&lt;br /&gt;
=== Preparing your script ===&lt;br /&gt;
&lt;br /&gt;
Write the following code into a file named &amp;lt;code&amp;gt;hello-slurm.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
#SBATCH --job-name=testjob&lt;br /&gt;
#SBATCH --partition=cpu&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Hello $HOSTNAME&amp;quot;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial &amp;lt;code&amp;gt;#SBATCH&amp;lt;/code&amp;gt; comments are special commands read by Slurm, passing instructions about how to execute your job. Here we only choose a name for the job and which partition to run it on. An incomplete list of useful sbatch arguments is available [[Useful sbatch arguments|here]]. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$HOSTNAME&amp;lt;/code&amp;gt; is an environment variable that contains the name of the server the code is running on. &lt;br /&gt;
&lt;br /&gt;
=== Submitting your job ===&lt;br /&gt;
Once you have saved your script, you queue it for execution by running the following command:&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sbatch hello-slurm.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;You should see output similar to this:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Submitted batch job 1928&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Since the script does very little work it will probably execute immediately, but if it doesn&#039;t you can see its place in the queue by running the command &amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt;. You can also see details about your job by running &amp;lt;code&amp;gt;scontrol show job NN&amp;lt;/code&amp;gt;, where NN is the job ID that was printed (1928 in this example).&lt;br /&gt;
&lt;br /&gt;
=== Reading job output ===&lt;br /&gt;
Since the job is run asynchronously, the output from your job will not be printed to your terminal as usual but written to a file. We don&#039;t specify a filename to use, so slurm will use the default name. The default name is &amp;lt;code&amp;gt;slurm-NN.out&amp;lt;/code&amp;gt;, where NN is the job ID.&lt;br /&gt;
&lt;br /&gt;
You can read the resulting file with any tool that can read text files, such as &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;:&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
erth9960@slurm-login:~$ cat slurm-1928.out&lt;br /&gt;
Hello slurm-node-cpu-01&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Here you can see that the code executed on &amp;lt;code&amp;gt;slurm-node-cpu-01&amp;lt;/code&amp;gt;, as opposed to &amp;lt;code&amp;gt;slurm-login&amp;lt;/code&amp;gt; which is where your terminal session is running.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Applying_for_access&amp;diff=5</id>
		<title>Applying for access</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Applying_for_access&amp;diff=5"/>
		<updated>2026-04-27T12:34:52Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;All requests for access are to be sent by email to &#039;&#039;&#039;slurmsupport (at) dsv.su.se&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Thesis students ===&lt;br /&gt;
If you are writing or intend to write your thesis and need access to Olympus, this is the process to follow.&lt;br /&gt;
&lt;br /&gt;
# Produce a working proof of concept&lt;br /&gt;
# Ask your supervisor to request access to Olympus on your behalf&lt;br /&gt;
# Adapt your code to run on the cluster&lt;br /&gt;
# Run your experiment&lt;br /&gt;
&lt;br /&gt;
==== Produce a working proof of concept ====&lt;br /&gt;
Running code on a cluster is not like running code on your own computer the way you may be used to. Your code is not run interactively, which makes debugging more difficult, and there is no guarantee that your code runs immediately when you submit a job. Because of this, it is crucial that you have a test bed somewhere else where you can test changes and validate your workflow &#039;&#039;before&#039;&#039; you attempt to run your code on the cluster. Usually this would mean setting up a smaller version of your experiment that you can run either on your own computer or in the computer labs. This proof of concept should remain your &amp;quot;testbed&amp;quot; for evolving your program once you start running your experiments on Olympus, since you are going to have a much easier time diagnosing any problems in that limited environment than on the full cluster.&lt;br /&gt;
&lt;br /&gt;
As an example, if you want to run an image classification experiment where a machine learning model is to identify the number and species of birds in photographs, you might produce a version of your experiment which uses the smallest possible version of the machine learning model you intend to use, and feed it a single picture with a bird. This should be possible to run on most hardware, and you will be able to do any initial debugging of your program in this limited implementation. Once you have a working implementation of your program in this limited form, you are ready to move on to requesting access to Olympus.&lt;br /&gt;
&lt;br /&gt;
In order to make things easier going forward, do your best to isolate the portions of your program that will need modifying when you scale up your experiment to the size that you intend to run on Olympus.&lt;br /&gt;
&lt;br /&gt;
==== Ask your supervisor to request access to Olympus on your behalf ====&lt;br /&gt;
When your proof of concept is in place, you can ask your supervisor to request access to Olympus on your behalf. The information they will need to submit in order for you to be granted access is:&lt;br /&gt;
&lt;br /&gt;
* A couple of sentences describing your experiment. This is to ensure that we can determine if Olympus is a good fit or if we will need to provide some other solution for your project.&lt;br /&gt;
* A rough estimate of resource needs in terms of CPU, RAM, VRAM and disk storage.&lt;br /&gt;
* The SU usernames of all authors for this thesis.&lt;br /&gt;
&lt;br /&gt;
Access requests will be processed within a few working days of submission. If we determine that your project is unsuitable for Olympus (for example if it requires a very tight feedback loop or must run on Windows), we will work with you and your supervisor to provide an alternative solution. We have some machines in reserve for such projects.&lt;br /&gt;
&lt;br /&gt;
==== Adapt your code to run on the cluster ====&lt;br /&gt;
In order for your code to be able to run on Olympus, you will need to write a wrapper script that informs Slurm of the resources your job needs, what program to run, where to store output, etc. Documentation for how to write this script will be written and published here shortly. Regardless of the state of the documentation at the time you write your script, you will likely run into issues that you need help sorting out. Contact slurmsupport for help with this or any other questions regarding Olympus.&lt;br /&gt;
&lt;br /&gt;
When doing this adaptation work, you should make sure that your proof of concept stays up to date and is a representative minimal version of your experiment. This will help you sort out problems faster and easier than purely running your code on the cluster. Ideally the only difference between your on- and off-cluster code should be the size of the model you run and the amount of input it processes.&lt;br /&gt;
&lt;br /&gt;
==== Run your experiment ====&lt;br /&gt;
Once you have your wrapper script in place and your proof of concept code works, you can run your experiment.&lt;br /&gt;
&lt;br /&gt;
=== Other students ===&lt;br /&gt;
We are currently not offering Olypus access to students who are not writing their thesis.&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
Staff can apply for access by emailing slurmsupport.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Applying_for_access&amp;diff=4</id>
		<title>Applying for access</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Applying_for_access&amp;diff=4"/>
		<updated>2026-04-27T12:33:15Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: Created page with &amp;quot;All requests for access are to be sent by email to &amp;#039;&amp;#039;&amp;#039;slurmsupport (at) dsv.su.se&amp;#039;&amp;#039;&amp;#039;.  === Thesis students === If you are writing or intend to write your thesis and need access to Olympus, this is the process to follow.  # Produce a working proof of concept # Ask your supervisor to request access to Olympus on your behalf # Adapt your code to run on the cluster # Run your experiment  ==== 1. Produce a working proof of concept ==== Running code on a cluster is not like ru...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;All requests for access are to be sent by email to &#039;&#039;&#039;slurmsupport (at) dsv.su.se&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Thesis students ===&lt;br /&gt;
If you are writing or intend to write your thesis and need access to Olympus, this is the process to follow.&lt;br /&gt;
&lt;br /&gt;
# Produce a working proof of concept&lt;br /&gt;
# Ask your supervisor to request access to Olympus on your behalf&lt;br /&gt;
# Adapt your code to run on the cluster&lt;br /&gt;
# Run your experiment&lt;br /&gt;
&lt;br /&gt;
==== 1. Produce a working proof of concept ====&lt;br /&gt;
Running code on a cluster is not like running code on your own computer the way you may be used to. Your code is not run interactively, which makes debugging more difficult, and there is no guarantee that your code runs immediately when you submit a job. Because of this, it is crucial that you have a test bed somewhere else where you can test changes and validate your workflow &#039;&#039;before&#039;&#039; you attempt to run your code on the cluster. Usually this would mean setting up a smaller version of your experiment that you can run either on your own computer or in the computer labs. This proof of concept should remain your &amp;quot;testbed&amp;quot; for evolving your program once you start running your experiments on Olympus, since you are going to have a much easier time diagnosing any problems in that limited environment than on the full cluster.&lt;br /&gt;
&lt;br /&gt;
As an example, if you want to run an image classification experiment where a machine learning model is to identify the number and species of birds in photographs, you might produce a version of your experiment which uses the smallest possible version of the machine learning model you intend to use, and feed it a single picture with a bird. This should be possible to run on most hardware, and you will be able to do any initial debugging of your program in this limited implementation. Once you have a working implementation of your program in this limited form, you are ready to move on to requesting access to Olympus.&lt;br /&gt;
&lt;br /&gt;
In order to make things easier going forward, do your best to isolate the portions of your program that will need modifying when you scale up your experiment to the size that you intend to run on Olympus.&lt;br /&gt;
&lt;br /&gt;
==== 2. Ask your supervisor to request access to Olympus on your behalf ====&lt;br /&gt;
When your proof of concept is in place, you can ask your supervisor to request access to Olympus on your behalf. The information they will need to submit in order for you to be granted access is:&lt;br /&gt;
&lt;br /&gt;
* A couple of sentences describing your experiment. This is to ensure that we can determine if Olympus is a good fit or if we will need to provide some other solution for your project.&lt;br /&gt;
* A rough estimate of resource needs in terms of CPU, RAM, VRAM and disk storage.&lt;br /&gt;
* The SU usernames of all authors for this thesis.&lt;br /&gt;
&lt;br /&gt;
Access requests will be processed within a few working days of submission. If we determine that your project is unsuitable for Olympus (for example if it requires a very tight feedback loop or must run on Windows), we will work with you and your supervisor to provide an alternative solution. We have some machines in reserve for such projects.&lt;br /&gt;
&lt;br /&gt;
==== 3. Adapt your code to run on the cluster ====&lt;br /&gt;
In order for your code to be able to run on Olympus, you will need to write a wrapper script that informs Slurm of the resources your job needs, what program to run, where to store output, etc. Documentation for how to write this script will be written and published here shortly. Regardless of the state of the documentation at the time you write your script, you will likely run into issues that you need help sorting out. Contact slurmsupport for help with this or any other questions regarding Olympus.&lt;br /&gt;
&lt;br /&gt;
When doing this adaptation work, you should make sure that your proof of concept stays up to date and is a representative minimal version of your experiment. This will help you sort out problems faster and easier than purely running your code on the cluster. Ideally the only difference between your on- and off-cluster code should be the size of the model you run and the amount of input it processes.&lt;br /&gt;
&lt;br /&gt;
==== 4. Run your experiment ====&lt;br /&gt;
Once you have your wrapper script in place and your proof of concept code works, you can run your experiment.&lt;br /&gt;
&lt;br /&gt;
=== Other students ===&lt;br /&gt;
We are currently not offering Olypus access to students who are not writing their thesis.&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
Staff can apply for access by emailing slurmsupport.&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=3</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=3"/>
		<updated>2026-04-27T12:16:26Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the documentation site for working with Slurm at DSV. The site is a work in progress and will grow over time as usage patterns become clear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DSV currently has a single small Slurm cluster called Olympus. It is available to staff and thesis students by individual request as detailed [[Applying for access|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some useful starting points:&lt;br /&gt;
&lt;br /&gt;
* [[Applying for access]]&lt;br /&gt;
* [[Getting started]]&lt;br /&gt;
* [[Hardware specifications for Olympus]]&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
	<entry>
		<id>https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=2</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wormulon.dsv.su.se/mediawiki/index.php?title=Main_Page&amp;diff=2"/>
		<updated>2026-04-27T12:00:06Z</updated>

		<summary type="html">&lt;p&gt;Erth9960(AT)su.se: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User&#039;s Guide] for  on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ MediaWiki release mailing list]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]&lt;/div&gt;</summary>
		<author><name>Erth9960(AT)su.se</name></author>
	</entry>
</feed>