Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

super-slick Slurm and Condor cluster execution for Python

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 cfut
Octocat-spinner-32 README.rst
Octocat-spinner-32 condor_example.py
Octocat-spinner-32 setup.py
Octocat-spinner-32 slurm_example.py
README.rst

Cluster Futures

This module provides a Python concurrent.futures executor that lets you run functions on remote systems in your Condor or Slurm cluster. Stop worrying about writing job files, scattering/gathering, and serialization---this module does it all for you.

It uses PiCloud's advanced pickler to even allow (most) closures to be used transparently, so you're not limited to "pure" functions.

Depends on concurrent.futures and cloud, so just run pip install futures cloud to get up and running.

See example_*.py for example usage. The easiest way to get started is to ignore the fact that futures are being used at all and just use the provided map function, which behaves like itertools.imap but transparently distributes your work across the cluster.

Something went wrong with that request. Please try again.