skip to navigation
skip to content

MyCluster 0.1.3

Utilities to support interacting with multiple HPC clusters

Latest Version: 0.1.7


Utilities to support interacting with multiple HPC clusters

Provides the ability to interact with the most popular HPC job scheduling systems using a single interface
and enables the creation of job submission scripts. The system also tracks statistics of each job and records
the hardware details of the compute nodes used.

Data is stored in a local database in ~/.mycluster

Tested with SGE and slurm (LSF and PBS/TORQUE support under development)

Installation - pip install MyCluster or git clone

Dependencies: ZODB

Example usage

Register details
mycluster --firstname Fred --lastname Bloggs --email
List all queues
mycluster -q
Create job script
mycluster --create JOB_SCRIPT --jobqueue QUEUE --script SCRIPT --ntasks=TASKS --jobname=JOB_NAME
--project ACCOUNT_NAME --maxtime 12:00:00
Submit job
mycluster --submit JOB_SCRIPT
Delete job
mycluster --delete JOB_ID
Print job table
mycluster -p
Print help
mycluster --help
The SCRIPT to be executed by the JOB_SCRIPT can make use of the following predefined environment variables
export NUM_TASKS=
export NUM_NODES=

# OpenMP configuration

# Default mpiexec commnads for each flavour of mpi
export OMPI_CMD="mpiexec -n $NUM_TASKS -npernode $TASKS_PER_NODE -bysocket -bind-to-socket"
export MVAPICH_CMD="mpiexec -n $NUM_TASKS -ppn $TASKS_PER_NODE -bind-to-socket"
export IMPI_CMD="mpiexec -n $NUM_TASKS -ppn $TASKS_PER_NODE"

In order to capture the relevant information it is recommended that the SCRIPT also exports the following
environment variables

# Application name
# Data size that typifies application performance for this job (e.g number of points or number of cells)
File Type Py Version Uploaded on Size
MyCluster-0.1.3.tar.gz (md5) Source 2014-06-18 12KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 110 downloads in the last week
  • 683 downloads in the last month