Package Details: hypre 2.29.0-1

Git Clone URL: https://aur.archlinux.org/hypre.git (read-only, click to copy)
Package Base: hypre
Description: Parallel solvers for sparse linear systems featuring multigrid methods
Upstream URL: https://github.com/hypre-space/hypre
Licenses: LGPL, MIT, Apache
Submitter: getzze
Maintainer: carlosal1015 (gpettinello, AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 4
Popularity: 0.000050
First Submitted: 2015-09-29 15:20 (UTC)
Last Updated: 2023-06-25 10:51 (UTC)

Latest Comments

gpettinello commented on 2021-11-07 08:21 (UTC)

Hi ChrisTX, I updated PKGBUILD to version 2.23.0:

# Maintainer: Alessandro G. Magnasco <alessandromagnasco at gmail dot com>
# Contributor: Gianluca Pettinello <g_pet at hotmail dot com>
# Contributor: Bertrand Lacoste <bertrandlacoste at gmail dot com>
# Contributor: Tim Langlois <langlois at cs dot cornell dot edu>
# Maintainer: Christian Pfeiffer <cpfeiffer at live dot de>
# Contributor: Wink Saville <wink at saville dot com>

pkgname=hypre
pkgver=2.23.0
pkgrel=1
pkgdesc="A library for solving large, sparse linear systems on massively parallel computers"
arch=('x86_64')
url="https://github.com/hypre-space/hypre"
license=('lgpl')
depends=('superlu' 'superlu_dist' 'openmpi')
makedepends=('gcc-fortran')
source=(https://github.com/hypre-space/hypre/archive/v${pkgver}.tar.gz)
sha512sums=('8a9f9fb6f65531b77e4c319bf35bfc9d34bf529c36afe08837f56b635ac052e2')

build() {
  _build_dir="${srcdir}/${pkgname}-${pkgver}${_suffix}"
  cd "${_build_dir}/src"

  # disable internal superlu and fei for now, not sure yet how to get it to use external superlu
  CFLAGS="${CFLAGS} -fopenmp" CXXFLAGS="${CXXFLAGS} -fopenmp" LDFLAGS="${LDFLAGS} -lgomp" \
  ./configure --prefix="${pkgdir}/usr" --includedir="${pkgdir}/usr/include/hypre" --enable-shared \
      --with-superlu --with-superlu-include=/usr/include/superlu --with-superlu-lib="-lsuperlu" \
      --with-dsuperlu --with-dsuperlu-include=/usr/include/superlu_dist --with-dsuperlu-lib="-lsuperlu_dist" \
      --with-blas --with-lapack --with-openmp --enable-fortran --with-mli --with-MPI

  make
}

check() {
  _build_dir="${srcdir}/${pkgname}-${pkgver}${_suffix}"
  cd "${_build_dir}/src"

  make test
}

package() {
  _build_dir="${srcdir}/${pkgname}-${pkgver}${_suffix}"
  cd "${_build_dir}/src"

  make install
}

Please could you update PKGBUILD? Thanks Gianluca

ChrisTX commented on 2019-06-28 13:04 (UTC)

@MartinDiehl: I wasn't aware of that, but you're right: HYPRE and Trilinos both provide several overlapping headers. I've checked how other distros handle this, and both Fedora and Debian/Ubuntu put the respective headers in 'hypre' and 'trilinos' subfolders of '/usr/include'. Most likely that's a practice we should migrate to as well. I'll check if this needs a change to petsc later on.

MartinDiehl commented on 2019-06-11 10:34 (UTC)

The FEI interface conflicts with the trilinos package which I maintain. I mainly need ml support and will therefore disable FEI support there until someone complains

ChrisTX commented on 2018-12-16 22:03 (UTC)

I've taken over the package and enabled SuperLU_DIST support as well as the optional MLI and FEI interfaces. v2.15.1 will also work fine with PETSc 3.10.2, which just needs v2.14.0 or newer.

sigvald commented on 2018-06-25 07:43 (UTC)

In the meantime, a PKGBUILD for version 2.14.0 is available here: https://github.com/sigvaldm/arch-fenics-packages/tree/master/hypre-sm Feel free to use if for updating this one.

sigvald commented on 2018-06-21 17:08 (UTC) (edited on 2018-06-21 17:09 (UTC) by sigvald)

I need new version of this too (precisely, v2.14.0 is needed for Hypre support in PETSc)

capitalaslash commented on 2018-04-19 10:15 (UTC)

new releases have been available on github for a while

https://github.com/LLNL/hypre/releases

heavysink commented on 2017-08-25 14:52 (UTC)

Updated.

winksaville commented on 2017-08-12 18:26 (UTC)

This out of date, the link below is a patch to update to v2.11.2: https://gist.github.com/winksaville/6109c11cbd9d27a16de66fd119306456