Skip to content

Python (Module)

Overview

Python is a high-level programming language known for being easy to read and used in a wide variety of tasks.

Availability

Not Recommended

While this Python module is available on our clusters, we highly recommend using the "python-libs" module instead, which has its own version of Python and includes all our installed libraries.

If you use module load python-libs after loading this module, it'll effectively override it.

Cluster Module/Version
BOSE python/3.9.2
BGSC python/2.7.18
python/3.9.2

Note: You can simply use "module load python" to activate the most recently installed version of this software.

Sample Slurm Script

submit.sh
#!/bin/bash
# -- SLURM SETTINGS -- #
# [..] other settings here [..]

# The following settings are for the overall request to Slurm
#SBATCH --ntasks-per-node=32     # How many CPU cores do you want to request
#SBATCH --nodes=1                # How many nodes do you want to request

# -- SCRIPT COMMANDS -- #

# Load the needed modules
module load python    # Load Python
python my-script.py

Resources