Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

An implicit barotropic mode solver for MPAS-ocean using a modern Fortran solver interface

Journal Article · · International Journal of High Performance Computing Applications

Here, we demonstrate use of a modern Fortran solver interface to manage solver algorithms for an implicit barotropic mode solver in the Model for Predictions Across Scales-Ocean (MPAS-O). ForTrilinos, a Fortran interface to Trilinos that contains a large collection of solver capabilities written in C++, has been implemented in MPAS-O to provide access to a suite of linear solver options. By virtue of the simplified wrapper and interface generator (SWIG) automation tool that generates modern Fortran interfaces to C++ code, we were able to implement the Fortran solver interface in MPAS-O using a familiar Fortran coding style while minimizing performance degradation. The ForTrilinos solver interface is written within MPAS-O’s time stepping modules as a subroutine in conjunction with MPAS-O code. Applied to an idealized ocean and a high-resolution realistic ocean test case, parallel performance of ForTrilinos solvers is examined. It is found that parallel scalability of the ForTrilinos solvers is highly dependent on the number of global synchronization points per solver iteration in each iterative solver algorithm. ForTrilinos solvers perform best compared to the Fortran hand-crafted (FHC) solver when the amount of work per processor is large enough. However, parallel scalability is better with the FHC solver and so when the work per core is modest FHC outperforms ForTrilinos. The intercomparison between the ForTrilinos and FHC solvers reveals that this performance hit in the ForTrilinos solver mostly comes from the global synchronization process, while suggesting that the matrix-vector multiplication process in the FHC solver needs to be optimized for better performance.

Research Organization:
Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States); Los Alamos National Laboratory (LANL), Los Alamos, NM (United States); Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States). National Energy Research Scientific Computing Center (NERSC)
Sponsoring Organization:
USDOE Office of Science (SC), Biological and Environmental Research (BER); USDOE National Nuclear Security Administration (NNSA)
Grant/Contract Number:
AC05-00OR22725
OSTI ID:
2251644
Journal Information:
International Journal of High Performance Computing Applications, Journal Name: International Journal of High Performance Computing Applications Journal Issue: 3 Vol. 38; ISSN 1094-3420
Publisher:
SAGECopyright Statement
Country of Publication:
United States
Language:
English

References (49)

