Difference between revisions of "Julia"
Line 36: | Line 36: | ||
After loading julia with <code>ml julia</code> from HPG, you can add packages such as iJulia to create personal kernels with the following commands. | After loading julia with <code>ml julia</code> from HPG, you can add packages such as iJulia to create personal kernels with the following commands. | ||
− | julia | + | [username@login3 ~]$julia |
− | using Pkg | + | julia> using Pkg |
− | Pkg.add("IJulia") | + | julia> Pkg.add("IJulia") |
The directory that was created can be tested through commands such as: | The directory that was created can be tested through commands such as: | ||
− | using Pkg | + | julia> using Pkg |
− | Pkg.add("DataFrames") | + | julia> Pkg.add("DataFrames") |
− | Pkg.add("CSV") | + | julia> Pkg.add("CSV") |
− | Pkg.add("Plots") | + | julia> Pkg.add("Plots") |
Launch a Jupyter session and you should be set! | Launch a Jupyter session and you should be set! |
Revision as of 20:46, 21 October 2022
Description
Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments. 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 IPython and Julia communities, provides a powerful browser-based graphical notebook interface to Julia.
Environment Modules
Run module spider julia
to find out what environment modules are available for this application.
System Variables
- HPC_JULIA_DIR - installation directory
- HPC_JULIA_BIN - executable directory
- HPC_JULIA_MAN - manual directory
Additional Information
After loading julia with ml julia
from HPG, you can add packages such as iJulia to create personal kernels with the following commands.
[username@login3 ~]$julia julia> using Pkg julia> Pkg.add("IJulia")
The directory that was created can be tested through commands such as:
julia> using Pkg julia> Pkg.add("DataFrames") julia> Pkg.add("CSV") julia> Pkg.add("Plots")
Launch a Jupyter session and you should be set!