Jupyter: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
Sun092 (talk | contribs)
No edit summary
Honfi001 (talk | contribs)
New jupyter page in OOD
 
Line 1: Line 1:
Jupyter Notebook is a web-based environment for interactive computing. With a valid HPC (Anunna) account, you can log in to our Jupyter web server using your userID and credentials at:
JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. Its flexible interface allows users to configure and arrange workflows in data science, scientific computing, computational journalism, and machine learning. A modular design invites extensions to expand and enrich functionality.
https://notebook.anunna.wur.nl


Don't have an HPC (Anunna) account yet? Apply now from [https://support.wur.nl/esc?id=sc_cat_item&table=sc_cat_item&sys_id=e52c5a188776a150b0bd33fd3fbb3536 Request a user account for the HPC (Anunna)]
Traditionally, jupyter has been offered at Anunna via [https://notebook.anunna.wur.nl notebook.anunna.wur.nl], though OOD makes it possible to deploy Jupyter based off the environment modules from Anunna. Adding greater stability and flexibility. Jupyter is listed in the featured apps speed-dial and upon clicking on it, the user is presented with a form where they can select their preferences and allocate resources for their session
[[File:Jupyter-form-20260225.png|thumb|695x695px|Resource Allocation form for Jupyter Session]]


JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. While we have upgraded the Jupyter webserver to JupyterLab, we have retained the classic Jupyter Notebook interface for users who prefer the traditional layout.
=== Resource Allocation Form ===


If you would like to switch to the JupyterLab interface, you have two options:
* '''Python version:''' version of python the default kernel will be running
* '''Session Type:''' traditional notebooks interface or the newer lab interface. It is also possible to change the interface from within the active Jupyter session.
* '''Hours:''' Number of hours allocated to the session, max 4 hours
* '''Number of CPUs:''' Number of CPU cores allocated for the session
* '''Amount of Memory:''' RAM allocated for the session
* '''Number of GPUs:''' 0 denotes no GPU is used, a non-zero number will switch the partition from main to the gpu partition
* '''Comment:'''  label or project number that will show up in billing.
* '''Slurm Options:''' slurm flags that may override settings above


1) Manually change the URL by replacing the last part, 'tree', with 'lab'.
For example, change <nowiki>https://notebook.anunna.wur.nl/user/<userID>/tree</nowiki>
to <nowiki>https://notebook.anunna.wur.nl/user/<userID>/lab</nowiki>


Alternatively,  
==== Connecting to an active session ====
After the resources and preferences have been defined, the user can simply click on the launch button. Which will submit a job at Anunna and take them to the My Interactive Sessions page where they can connect to their session.


2)from the menu, go to "View" and select "Open JupyterLab".
Once the session is ready a "Connect to Jupyter " button will appear which will allow the user to (re)connect to the corresponding active session.
 
The card also has a red "Cancel" button where the user may terminate their session.

Latest revision as of 19:10, 25 February 2026

JupyterLab is the latest web-based interactive development environment for notebooks, code, and data. Its flexible interface allows users to configure and arrange workflows in data science, scientific computing, computational journalism, and machine learning. A modular design invites extensions to expand and enrich functionality.

Traditionally, jupyter has been offered at Anunna via notebook.anunna.wur.nl, though OOD makes it possible to deploy Jupyter based off the environment modules from Anunna. Adding greater stability and flexibility. Jupyter is listed in the featured apps speed-dial and upon clicking on it, the user is presented with a form where they can select their preferences and allocate resources for their session

Resource Allocation form for Jupyter Session

Resource Allocation Form

  • Python version: version of python the default kernel will be running
  • Session Type: traditional notebooks interface or the newer lab interface. It is also possible to change the interface from within the active Jupyter session.
  • Hours: Number of hours allocated to the session, max 4 hours
  • Number of CPUs: Number of CPU cores allocated for the session
  • Amount of Memory: RAM allocated for the session
  • Number of GPUs: 0 denotes no GPU is used, a non-zero number will switch the partition from main to the gpu partition
  • Comment: label or project number that will show up in billing.
  • Slurm Options: slurm flags that may override settings above


Connecting to an active session

After the resources and preferences have been defined, the user can simply click on the launch button. Which will submit a job at Anunna and take them to the My Interactive Sessions page where they can connect to their session.

Once the session is ready a "Connect to Jupyter " button will appear which will allow the user to (re)connect to the corresponding active session.

The card also has a red "Cancel" button where the user may terminate their session.