Skip to content

Julia

Overview

Julia is an open source scientific programming language, with the goal of combining the high performance of languages like C and or Fortran while aiming for the readability and simplicity of python or R.

Availability

Cluster Module/Version
BOSE julia/1.11.6
BGSC Not Available

Note: You can simply use module load julia to activate the most recently installed version of this software.

How to use

After loading in the module, use the command julia to start to open the RPL.

To exit either type exit() or hit CTRL-d to exit the RPL.

Additional command usage can be found in the julia manual, type man julia for more information.

Installing packages

Julia offers user installed packages, so once Julia has been installed, and you'd like to install these additional packages such as PhyloNetworks and PhyloPlots you must first run module load julia

After doing so, run the Julia command to enter the module's command enviornment, copy and run:

using Pkg
Pkg.add("PhyloNetworks")
If the package is already installed you may run Pkg.update() to update to the newester version.

Same process may be used for PhyloPlots:

using Pkg
Pkg.add("PhyloPlots")

You may verify the installation of PhyloNetworks by running the commands:

using PhyloNetworks

net = readnewick("(A,(B,(C,D)));");

tiplabels(net)

And the output should be: 4-element Vector{String}: "A" "B" "C" "D"

Real Example

Has your research group used Go in a project? Contact the HPC Team and we'd be glad to feature your work.

Resources

Citation

Julia: A Fresh Approach to Numerical Computing. Jeff Bezanson, Alan Edelman, Stefan Karpinski, Viral B. Shah. (2017) SIAM Review, 59: 65–98. doi: 10.1137/141000671. pdf.