<?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=Julia</id>
	<title>Julia - 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=Julia"/>
	<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Julia&amp;action=history"/>
	<updated>2026-06-20T01:32:14Z</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=Julia&amp;diff=2928&amp;oldid=prev</id>
		<title>Haars0011: IA migration §5: new Julia page (P2.11) (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wiki.anunna.wur.nl/index.php?title=Julia&amp;diff=2928&amp;oldid=prev"/>
		<updated>2026-06-19T12:15:37Z</updated>

		<summary type="html">&lt;p&gt;IA migration §5: new Julia page (P2.11) (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;[https://julialang.org/ Julia] is a high-level, high-performance language for technical computing. This page covers using Julia on Anunna.&lt;br /&gt;
&lt;br /&gt;
== Loading Julia ==&lt;br /&gt;
&lt;br /&gt;
Julia is provided through the module system. Load a [[Environment Modules|bucket]] first, then Julia:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
module load 2024&lt;br /&gt;
module load Julia&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To see which versions are available, use &amp;lt;code&amp;gt;module spider Julia&amp;lt;/code&amp;gt; (see [[Environment Modules]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: confirm the exact Julia module name(s) and version(s) available in the current buckets. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
Julia manages its own packages with the built-in package manager (&amp;lt;code&amp;gt;Pkg&amp;lt;/code&amp;gt;). By default packages install into your home directory under &amp;lt;code&amp;gt;~/.julia&amp;lt;/code&amp;gt;. Because [[Home Directory|home]] is small and not meant for heavy I/O, point Julia&amp;#039;s depot at a larger [[Compute Storage|Lustre]] location by setting &amp;lt;code&amp;gt;JULIA_DEPOT_PATH&amp;lt;/code&amp;gt; before starting Julia:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export JULIA_DEPOT_PATH=/lustre/nobackup/&amp;lt;group&amp;gt;/&amp;lt;user&amp;gt;/julia_depot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add packages from the Julia REPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;julia&amp;quot;&amp;gt;&lt;br /&gt;
import Pkg&lt;br /&gt;
Pkg.add(&amp;quot;DataFrames&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running Julia in a job ==&lt;br /&gt;
&lt;br /&gt;
Run Julia scripts as batch jobs through the scheduler — see [[Batch Jobs]]. For interactive work, start an [[Interactive Jobs|interactive job]] first.&lt;br /&gt;
&lt;br /&gt;
To use multiple cores, start Julia with the &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt; (threads) option, or use Julia&amp;#039;s distributed/parallel facilities — see [[Performance Optimization/Multiple CPUs]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
julia -t $SLURM_CPUS_PER_TASK myscript.jl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Software Overview]]&lt;br /&gt;
* [[Environment Modules]]&lt;br /&gt;
* [[Jupyter]]&lt;br /&gt;
* [[Installing Personal Software]]&lt;/div&gt;</summary>
		<author><name>Haars0011</name></author>
	</entry>
</feed>