Introduction to Python programming on the cluster.
Python is a powerful, popular language in scientific computing. You can use it in tasks ranging from interactive data analysis to writing entire scientific software systems.
In this three-part training we will introduce the Python 3 language; explore a few common ways to use it on the cluster; and give an introduction to Numpy, Scipy and Matplotlib, the main numerical libraries for Python.
Prerequisites: Some brief exposure to progamming. A Skill Pill, a few Matlab scripts or similar should be plenty. Also, ask for access to the Sango and Tombo clusters.
In the second session we look at a few common tasks for Python on the cluster. We introduce Python modules and show how you can install modules for yourself on the cluster; we use Python to read and convert files from one format to another; and we show how you can create and submit a Slurm job on the cluster from within a Python script.