Packages

The first release of the xSDK includes four numerical software libraries (hypre, PETSc, SuperLU, and Trilinos) and an application component (Alquimia).  More details on these packages are below.  Through the xSDK4ECP project, we are implementing xSDK package community policies in SUNDIALS and the dense linear algebra packages MAGMA, PLASMA, DPLASMA, ScaLAPACK, and LAPACK.

A goal of the xSDK is to improve interoperability among software libraries and domain components.  We welcome the HPC community to contribute additional packages to the xSDK. See the FAQ page for information on how to contribute xSDK-compliant packages.

hypre

Hypre provides high-performance preconditioners and solvers for the solution of large, sparse linear systems on massively parallel computers. It was created with the primary goal of providing users with advanced parallel preconditioners. The library features parallel multigrid solvers for both structured and unstructured grid problems. For ease of use, these solvers are accessed from the application code via hypre’s conceptual linear system interfaces, which allow a variety of natural problem descriptions and include a structured, a semi-structured interface, and a traditional linear-algebra based interface. The (semi-)structured interfaces are an alternative to the standard matrix-based interface that describes rows, columns, and coefficients of a matrix. Here, instead, matrices are described primarily in terms of stencils and logically structured grids. These interfaces give application users a more natural means for describing their linear systems, and provide access to methods such as structured multigrid solvers, which can take advantage of the additional information. Hypre an be used with OpenMP.

PETSc

PETSc is a suite of data structures and routines for the scalable solution of scientific applications modeled by partial differential equations. It includes linear solvers, preconditioners, nonlinear solvers, and ODE integrators. It also provides a variety of scalable constrained and unconstrained optimization solvers. PETSc supports MPI, and GPUs through CUDA or OpenCL, as well as hybrid MPI-GPU parallelism.  While PETSc does not include eigensolvers, there is an eigensolver package called SLEPc built on top of PETSc with a very similar interface. The library libMesh and the framework MOOSE provide finite element solvers that utilize PETSc.   PETSc can be easily used in application codes written in C, C++, Fortran, and Python.

SuperLU

SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems of linear equations on high performance machines. The library routines will perform an LU decomposition with partial pivoting and triangular system solves through forward and back substitution. The LU factorization routines can handle non-square matrices, but the triangular solves are performed only for square matrices. The matrix columns may be preordered (before factorization) either through library or user supplied routines. This preordering for sparsity is completely separate from the factorization. Working precision iterative refinement subroutines are provided for improved backward stability. Routines are also provided to equilibrate the system, estimate the condition number, calculate the relative backward error, and estimate error bounds for the refined solutions.

There are three separate versions of this code: SuperLU (for sequential machines), SuperLU_MT (for shared memory parallel machines with using OpenMP or Pthread), and SuperLU_DIST (for distributed memory machines using MPI).  The library is written in C, with a Fortran interface. SuperLU_DIST supports MPI+X, where X can be CUDA, OpenMP, or both.

Trilinos

The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multiphysics engineering and scientific problems. Trillions is organized into 66 different packages, each with a specific focus. These packages include linear and nonlinear solvers, preconditioners (including algebraic multigrid), graph partitioners, eigensolvers, and optimization algorithms, among other things. Users are only required to install the subset of packages related to the problems they are trying to solve.  Trilinos supports MPI+X, where X can be CUDA, OpenMP, etc.

Alquimia

Alquimia provides an API for exposing mature geochemistry and biogeochemistry capabilities to reactive transport codes. Alquimia is not a geochemistry solver; rather, it is a library comprising data structures and interfaces that wrap chemistry solvers from well-established codes like PFLOTRAN and CrunchFlow, thereby allowing developers of new codes to use these solvers with a single interface.  We refer to these chemistry solvers as chemistry engines.