Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Julia is a high-level, high-performance, dynamic programming language. While it is a general-purpose language and can be used to write any application, many of its features are well suited for numerical analysis and computational science.

Usage

Version

module

1.5.2

julia/1.5.2

JupyterLab/Jupyter Notebook

  •  To use JupyterLab/Jupyter Notebook as a Julia IDE, you need to install a Julia kernel in your home directory
    [alp514.sol](1040): module load julia
    [alp514.sol](1041): julia
                   _
       _       _ _(_)_     |  Documentation: https://docs.julialang.org
      (_)     | (_) (_)    |
       _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
      | | | | | | |/ _` |  |
      | | |_| | | | (_| |  |  Version 1.5.2 (2020-09-23)
     _/ |\__'_|_|_|\__'_|  |
    |__/                   |
    
    julia> using Pkg
    
    julia> Pkg.add("IJulia")
     Installing known registries into `~/.julia`
    ######################################################################## 100.0%
          Added registry `General` to `~/.julia/registries/General`
      Resolving package versions...
      Installed Artifacts ─────── v1.3.0
      Installed libsodium_jll ─── v1.0.19+0
      Installed VersionParsing ── v1.2.0
      Installed MbedTLS_jll ───── v2.16.8+1
      Installed Parsers ───────── v2.0.2
      Installed Conda ─────────── v1.5.2
      Installed IJulia ────────── v1.23.2
      Installed SoftGlobalScope ─ v1.1.0
      Installed ZeroMQ_jll ────── v4.3.2+6
      Installed MbedTLS ───────── v1.0.3
      Installed TOML ──────────── v1.0.3
      Installed Preferences ───── v1.2.2
      Installed ZMQ ───────────── v1.2.1
      Installed JSON ──────────── v0.21.2
      Installed JLLWrappers ───── v1.3.0
    Downloading artifact: MbedTLS
    Downloading artifact: libsodium
    Downloading artifact: ZeroMQ
    Updating `~/.julia/environments/v1.5/Project.toml`
      [7073ff75] + IJulia v1.23.2
    Updating `~/.julia/environments/v1.5/Manifest.toml`
      [56f22d72] + Artifacts v1.3.0
      [8f4d0f93] + Conda v1.5.2
      [7073ff75] + IJulia v1.23.2
      [692b3bcd] + JLLWrappers v1.3.0
      [682c06a0] + JSON v0.21.2
      [739be429] + MbedTLS v1.0.3
      [c8ffd9c3] + MbedTLS_jll v2.16.8+1
      [69de0a69] + Parsers v2.0.2
      [21216c6a] + Preferences v1.2.2
      [b85f4697] + SoftGlobalScope v1.1.0
      [fa267f1f] + TOML v1.0.3
      [81def892] + VersionParsing v1.2.0
      [c2297ded] + ZMQ v1.2.1
      [8f1865be] + ZeroMQ_jll v4.3.2+6
      [a9144af2] + libsodium_jll v1.0.19+0
      [2a0f44e3] + Base64
      [ade2ca70] + Dates
      [8ba89e20] + Distributed
      [7b1f6079] + FileWatching
      [b77e0a4c] + InteractiveUtils
      [76f85450] + LibGit2
      [8f399da3] + Libdl
      [56ddb016] + Logging
      [d6f4376e] + Markdown
      [a63ad114] + Mmap
      [44cfe95a] + Pkg
      [de0858da] + Printf
      [3fa0cd96] + REPL
      [9a3f8284] + Random
      [ea8e919c] + SHA
      [9e88b42a] + Serialization
      [6462fe0b] + Sockets
      [8dfed614] + Test
      [cf7118a7] + UUIDs
      [4ec0a83e] + Unicode
       Building Conda ─→ `~/.julia/packages/Conda/sNGum/deps/build.log`
       Building IJulia → `~/.julia/packages/IJulia/e8kqU/deps/build.log`
    
    julia>
    
    
  •  Follow instructions given at the Jupyter Notebooks on OOD page, add module load julia in the environment text box and click the launch Jupyter button

  •  You should see options to start a Python or Julia Notebook/Console. Click on Notebook>Julia to create an untitled Julia Notebook or click on Console/Julia to start a Julia console session


  • No labels