Julia is a high-level programming language designed for high-performance numerical analysis and computational science. Distinctive aspects of Julia’s design include a type system with parametric polymorphism and types in a fully dynamic programming language and multiple dispatch as its core programming paradigm. It allows concurrent, parallel and distributed computing, and direct calling of C and Fortran libraries without glue code. A just-in-time compiler that is referred to as “just-ahead-of-time” in the Julia community is used. Ref: Wikipedia
There are several website resources for Julia.
- Intro to Julia
- Intro to Julia for data science
- Julia vs. Python: Which is best for data science?
- Julia Language Research and Development at MIT
Software Category: lang
For detailed information, visit the julia website.
To find the available versions and learn how to load them, run:
module spider julia
The output of the command shows the available julia module versions.
For detailed information about a particular julia
module, including how to load the module, run the
module spider command with the module’s full version label. For example:
module spider julia/0.6.0
|Module||Version||Module Load Command|
|julia||0.6.0||module load julia/0.6.0|
|julia||1.1.0||module load julia/1.1.0|
|julia||1.3.1||module load julia/1.3.1|
|julia||1.5.0||module load julia/1.5.0|
Installing Julia Packages
Julia wants to update any existing packages whenever a user tries to add a package. Of course, the basic packages were installed in a system directory that is not writable by the users.
One work-around is to force Julia to see only my local directory the first time that I add a package. For example:
> deleteat!(DEPOT_PATH, 2:length(DEPOT_PATH)) > using Pkg > Pkg.add("Plots")
Julia will update the registry only in my local directory, /home/$USER/.julia. After that first time, it should aways default to /home/$USER/.julia – there would be no need to do the
deleteatat! command after that first time.
This approach can be done either at the Julia prompt or in a Jupyter notebook. The only assumption is that that first path in the DEPOT_PATH list is your local directory.