Extreme scalability challenges in micro‐finite element simulations of human bone journal April 2010
A Scalable and Adaptable Solution Framework within Components of the Community Climate System Model book January 2009
The role of horizontal resolution in simulating drivers of the global hydrological cycle journal September 2013
Enhancement of the southward return flow of the Atlantic Meridional Overturning Circulation by data assimilation and its influence in an assimilative ocean simulation forced by CORE-II atmospheric forcing journal August 2015
Parallel matrix transpose algorithms on distributed memory concurrent computers journal September 1995
Preconditioning techniques for nonsymmetric and indefinite linear systems journal November 1988
The regional oceanic modeling system (ROMS): a split-explicit, free-surface, topography-following-coordinate oceanic model journal January 2005
Spurious dianeutral mixing and the role of momentum closure journal January 2012
A multi-resolution approach to global ocean modeling journal September 2013
The importance of eddy permitting model resolution for simulation of the heat budget of tropical instability waves journal July 2014
Evaluation of the arbitrary Lagrangian–Eulerian vertical coordinate method in the MPAS-Ocean model journal February 2015
An assessment of Antarctic Circumpolar Current and Southern Ocean meridional overturning circulation during 1958–2007 in a suite of interannual CORE-II simulations journal September 2015
The communication-hiding pipelined BiCGstab method for the parallel solution of large unsymmetric linear systems journal July 2017
Why Restricted Additive Schwarz Converges Faster than Additive Schwarz journal January 2003
An Evaluation of the Ocean and Sea Ice Climate of E3SM Using MPAS and Interannual CORE‐II Forcing journal May 2019
The DOE E3SM Coupled Model Version 1: Overview and Evaluation at Standard Resolution journal July 2019
The DOE E3SM Coupled Model Version 1: Description and Results at High Resolution journal December 2019
Characterizing Tropical Cyclones in the Energy Exascale Earth System Model Version 1 journal August 2020
A Scalable Semi‐Implicit Barotropic Mode Solver for the MPAS‐Ocean journal April 2021
Separating Physics and Dynamics Grids for Improved Computational Efficiency in Spectral Element Earth System Models journal June 2021
Global Dust Cycle and Direct Radiative Effect in E3SM Version 1: Impact of Increasing Model Resolution journal July 2022
The DOE E3SM Model Version 2: Overview of the Physical Model and Initial Model Evaluation journal December 2022
Implicit free-surface method for the Bryan-Cox-Semtner ocean model journal January 1994
A minimum overlap restricted additive Schwarz preconditioner and applications in 3D flow simulations book January 1998
Comparison of parallel solvers for Moving Particle Semi-Implicit method journal May 2015
The improved BiCGStab method for large and sparse unsymmetric linear systems on parallel distributed memory architectures conference October 2002
Towards Extreme-Scale Simulations with Next-Generation Trilinos: A Low Mach Fluid Application Case Study conference May 2014
Automated Fortran–C++ Bindings for Large-Scale Scientific Applications journal September 2020
A Matrix Dependent/Algebraic Multigrid Approach for Extruded Meshes with Applications to Ice Sheet Modeling journal January 2016
A Parallel Implementation of a Two-Level Overlapping Schwarz Method with Energy-Minimizing Coarse Space Based on Trilinos journal January 2016
Communication-Efficient Property Preservation in Tracer Transport journal January 2019
Conservative Multimoment Transport along Characteristics for Discontinuous Galerkin Methods journal January 2019
A Restricted Additive Schwarz Preconditioner for General Sparse Linear Systems journal January 1999
Partitioning Rectangular and Structurally Unsymmetric Sparse Matrices for Parallel Processing journal January 2000
An overview of the Trilinos project journal September 2005
Exploring Capabilities within ForTrilinos by Solving the 3D Burgers Equation journal January 2012
Accuracy Analysis of a Spectral Element Atmospheric Model Using a Fully Implicit Solution Framework journal August 2010
Simulation of ENSO Teleconnections to Precipitation Extremes over the United States in the High-Resolution Version of E3SM journal June 2022
Three-Dimensional Baroclinic Eddies in the Ocean: Evolution, Propagation, Overall Structures, and Angular Models journal October 2019
A modern solver interface to manage solution algorithms in the Community Earth System Model journal February 2012
Ifpack2 User's Guide 1.0 report May 2016
ForTrilinos Design Document report August 2017
MPAS-Ocean Model User's Guide Version 6.0 report April 2018
MueLu User's Guide report January 2019
Comparative study of conjugate gradient algorithms performance on the example of steady-state axisymmetric heat transfer problem journal September 2013
Amesos2 and Belos: Direct and Iterative Solvers for Large Sparse Linear Systems journal January 2012
Regionally refined test bed in E3SM atmosphere model version 1 (EAMv1) and applications for high-resolution modeling journal January 2019
Overview of the Coupled Model Intercomparison Project Phase 6 (CMIP6) experimental design and organization journal January 2016
Southern Ocean polynyas and dense water formation in a high-resolution, coupled Earth System Model preprint August 2022

Similar Records

Five years of ForTrilinos ECP
Technical Report · Mon Aug 01 00:00:00 EDT 2022 · OSTI ID:1909128

A Scalable Semi-Implicit Barotropic Mode Solver for the MPAS-Ocean
Journal Article · Wed Apr 07 00:00:00 EDT 2021 · Journal of Advances in Modeling Earth Systems · OSTI ID:1782059

ForTrilinos
Software · Sat Dec 30 19:00:00 EST 2017 · OSTI ID:code-37137

Related Subjects