Hypre - shawfdong/hyades GitHub Wiki

https://en.wikipedia.org/wiki/Hypre|Hypre (High Performance Preconditioners), developed at the Center for Applied Scientific Computing (CASC) at Lawrence Livermore National Laboratory, is a library for solving large, sparse linear systems of equations on massively parallel computers[1]. The main strength of Hypre is availability of high performance parallel multigrid preconditioners for both structured and unstructured grid problems.

Table of Contents

Building Hypre 2.10.0b

We'll build Hypre 2.10.0b with Intel MPI and Intel MKL using Intel compilers.

Download the latest Hypre release (2.10.0b) and save the tar ball at /scratch on Hyades.:

Unpack the tar ball:

$ cd /scratch
$ tar xvfz hypre-2.10.0b.tar.gz

Configure, compile, and install the Hypre library[2]

$ cd hypre-2.10.0b/src
$ export CC=mpiicc
$ export CXX=mpiicpc
$ export FC=mpiifort
$ export F77=mpiifort
$ ./configure \
--prefix=/pfs/sw/parallel/impi_intel/hypre-2.10.0b \
--with-blas-libs="mkl_core mkl_intel_lp64 mkl_sequential" \
--with-blas-lib-dirs=/opt/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64 \
--with-lapack-libs="mkl_core mkl_intel_lp64 mkl_sequential" \
--with-lapack-lib-dirs=/opt/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64

$ make
$ make install

Using Hypre

Hypre 2.10.0b is installed at /pfs/sw/parallel/impi_intel/hypre-2.10.0b|color=blue. To facilitate the usage of Hypre, I've created a module hypre to set up environment for the synonymous library[3].

To display information about the module:

$ module show hypre

To load the module:

$ module load hypre

Documentation

References

  1. ^ acts.nersc.gov - Hypre
  2. ^ wiki.hpc.ufl.edu - Hypre
  3. ^ Environment Variables Affecting GCC
⚠️ **GitHub.com Fallback** ⚠️