1. Overview

Bodo is the first Python Supercomputing Analytics platform that empowers data scientists to run Python workloads with the extreme performance and scalability of High Performance Computing (HPC) without code rewrites.

Bodo’s technology provides automatic parallelization and acceleration for analytics workloads for the first time. This eliminates the need to rewrite Python code in Spark/Scala, SQL or MPI/C++, allowing data scientists to focus on solving business problems instead of scalability and performance of their applications.

This user manual covers the basics of using Bodo, provides a reference of supported Python features/APIs, and explains how Bodo works under the hoods. In a nutshell, Bodo provides a just-in-time (JIT) compilation workflow using the @bodo.jit decorator. It replaces the decorated Python functions with an optimized and parallelized binary version automatically, using advanced compilation methods. For example, the program below can perform data transformation on large datasets:

def data_transform(file_name):
    df = pd.read_parquet(file_name)
    df = df[df.C.dt.month == 1]
    df2 = df.groupby("A")["B", "D"].agg(
        lambda S: (S == "ABC").sum()

To run Bodo programs such as this example, programmers can simply use the command line such as mpiexec -n 1024 python data_transform.py (to run on 1024 cores), or use Jupyter Notebook.

Automatic parallelization is performed by taking advantage of Python APIs (Pandas, Numpy, …) that have data-parallel semantics. For example, output elements of df.C.dt.month operation in the example above can be computed independently on different processor nodes and cores. More complex operations such as groupby computation can also be parallelized with some communication across processors.