benchbuild.projects.benchbuild.bots module

class benchbuild.projects.benchbuild.bots.Alignment(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'alignment'
class benchbuild.projects.benchbuild.bots.BOTSGroup(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.project.Project

Barcelona OpenMP Task Suite.

Barcelona OpenMP Task Suite is a collection of applications that allow to test OpenMP tasking implementations and compare its behaviour under certain circumstances: task tiedness, throttle and cut-offs mechanisms, single/multiple task generators, etc.

Alignment: Aligns sequences of proteins. FFT: Computes a Fast Fourier Transformation. Floorplan: Computes the optimal placement of cells in a floorplan. Health: Simulates a country health system. NQueens: Finds solutions of the N Queens problem. Sort: Uses a mixture of sorting algorithms to sort a vector. SparseLU: Computes the LU factorization of a sparse matrix. Strassen: Computes a matrix multiply with Strassen’s method.

DOMAIN = 'bots'
GROUP = 'bots'
SRC_FILE = 'bots.git'
VERSION = 'HEAD'
compile()[source]

Compile the project.

download()

Download the selected version.

input_dict = {'alignment': ['prot.100.aa', 'prot.20.aa'], 'floorplan': ['input.15', 'input.20', 'input.5'], 'health': ['large.input', 'medium.input', 'small.input', 'test.input'], 'knapsack': ['knapsack-012.input', 'knapsack-016.input', 'knapsack-020.input', 'knapsack-024.input', 'knapsack-032.input', 'knapsack-036.input', 'knapsack-040.input', 'knapsack-044.input', 'knapsack-048.input', 'knapsack-064.input', 'knapsack-096.input', 'knapsack-128.input'], 'uts': ['huge.input', 'large.input', 'medium.input', 'small.input', 'test.input', 'tiny.input']}
path_dict = {'alignment': 'serial/alignment', 'fft': 'serial/fft', 'fib': 'serial/fib', 'floorplan': 'serial/floorplan', 'health': 'serial/health', 'knapsack': 'serial/knapsack', 'nqueens': 'serial/nqueens', 'sort': 'serial/sort', 'sparselu': 'serial/sparselu', 'strassen': 'serial/strassen', 'uts': 'serial/uts'}
repository = 'https://github.com/bsc-pm/bots'
run_tests(runner)[source]

Run the tests of this project.

Clients override this method to provide customized run-time tests.

Parameters:
  • experiment – The experiment we run this project under
  • run – A function that takes the run command.
static versions()

Return a list of versions from the git hashes up to :limit:.

class benchbuild.projects.benchbuild.bots.FFT(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'fft'
class benchbuild.projects.benchbuild.bots.Fib(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'fib'
class benchbuild.projects.benchbuild.bots.FloorPlan(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'floorplan'
class benchbuild.projects.benchbuild.bots.Health(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'health'
class benchbuild.projects.benchbuild.bots.Knapsack(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'knapsack'
class benchbuild.projects.benchbuild.bots.NQueens(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'nqueens'
class benchbuild.projects.benchbuild.bots.Sort(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'sort'
class benchbuild.projects.benchbuild.bots.SparseLU(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'sparselu'
class benchbuild.projects.benchbuild.bots.Strassen(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'strassen'
class benchbuild.projects.benchbuild.bots.UTS(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.benchbuild.bots.BOTSGroup

NAME = 'uts'