Skip to main content
QUICK REVIEW

[Paper Review] Alya: Towards Exascale for Engineering Simulation Codes

Mariano Vázquez, Guillaume Houzeaux|arXiv (Cornell University)|Apr 18, 2014
Advanced Numerical Methods in Computational MathematicsEngineering14 references23 citations
TL;DR

This paper presents Alya, a high-performance, multi-physics simulation code designed from the ground up for exascale computing in engineering applications. It demonstrates sustained scalability and high parallel efficiency up to 100,000 cores on the Blue Waters supercomputer, successfully solving complex, coupled problems in fluid dynamics, combustion, and electro-mechanical systems using unstructured meshes and hybrid MPI+OpenMP parallelization with custom sparse solvers.

ABSTRACT

Alya is the BSC in-house HPC-based multi-physics simulation code. It is designed from scratch to run efficiently in parallel supercomputers, solving coupled problems. The target domain is engineering, with all its particular features: complex geome- tries and unstructured meshes, coupled multi-physics with exotic coupling schemes and Physical models, ill-posed problems, flexibility needs for rapidly including new models, etc. Since its conception in 2004, Alya has shown scaling behaviour in an increasing number of cores. In this paper, we present its performance up to 100.000 cores in Blue Waters, the NCSA supercomputer. The selected tests are representative of the engineering world, all the problematic features included: incompressible flow in a hu- man respiratory system, low Mach combustion problem in a kiln furnace and coupled electro-mechanical problem in a heart. We show scalability plots for all cases, discussing all the aspects of such kind of simulations, including solvers convergence.

Motivation & Objective

  • To enable large-scale, coupled multi-physics simulations in engineering using a high-performance computing (HPC) code architected for exascale readiness.
  • To address the challenges of simulating complex geometries, unstructured meshes, and tightly coupled physics with exotic coupling schemes.
  • To achieve high parallel efficiency and scalability on petascale supercomputers, particularly in the context of real-world engineering problems.
  • To evaluate the performance of a custom-built, hybrid-parallel solver stack (MPI + OpenMP) with in-house sparse linear solvers on tens of thousands of cores.
  • To lay the foundation for exascale computing in engineering by validating scalability and convergence behavior across diverse, realistic simulation workloads.

Proposed method

  • Alya is a modular, multi-physics code built from scratch for parallel supercomputing, using variational finite element methods on unstructured, hybrid meshes (tetrahedra, hexahedra, prisms, pyramids).
  • The code employs both explicit and implicit time integration schemes, with monolithic or staggered coupling strategies, particularly favoring staggered schemes with coupling iterations for large problems.
  • Parallelization is achieved via domain decomposition using METIS, with MPI for distributed memory and OpenMP for shared-memory parallelism in heavy loops, enabling hybrid MPI+OpenMP execution.
  • Custom sparse linear solvers are tightly integrated with the parallelization scheme, eliminating reliance on third-party libraries and optimizing performance for unstructured meshes.
  • Mesh sub-division is used as a key technique to manage large-scale simulations, enabling efficient load balancing and scalability on massive core counts.
  • The code uses a variational formulation of conservation laws expressed as PDEs, with weak forms derived via integration by parts, enabling stable and consistent discretization on complex domains.

Experimental results

Research questions

  • RQ1Can a multi-physics simulation code achieve high parallel efficiency and scalability on 100,000 cores for complex engineering problems?
  • RQ2How does Alya’s hybrid MPI+OpenMP parallelization strategy perform on large-scale unstructured meshes across diverse physics domains?
  • RQ3What is the scalability and convergence behavior of implicit solvers in Alya when applied to coupled, ill-posed, or nonlinear problems such as incompressible flow or electro-mechanical coupling?
  • RQ4How effective is the use of mesh sub-division and domain decomposition in maintaining load balance and performance on petascale systems?
  • RQ5What are the performance bottlenecks and key requirements for transitioning from petascale to exascale simulation in engineering applications?

Key findings

  • Alya achieved sustained parallel efficiency up to 100,000 cores on Blue Waters, with scalability plots showing consistent performance across all three benchmark problems: respiratory flow, kiln combustion, and cardiac electro-mechanical coupling.
  • The scalability of the DIV3 case (with mesh sub-division) remained highly efficient up to 100,000 cores, demonstrating that mesh management strategies are critical for maintaining performance at scale.
  • The DIV2 case showed improved scalability when normalized to 32,768 cores instead of 1,024, indicating that load balancing and partitioning quality significantly affect scalability at extreme core counts.
  • Implicit solvers converged robustly across all test cases, with convergence behavior analyzed and shown to be stable even on very large unstructured meshes with billions of elements.
  • The use of custom sparse solvers tightly coupled with the parallelization layer enabled high performance without reliance on external libraries, contributing to scalability and maintainability.
  • Postprocessing I/O using HDF5 was identified as a potential bottleneck, highlighting the need for optimized I/O stacks in future exascale workflows.

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.