Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| habrok:software_environment:python [2026/04/07 12:52] – pedro | habrok:software_environment:python [2026/04/07 16:10] (current) – [Quick links] pedro | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ===== What is different about Python on the cluster? ===== | ===== What is different about Python on the cluster? ===== | ||
| - | On your own laptop, you might install Python packages directly with '' | + | On your own laptop, you might install Python packages directly with '' |
| * Python is provided through the **[[habrok: | * Python is provided through the **[[habrok: | ||
| Line 20: | Line 20: | ||
| How to find and load Python versions on Hábrók using the module system. Also covers the pre-installed optimised libraries (numpy, scipy, TensorFlow, PyTorch, etc.) and how to check what is already available before installing anything yourself. | How to find and load Python versions on Hábrók using the module system. Also covers the pre-installed optimised libraries (numpy, scipy, TensorFlow, PyTorch, etc.) and how to check what is already available before installing anything yourself. | ||
| - | **[[habrok_internal: | + | **[[.: |
| On the cluster you work in isolated Python environments. This subsection covers the three main tools for creating and managing these environments: | On the cluster you work in isolated Python environments. This subsection covers the three main tools for creating and managing these environments: | ||
| - | * **[[habroks: | + | * **[[.: |
| - | * **[[habroks: | + | * **[[.: |
| - | * **[[habroks: | + | * **[[.: |
| | | ||
| - | **[[habroks: | + | **[[.: |
| How to write job scripts that use your Python environment on the cluster. Covers single-CPU jobs, multi-CPU jobs using multiprocessing, | How to write job scripts that use your Python environment on the cluster. Covers single-CPU jobs, multi-CPU jobs using multiprocessing, | ||
| + | **[[habrok: | ||
| + | How to use Python modules in VScode. | ||
| + | |||
| **[[habrok: | **[[habrok: | ||
| How to run Jupyter notebooks on Hábrók, either through the web portal or via an SSH tunnel to a compute node running a batch job. | How to run Jupyter notebooks on Hábrók, either through the web portal or via an SSH tunnel to a compute node running a batch job. | ||
| Line 36: | Line 39: | ||
| **[[habrok: | **[[habrok: | ||
| How to install and run Spyder, a graphical Python IDE for scientific work, using a remote desktop session on the web portal. | How to install and run Spyder, a graphical Python IDE for scientific work, using a remote desktop session on the web portal. | ||
| - | |||
| - | **[[habrok: | ||
| - | How to use Python modules in VScode. | ||
| ===== Python FAQs ===== | ===== Python FAQs ===== | ||