HYPRE
HYPRE is a library of linear solvers for structured and unstructured problems with a particular emphasis on multigrid. It is a product of the Lawrence Livermore National Laboratory and is distributed under either the MIT license or the Apache license.
Compiling and linking with HYPRE
module load hypre
To compile and link an application with the HYPRE libraries, load the
hypre
module and use the compiler wrappers cc
, CC
, or ftn
in
the usual way. The relevant include files and libraries will be
introduced automatically.
Two versions of HYPRE are included: one with, and one without, OpenMP.
The relevant version will be selected if e.g., -fopenmp
is included
in the compile or link stage.
The hypre
module defines the environment variable HYPRE_DIR
which
will show the root of the installation for the current programming
environment if required.
Version history
- module
hypre/2.25.0
installed as default May 2023 (PE 22.12) - module
hypre/2.18.0
recompiled and installed May 2023 (PE 22.12)
- Module
hypre/2.18.0
installed October 2021 (PE 21.04)
- Module
hypre/2.18.0
installed January 2021
Compiling your own version
The current supported version on Archer2 can be built using the script from the Archer2 repository:
$ git clone https://github.com/ARCHER2-HPC/pe-scripts.git
$ cd pe-scripts
$ git checkout modules-2022-12
$ ./sh/tpsl/hypre.sh --prefix=/path/to/install/location
--prefix
option determines the install directory. See the
Archer2 github repository for more information.
Resources
HYPRE home page
The latest HYPRE user manual (HTML)
An older pdf version
HYPRE github repository