Skip to content

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 distrubted under either the MIT license or the Apache license.

Compiling and linking with HYPRE

  • module load hype

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.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 cse-develop
$ ./sh/tpsl/hypre.sh --prefix=/path/to/install/location
where the --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