Skip to content

Commit

Permalink
update a short demo to show how to use the julia module on LUMI cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
code4yonglei committed Dec 5, 2024
1 parent 057f046 commit 6514930
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions content/syntax-intro.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Introduction to Julia syntax
============================


.. questions::

- How do I run Julia?
Expand All @@ -11,6 +12,8 @@ Introduction to Julia syntax
- 20 min teaching
- 20 min exercises



This episodes provides a condensed overview of Julia's main syntax and features.

.. callout:: Video alternative
Expand Down Expand Up @@ -78,6 +81,22 @@ We can write Julia code in various ways:
:scale: 40 %


.. demo:: Using Julia on the LUMI cluster.

First add CSC's local module files to the module path.

.. code-block::
module use /appl/local/csc/modulefiles
Then load the Julia module and check the current version of Julia.

.. code-block::
module load julia
julia --version



Basic syntax
------------
Expand Down

0 comments on commit 6514930

Please sign in to comment.