Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| habrok:examples:jupyter [2024/08/02 15:34] – Update for habrok pedro | habrok:examples:jupyter [2026/04/07 15:43] (current) – pedro | ||
|---|---|---|---|
| Line 60: | Line 60: | ||
| The next step is to create a batch job that will start jupyter within your virtual environment. A sample jobscript may look like: | The next step is to create a batch job that will start jupyter within your virtual environment. A sample jobscript may look like: | ||
| - | < | + | < |
| #!/bin/bash | #!/bin/bash | ||
| #SBATCH --nodes=1 | #SBATCH --nodes=1 | ||
| Line 76: | Line 76: | ||
| # Activate the virtual environment | # Activate the virtual environment | ||
| - | source ~/ | + | source ~/ |
| # Start the jupyter server, using the hostname of the node as the way to connect to it | # Start the jupyter server, using the hostname of the node as the way to connect to it | ||