Julia
A high-performance numerical computing environment and language
Julia requires an environment module
In order to use Julia, you must first load the appropriate environment module:
module load julia
Julia is a high-level programming language which is designed for high performance numerical computing. It has a base library that contains a wealth of methods common to numerical computing and scientific/engineering applications. The language also has built-in support for parallel computing.
Using Julia on RCC resources#
To run Julia in interactive mode, type the julia command at the prompt and Julia console will appear.
For detailed information about Julia usage, please refer to the official Julia documentation.
Submitting Julia HPC jobs#
Julia can be run in parallel on the HPC by submitting a job to the Slurm job scheduler.
The following shows a simple job submit script:
Installing Julia with juliaup#
In addition to the system-provided Julia module, users may install their own Julia versions using the official Julia version manager juliaup. This approach installs Julia in your home directory and allows you to manage and switch between Julia versions independently of the system installation.
Warning
The juliaup installation is not compatible with the system-wide Julia module. If you have previously loaded the Julia module, unload it before using juliaup using the command module unload julia.
Installation Steps#
Load the web proxy module so that the installer can access the internet.
Install Julia using the official juliaup installer.
Reload your shell environment so the new path is available.
Start Julia.
Notes#
juliaupinstalls the latest stable version of Julia by default.- Prior Julia versions can be installed and managed using
juliaupcommands:
For more information, see the official repository.