Running Julia on the RCS compute service

Do you want to take advantage of the fast performance of Julia within the simplicity of a Jupyter Notebook on the RCS compute service?

To use the latest version of Julia on the compute service, download and extract the most recent binary from their downloads page (currently 1.4.2):

curl https://julialang-s3.julialang.org/bin/linux/x64/1.4/julia-1.4.2-linux-x86_64.tar.gz | tar xz

This version will now be available to run in the terminal, but there is one more step before you can launch a Jupyter Notebook using a corresponding kernel. Install the IJulia package by doing the following (as described in this tutorial):

  1. Start the Julia REPL:

     /path/to/julia-1.4.2/bin/julia
    
  2. Run the following two lines:

     using Pkg
     Pkg.add("IJulia")
    

It will take a few minutes to install. Once that is done, you can launch our Jupyter service and will find a new option to open a notebook using the Julia 1.4.2 kernel!

Further resources