This example illustrates the use of Julia kernel with Jupyter notebook on the cluster.
Montepi-Julia.ipynb
: Notebook with Julia source code
- Launch an interactive session and load the Python module:
[jharvard@holylogin01 ~]$ salloc -pty -p test --mem=4G -t 120
salloc: Pending job allocation 31172193
salloc: job 31172193 queued and waiting for resources
salloc: job 31172193 has been allocated resources
salloc: Granted job allocation 31172193
salloc: Waiting for resource configuration
salloc: Nodes holy7c26601 are ready for job
[jharvard@holy7c26601 ~]$ module load python/3.12.5-fasrc01
See our documentation on modules to learn more about how to use them on the cluster.
- Start
Julia
and installIJulia
based on these instructions.
To learn how to schedule a Jupyter notebook or Jupyter Lab session via our interactive computing portal (VDI) follow these instructions.
From the the Interactive Apps
dropdown menu in the VDI
portal select the Jupyter notebook / Jupyterlab
app. Choose the parameters of your Jupyter job and launch the
interactive session. Once the Jupyterlab interface opens, the
available kernels will be displayed.
NOTE: The available Notebook kernels may differ in your environment depending on the actual
conda
environments and Julia versions installed in your user space. When you select the desired Julia kernel, the Julia notebook will open in a new tab in your browser.