"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. In addition, the Julia developer community is contributing a number of external packages through Julia’s built-in package manager at a rapid pace. IJulia, a collaboration between the Jupyter and Julia communities, provides a powerful browser-based graphical notebook interface to Julia."
Availability and Restrictions
Julia is available on Owens Clusters. The versions currently available at OSC are:
You can use
module spider julia to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.
Julia is available for use by all OSC users.
Publisher/Vendor/Repository and License Type
Jeff Bezanson et al., Open source
Interactive Julia Notebooks
If you are using OnDemand, you can simply work with Jupyter and the selection of the Julia kernel to use interactive notebooks to work on an Owens or Pitzer compute node!
Navigate to ondemand.osc.edu and select a Jupyter notebook:
Since version 1.0, OSC user must manage own IJulia kernels in Jupyter Notebook or JupyterLab. The following is an example of adding the latest version of IJulia package and creating a kernel on Owens:
$ module load julia/1.0.5 $ julia julia> ] (v1.0) pkg> add IJulia [ .. installation output .. ] (v1.0) pkg> st IJulia Updating `~/.julia/environments/v1.0/Project.toml` [7073ff75] + IJulia v1.23.2 Updating `~/.julia/environments/v1.0/Manifest.toml` ... julia> using IJulia julia> installkernel("Owens Julia") installkernel("Owens Julia") [ Info: Installing Owens Julia kernelspec in /users/PAS1234/user/.local/share/jupyter/kernels/owens-julia-1.0 "/users/PAS1234/user/.local/share/jupyter/kernels/owens-julia-1.0"
In Juptyer Notebook or JupyterLab, you can find the item Owens Julia 1.0.5 in the kernel list:
For more detail about package management, please refer to the Julia document.