Hypre (High Performance Preconditioners)

Overview and Purpose

HYPRE is a software library for solving large, sparse linear systems of equations on massively parallel computers. The library was created with the primary goal of providing users with advanced parallel preconditioners. Issues of robustness, ease of use, flexibility, and interoperability also play an important role.

Origin of the software

Center for Applied Scientific Computing
Lawrence Livermore National Laboratory

hypre Software Release Statement

The work was produced at the University of California, Lawrence Livermore National Laboratory (UC LLNL) under contract no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy (DOE) and The Regents of the University of California (University) for the operation of UC LLNL. The rights of the Federal Government are reserved under Contract 48 subject to the restrictions agreed upon by the DOE and University as allowed under DOE Acquisition Letter 97-1.


This work was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately-owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes.


The software is intended for research and development purposes only. If you wish to use this software commercially, please contact the author or LLNL Office of Industrial Partnerships and Commericalization (http://www.llnl.gov/IPandC/).

Supported Platforms at LRZ

hypre is available on the following HPC systems at LRZ:

  • CooLMUC2
  • SuperMUC (both phase 1 and 2)

Usage of hypre

Please load the appropriate environment module

module load hypre

which provides all necessary environment settings. A precondition for the usage of hypre is that a suitable MPI environment is loaded. You can then build your code using the MPI wrapper for the Intel C or C++ compilers

mpicc -c ... $HYPRE_INC foo.c


mpiCC -c ... $HYPRE_INC foo.cpp

At linkage, you need to specify the libraries as follows:

[mpicc|mpiCC] -o prog.exe main.o foo.o ... $HYPRE_LIB

Further Information and Manuals