Excerpt |
---|
Python is a very popular programming language and has successfully found its way into many application areas including data science, machine learning, and scientific computing. |
...
Column | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Python can be used in many different ways in scientific computing, depending on the features of the researcher workflows. As a result, Pawsey provides different options to use and expand Python capabilities on the Setonix supercomputer and the other systems.
How to use Python at Pawsey
Python is currently installed on Pawsey systems, in the form of software modules.
Warning | ||
---|---|---|
| ||
Upon login, you may notice that the following commands are already available: Do NOT use them for your scientific workflows. |
Info | ||
---|---|---|
| ||
The Setonix supercomputer also comes with a vendor-provided |
Tip | ||
---|---|---|
| ||
Pawsey provides Python as part of the Pawsey Software Stack. This software stack contains a couple of Python installations that can be used by loading the specific module, as described in the following sections. |
Bare Python module
A module with the basic Python interpreter is available on all Pawsey systems. Available versions can be checked via the module avail python
command. And they can be used by loading the desired version. For example:
$ module load python/3.9.7
...
When any of these modules are loaded, its dependencies, including the Python interpreter, will also be loaded. When launched, the interpreter will be able to import the loaded scientific packages.
Single collection of scientific Python packages
On the Setonix supercomputer, all of the above Python packages for scientific computing are also available as a single module, hpc-python-collection
, so that one single load will make all of them available:
$ module load hpc-python-collection/2022.05-py3.9.7
Such collection module can be useful for researchers that need to use a large set of the above packages, to reduce the amount of required module loads. Information on the included packages and versions can be found using module whatis
:
...
width | 900px |
---|
...
language | bash |
---|---|
theme | DJango |
title | Terminal 2. Information on the Python collection module |
...
packages
...
.
...
Containers with set of scientific Python packages
...