Difference between revisions of "Julia"

From UFRC
Jump to navigation Jump to search
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Software]][[Category:Languages]]
+
[[Category:Software]][[Category:Language]][[Category:Programming]][[Category:Statistics]]
 
{|<!--CONFIGURATION: REQUIRED-->
 
{|<!--CONFIGURATION: REQUIRED-->
 
|{{#vardefine:app|julia}}
 
|{{#vardefine:app|julia}}
Line 5: Line 5:
 
<!--CONFIGURATION: OPTIONAL (|1}} means it's ON)-->
 
<!--CONFIGURATION: OPTIONAL (|1}} means it's ON)-->
 
|{{#vardefine:conf|}}          <!--CONFIGURATION-->
 
|{{#vardefine:conf|}}          <!--CONFIGURATION-->
|{{#vardefine:exe|}}            <!--ADDITIONAL INFO-->
+
|{{#vardefine:exe|1}}            <!--ADDITIONAL INFO-->
 
|{{#vardefine:pbs|}}            <!--PBS SCRIPTS-->
 
|{{#vardefine:pbs|}}            <!--PBS SCRIPTS-->
 
|{{#vardefine:policy|}}        <!--POLICY-->
 
|{{#vardefine:policy|}}        <!--POLICY-->
Line 21: Line 21:
  
 
<!--Modules-->
 
<!--Modules-->
==Required Modules==
+
==Environment Modules==
===Serial===
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
* {{#var:app}}
 
<!--
 
===Parallel (OpenMP)===
 
* intel
 
* {{#var:app}}
 
===Parallel (MPI)===
 
* intel
 
* openmpi
 
* {{#var:app}}
 
-->
 
 
==System Variables==
 
==System Variables==
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
 +
* HPC_{{uc:{{#var:app}}}}_BIN - executable directory
 +
* HPC_{{uc:{{#var:app}}}}_MAN - manual directory
 
<!--Configuration-->
 
<!--Configuration-->
 
{{#if: {{#var: conf}}|==Configuration==
 
{{#if: {{#var: conf}}|==Configuration==
Line 41: Line 33:
 
<!--Run-->
 
<!--Run-->
 
{{#if: {{#var: exe}}|==Additional Information==
 
{{#if: {{#var: exe}}|==Additional Information==
 +
===Package Installation===
 +
After loading the julia environment module you can add packages to your personal Julia environment with Pkg. E.g.
  
WRITE_ADDITIONAL_INSTRUCTIONS_ON_RUNNING_THE_SOFTWARE_IF_NECESSARY
+
$ module load julia
 +
$ julia
 +
> using Pkg
 +
> Pkg.add("CSV")
  
|}}
+
===Jupyter Kernel===
 +
To create a personal Julia Jupyter kernel load the julia environment module and add the 'IJulia' package.
 +
Pkg.add("IJulia")
 +
The kernel should be visible in your new jupyterlab session after a successful installation.
 +
}}
 
<!--PBS scripts-->
 
<!--PBS scripts-->
 
{{#if: {{#var: pbs}}|==PBS Script Examples==
 
{{#if: {{#var: pbs}}|==PBS Script Examples==
Line 76: Line 77:
 
<!--Turn the Table of Contents and Edit paragraph links ON/OFF-->
 
<!--Turn the Table of Contents and Edit paragraph links ON/OFF-->
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__
=Validation=
 
* Validate 4/5/2018
 

Latest revision as of 20:49, 21 October 2022

Description

julia website  

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

Package Installation

After loading the julia environment module you can add packages to your personal Julia environment with Pkg. E.g.

$ module load julia
$ julia
> using Pkg
> Pkg.add("CSV")

Jupyter Kernel

To create a personal Julia Jupyter kernel load the julia environment module and add the 'IJulia' package.
Pkg.add("IJulia")

The kernel should be visible in your new jupyterlab session after a successful installation.