Julia: Difference between revisions

Jump to navigation Jump to search
543 bytes added ,  9 months ago
Warn that compiling packages on Narval requires moving the depot
No edit summary
(Warn that compiling packages on Narval requires moving the depot)
Line 9: Line 9:
[https://julialang.org Julia] is a programming language that was designed for performance, ease of use and portability. It is is available as a [[Utiliser_des_modules/en | module]] on the Alliance clusters.
[https://julialang.org Julia] is a programming language that was designed for performance, ease of use and portability. It is is available as a [[Utiliser_des_modules/en | module]] on the Alliance clusters.


= Compiling packages = <!--T:3-->
= Installing packages = <!--T:3-->


<!--T:4-->
<!--T:4-->
Line 35: Line 35:
Note that the example package we use here, JLD, has been superseded by [https://juliapackages.com/p/jld2 JLD2] which no longer relies on a system-installed HDF5 library, and is therefore more portable.
Note that the example package we use here, JLD, has been superseded by [https://juliapackages.com/p/jld2 JLD2] which no longer relies on a system-installed HDF5 library, and is therefore more portable.


= Package files and storage quotas = <!--T:7-->
== The Narval cluster ==
 
<div style="color: red; border: 1px dashed #2f6fab">
 
[[File:Warning sign 16px.png|frameless|warning]] Warning
 
</div>
 
On the Narval cluster, Julia sometimes crashes while installing packages in home directories, due to a bug in the filesystem software. This happens during the pre-compilation step and causes Julia to exit with a segmentation fault.
 
Until this bug is resolved, you should use an alternate location, such as <code>/project</code>, for your Julia “depot” on Narval, as explained in the next section.
 
== Changing the depot path == <!--T:7-->


<!--T:50-->
<!--T:50-->
cc_staff
127

edits

Navigation menu