Skip to content
tcarneiropPublic

Repository files navigation

ChOp — Chapel-based Optimization

An experimental research laboratory for productivity, performance, portability, and scalability in parallel combinatorial optimization.

Overview

ChOp is a research project focused on designing and implementing large-scale exact distributed optimization algorithms in Chapel, targeting heterogeneous CPU–GPU systems while investigating productivity, scalability, portability, and parallel efficiency.

The project uses combinatorial algorithmic skeletons and large-scale applications as experimental artifacts to study how programming abstractions influence algorithm development and execution. Its central research question is:

How can we develop productive, portable, scalable, and efficient exact optimization algorithms for heterogeneous computing architectures?

ChOp's research includes N-Queens prototypes for tree-search experimentation and exact optimization applications for problems such as flow-shop scheduling and the asymmetric traveling salesman problem (ATSP).

A complementary repository, the NQueens Performance Portability Lab, extends these experimental comparisons across programming models, including MPI, OpenMP, CUDA, HIP, SYCL, Kokkos, and others. This separation supports systematic studies of performance, productivity, and portability without assuming that any single programming model is universally superior.

Why Chapel?

Chapel is a high-level parallel programming language designed to make parallel computing more productive, from multicore systems to distributed-memory machines and GPU accelerators.

Its task-parallel and data-parallel constructs, distributed arrays, and PGAS-oriented abstractions make it an interesting research vehicle for irregular tree-search applications such as backtracking and Branch-and-Bound. ChOp investigates the benefits and limitations of these abstractions, particularly how they affect programming effort, performance, and scalability on heterogeneous HPC systems.

Research Objectives

  • Productivity: Study and quantify the effort required to develop, maintain, and extend parallel optimization algorithms.
  • Performance: Compare computational efficiency across implementations and architectures.
  • Portability: Investigate the effort and performance implications of moving applications across hardware and programming environments.
  • Scalability: Study exact optimization algorithms on multicore, multi-GPU, and distributed computing systems.

Distributed Tree Search

One of the distributed designs uses a master–worker organization. Locale 0 (the master) generates and distributes an initial pool of subproblems and coordinates the search. Worker locales maintain local search pools, with work partitioned between CPUs and GPUs.

Selected Experimental Results

Multi-GPU Scalability — Chapel + CUDA

A GPU-based N-Queens prototype was evaluated using 288 NVIDIA V100 GPUs across 48 computing nodes. The original study reports 84% of linear speedup compared with the same application on one node, and 74% of linear speedup compared with an optimized single-node CUDA baseline.

See Carneiro et al. (2021).

Distributed Branch-and-Bound — Chapel vs. MPI/C++

The Chapel-based Branch-and-Bound implementation was compared with an MPI/C++ baseline on Taillard flow-shop scheduling instances (ta21–ta30). The experiments examined both execution time and programming productivity, from 1 node (32 CPU cores) to 32 nodes (1,024 CPU cores).

See Carneiro et al. (2020).

Performance comparison

Productivity comparison

Recognition & Impact

  • Chapel in Production: ChOp is featured by the Chapel team among the projects showcased in Chapel in Production.
  • Chapel developer interview: ChOp's research and development were discussed in the official “7 Questions” interview with Tiago Carneiro and Guillaume Helbecque.
  • HeCBench: The CUDA-based N-Queens implementation from ChOp has been included in HeCBench, a heterogeneous computing benchmark collection.
  • GPU validation and performance tracking: ChOp has been used by the Chapel team in GPU-related evaluation. See the CHIUW 2023 presentation and Chapel GPU performance graphs.
  • RISC-V portability and performance evaluation: ChOp was used as an application benchmark in a study by researchers from Sandia National Laboratories, HPE, and collaborating institutions, evaluating Chapel on emerging RISC-V systems alongside ARM and x86 platforms. See Henriksen et al. (2026), Section V.

Publications