<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.anunna.wur.nl/index.php?action=history&amp;feed=atom&amp;title=Performance_Optimization%2FMultiple_nodes_%28arrayjobs%29</id>
	<title>Performance Optimization/Multiple nodes (arrayjobs) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.anunna.wur.nl/index.php?action=history&amp;feed=atom&amp;title=Performance_Optimization%2FMultiple_nodes_%28arrayjobs%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Performance_Optimization/Multiple_nodes_(arrayjobs)&amp;action=history"/>
	<updated>2026-06-19T05:02:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.anunna.wur.nl/index.php?title=Performance_Optimization/Multiple_nodes_(arrayjobs)&amp;diff=2861&amp;oldid=prev</id>
		<title>Haars0011: IA migration §8: new Performance Optimization/Multiple nodes (arrayjobs) (array jobs as scaling technique) (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Performance_Optimization/Multiple_nodes_(arrayjobs)&amp;diff=2861&amp;oldid=prev"/>
		<updated>2026-06-18T13:03:42Z</updated>

		<summary type="html">&lt;p&gt;IA migration §8: new Performance Optimization/Multiple nodes (arrayjobs) (array jobs as scaling technique) (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When you have many independent tasks to run — the same program over many inputs, parameter values, or samples — a [[Array Jobs|job array]] is usually the best way to scale out. Instead of one big parallel program, you submit one array of many small jobs, and the scheduler spreads them across the cluster as resources free up.&lt;br /&gt;
&lt;br /&gt;
This is &amp;quot;embarrassingly parallel&amp;quot; work: the tasks do not need to talk to each other (unlike [[Performance Optimization/Multiple nodes (MPI)|MPI]]). It is often the simplest and most effective way to use many nodes at once.&lt;br /&gt;
&lt;br /&gt;
== When to use a job array ==&lt;br /&gt;
&lt;br /&gt;
* You run the same analysis over many files or samples.&lt;br /&gt;
* You sweep a parameter over many values.&lt;br /&gt;
* Each task is independent and can run on its own.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
A job array is a single submission with many tasks, each with its own &amp;lt;code&amp;gt;$SLURM_ARRAY_TASK_ID&amp;lt;/code&amp;gt; that selects which input it processes. The scheduler runs as many tasks at once as there is room for and queues the rest. Because each task is a separate job, an array naturally spreads across many nodes without any parallel programming — and if some tasks fail, you can rerun just those.&lt;br /&gt;
&lt;br /&gt;
For the syntax and worked examples, see [[Array Jobs]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Array Jobs]]&lt;br /&gt;
* [[Performance Optimization/Multiple CPUs]]&lt;br /&gt;
* [[Performance Optimization/Multiple nodes (MPI)]]&lt;br /&gt;
* [[Scheduler Overview (Slurm)]]&lt;/div&gt;</summary>
		<author><name>Haars0011</name></author>
	</entry>
</feed>