Julia
Overview
Julia is a high-level, high-performance dynamic language for technical computing.
Version 1.2.0 is installed on the iCSF.
Set up procedure
Julia can be accessed by loading the module file as follows:
module load apps/binapps/julia/1.2.0
Running the application
To run julia simply run:
julia
You will then be presented with an interactive julia prompt:
julia> julia> sin(pi/2) 1.0
You can switch to shell mode by pressing the ;
key, where you can run standard shell commands:
shell> pwd /mnt/iusers01/xy01/username
Once you have run the shell command, or simply pressed Return (or Enter)
, you are immediately returned to the julia prompt.
To run a script in julia:
julia myscript.jl
Multi-core julia can be run using
julia -p NUMCORES myscript.jl
You can read the ‘man’ page using:
man julia
Further info
Updates
None.