Package Details: hypre 2.32.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: 5
Popularity: 0.008543
First Submitted: 2015-09-29 15:20 (UTC)
Last Updated: 2024-10-09 07:58 (UTC)

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2023-11-11 19:26 (UTC)

Hi @Alad, this issue happens because the system has parmetis fork of PETSc and not Karypis Lab which depends on gklib. Please, try with parmetis-git.

Alad commented on 2023-11-10 11:01 (UTC)

In file included from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/GKlib.h:66,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/./parmetislib.h:19,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/ametis.c:15:
/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/gk_externs.h:20:10: fatal error: gklib_tls.h: No such file or directory
   20 | #include <gklib_tls.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/GKlib.h:66,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/./parmetislib.h:19,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/akwayfm.c:14:
/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/gk_externs.h:20:10: fatal error: gklib_tls.h: No such file or directory
   20 | #include <gklib_tls.h>
      |          ^~~~~~~~~~~~~
In file included from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/GKlib.h:66,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/./parmetislib.h:19,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/ComputeVertexSeparator.c:5:
/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/gk_externs.h:20:10: fatal error: gklib_tls.h: No such file or directory
   20 | #include <gklib_tls.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
compilation terminated.
In file included from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/GKlib.h:66,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/./parmetislib.h:19,
                 from /home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/balancemylink.c:14:
/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/gk_externs.h:20:10: fatal error: gklib_tls.h: No such file or directory
   20 | #include <gklib_tls.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [libparmetis/CMakeFiles/parmetis.dir/build.make:107: libparmetis/CMakeFiles/parmetis.dir/ametis.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libparmetis/CMakeFiles/parmetis.dir/build.make:79: libparmetis/CMakeFiles/parmetis.dir/ComputeVertexSeparator.c.o] Error 1
make[3]: *** [libparmetis/CMakeFiles/parmetis.dir/build.make:93: libparmetis/CMakeFiles/parmetis.dir/akwayfm.c.o] Error 1
make[3]: *** [libparmetis/CMakeFiles/parmetis.dir/build.make:121: libparmetis/CMakeFiles/parmetis.dir/balancemylink.c.o] Error 1
make[3]: Leaving directory '/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/build/Linux-x86_64'
make[2]: *** [CMakeFiles/Makefile2:119: libparmetis/CMakeFiles/parmetis.dir/all] Error 2
make[2]: Leaving directory '/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/build/Linux-x86_64'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/home/user/.cache/aurutils/sync/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/build/Linux-x86_64'
make: *** [Makefile:71: all] Error 2

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.