nixpkgs/pkgs/development/libraries/globalarrays/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1023 B
Nix
Raw Normal View History

{ lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
, blas, gfortran, openssh, mpi
2018-08-01 22:16:11 +00:00
} :
2021-07-17 17:56:23 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "globalarrays";
2022-11-05 16:00:05 +00:00
version = "5.8.2";
2018-08-01 22:16:11 +00:00
src = fetchFromGitHub {
owner = "GlobalArrays";
repo = "ga";
rev = "v${version}";
2022-11-05 16:00:05 +00:00
sha256 = "sha256-2ffQIg9topqKX7ygnWaa/UunL9d0Lj9qr9xucsjLuoY=";
2018-08-01 22:16:11 +00:00
};
nativeBuildInputs = [ autoreconfHook gfortran ];
buildInputs = [ mpi blas openssh ];
2018-08-01 22:16:11 +00:00
preConfigure = ''
configureFlagsArray+=( "--enable-i8" \
"--with-mpi" \
"--with-mpi3" \
"--enable-eispack" \
"--enable-underscoring" \
"--with-blas8=${blas}/lib -lblas" )
2018-08-01 22:16:11 +00:00
'';
enableParallelBuilding = true;
meta = with lib; {
2018-08-01 22:16:11 +00:00
description = "Global Arrays Programming Models";
homepage = "http://hpc.pnl.gov/globalarrays/";
2018-08-01 22:16:11 +00:00
maintainers = [ maintainers.markuskowa ];
license = licenses.bsd3;
platforms = platforms.linux;
};
}