Skip to main content
QUICK REVIEW

[Paper Review] On the Implementation of a Scalable Simulator for Multiscale Hybrid-Mixed Methods

Antônio Tadeu A. Gomes, Weslley da Silva Pereira|arXiv (Cornell University)|Mar 30, 2017
Advanced Mathematical Modeling in EngineeringComputer Science8 references5 citations
TL;DR

This paper presents two scalable simulator prototypes for Multiscale Hybrid-Mixed (MHM) finite element methods, using either MPI (C++/MPI) or Erlang (C++/Erlang) for parallel process distribution. The Erlang-based version achieves reasonable speedups up to 768 cores with strong fault-tolerance support, demonstrating viability for cloud and exascale HPC environments despite lower raw performance than MPI.

ABSTRACT

The family of Multiscale Hybrid-Mixed (MHM) finite element methods has received considerable attention from the mathematics and engineering community in the last few years. The MHM methods allow solving highly heterogeneous problems on coarse meshes while providing solutions with high-order precision. It embeds independent local problems which are responsible for upscaling unresolved scales into the numerical solution. These local contributions are brought together through a global problem defined on the skeleton of the coarse partition. Since the local problems are completely independent, they can be easily computed in parallel. In this paper, we present two simulator prototypes specifically crafted for the MHM methods, which adopt two different implementation strategies: (i) a multi-programming language approach, each language tackling different simulation issues; and (ii) a classical, single-programming language approach. Specifically, we use C++ for numerical computation of the global and local problems in a modular way; for process distribution in the simulator, we adopt the Erlang concurrent language in the first approach, and the MPI standard in the second approach. The aim of exploring these different approaches is twofold: (i) allow for the deployment of the simulator both in high-performance computing (with MPI) and in cloud computing environments (with Erlang); and (ii) pave the way for further exploration of quality attributes related to software productivity and fault-tolerance, which are key to Exascale systems. We present a performance evaluation of the two simulator prototypes taking into account their efficiency.

Motivation & Objective

  • To develop scalable, high-performance simulators tailored for Multiscale Hybrid-Mixed (MHM) finite element methods.
  • To evaluate two distinct implementation strategies: a multi-language approach using Erlang for fault-tolerant cloud deployment and a single-language MPI-based approach for traditional HPC.
  • To assess the trade-offs in performance, productivity, and fault tolerance between the two approaches.
  • To enable efficient simulation of highly heterogeneous multiscale problems on coarse meshes with high-order accuracy.

Proposed method

  • The MHM method solves a global problem on the coarse mesh skeleton, with independent local problems solved in parallel on each element to capture fine-scale features.
  • Numerical computation of global and local problems is implemented in modular C++ code for both prototypes.
  • Process distribution is managed via MPI in the first prototype (HPC-optimized) and via Erlang’s actor-based concurrency model in the second (cloud-optimized).
  • The Erlang version includes full node and link failover mechanisms to enhance fault tolerance.
  • Strong and weak scalability are evaluated using three problem sizes with increasing tetrahedral elements (724,992 to 74,293,248).
  • Performance metrics include execution time, speedup, and efficiency, with baseline comparisons using only multithreading on 24 cores.

Experimental results

Research questions

  • RQ1Can a hybrid MHM simulator be effectively implemented using both MPI and Erlang to target different HPC and cloud deployment environments?
  • RQ2How does the performance of an Erlang-based MHM simulator compare to a traditional MPI-based implementation in terms of scalability and efficiency?
  • RQ3To what extent does the Erlang-based approach support fault tolerance and software productivity without sacrificing performance?
  • RQ4What is the weak scalability efficiency of the MHM simulator across increasing problem sizes with consistent load per core?

Key findings

  • The MPI-based simulator achieves higher raw performance, with 92.60% strong scalability efficiency on 768 cores for the largest problem.
  • The Erlang-based simulator achieves 61.89% strong scalability efficiency on 768 cores, demonstrating viable performance despite higher communication overhead.
  • Weak scalability efficiency was 54.34% for Erlang and 58.95% for MPI when scaling from 12,288×59 to 12,288×6,046 tetrahedra, indicating good load scaling.
  • The Erlang version achieved a 1.84× increase in execution time over a 102.47× increase in problem size, showing effective weak scaling.
  • Despite higher overhead, the Erlang implementation achieved good productivity, with one developer completing the full fault-tolerant system in 4 months.
  • The results suggest that Erlang is a viable coordination language for fault-tolerant HPC applications, especially in cloud and exascale contexts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.