Skip to content

Instantly share code, notes, and snippets.

@idontgetoutmuch
Last active December 4, 2019 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save idontgetoutmuch/f83b2805bd431f7e7cf7379b40bcd1c8 to your computer and use it in GitHub Desktop.
Save idontgetoutmuch/f83b2805bd431f7e7cf7379b40bcd1c8 to your computer and use it in GitHub Desktop.
{{ stdenv, fetchurl, gfortran, openmpi }:
stdenv.mkDerivation rec {
version = "2.11.2";
name = "hypre-${version}";
src = fetchurl {
url = "https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods/download/${name}.tar.gz";
sha256 = "17i6zgywcmgbmr7zxgc7shzqramg64a8kwswpdqkyn8ichic3di5";
};
buildInputs = [ gfortran openmpi ];
preConfigure = ''
cd src
'';
doCheck = true;
enableParallelBuilding = true;
meta = {
description = "HYPRE: Scalable Linear Solvers and Multigrid Methods";
homepage = http://https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.tuto ];
platforms = stdenv.lib.platforms.all;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment