GridapSolvers
Documentation for GridapSolvers.
GridapSolvers provides algebraic and non-algebraic solvers for the Gridap ecosystem, designed with High Performance Computing (HPC) in mind.
Solvers follow a modular design, where most blocks can be combined to produce PDE-taylored solvers for a wide range of problems.
Table of contents
- GridapSolvers.SolverInterfaces
- GridapSolvers.MultilevelTools
- GridapSolvers.LinearSolvers
- GridapSolvers.NonlinearSolvers
- GridapSolvers.BlockSolvers
- GridapSolvers.PatchBasedSmoothers
Documentation and examples
A (hopefully) comprehensive documentation is available here.
A list of examples is available in the documentation. These include some very well known examples such as the Stokes, Incompressible Navier-Stokes and Darcy problems. The featured scripts are available in test/Applications
.
An example on how to use the library within an HPC cluster is available in joss_paper/scalability
. The included example and drivers are used to generate the scalability results in our JOSS paper.
Installation
GridapSolvers is a registered package in the official Julia package registry. Thus, the installation of GridapSolvers is straight forward using the Julia's package manager. Open the Julia REPL, type ]
to enter package mode, and install as follows
pkg> add GridapSolvers
pkg> build
Building is required to link the external artifacts (e.g., PETSc, p4est) to the Julia environment. Restarting Julia is required after building in order to make the changes take effect.
Using custom binaries
The previous installations steps will setup GridapSolvers to work using Julia's pre-compiled artifacts for MPI, PETSc and p4est. However, you can also link local copies of these libraries. This might be very desirable in clusters, where hardware-specific libraries might be faster/more stable than the ones provided by Julia. To do so, follow the next steps: