Julia is a high-level, high-performance dynamic programming language for numerical computing. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. Julia’s Base library, largely written in Julia itself, also integrates mature, best-of-breed open source C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing.
IJulia is a browser-based graphical notebook interface to Julia. IJulia notebooks can be used through the OnDemand interface on Bridges. See below for instructions on setting up an IJulia notebook in OnDemand.
To see what versions of Julia are available type
module avail julia
To see what other modules are needed, what commands are available and how to get additional help type
module help julia
To use Julia, include a command like this in your batch script or interactive session to load the julia module:
module load julia
Be sure you also load any other modules needed, as listed by the
module help julia command.
Some setup is needed before you can use an IJulia notebook through OnDemand.
You only need to do this once.
While logged in to Bridges, request an interactive session with access to sites external to Bridges by typing:
Once the sesstion starts, type these commands:
module load anaconda3 module load julia julia
When Julia starts, type
When you see the message that IJulia has been installed, you can end your interactive session.
Once you have done the setup, you can use IJulia through OnDemand. Follow the instructions for JupyterHub and IJulia in the OnDemand document.