2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
|
|
|
|
, blas, gfortran, openssh, mpi
|
2020-04-24 23:36:52 +00:00
|
|
|
} :
|
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "globalarrays";
|
2021-07-18 21:22:44 +00:00
|
|
|
version = "5.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GlobalArrays";
|
|
|
|
repo = "ga";
|
|
|
|
rev = "v${version}";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "0bky91ncz6vy0011ps9prsnq9f4a5s5xwr23kkmi39xzg0417mnd";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook gfortran ];
|
|
|
|
buildInputs = [ mpi blas openssh ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlagsArray+=( "--enable-i8" \
|
|
|
|
"--with-mpi" \
|
|
|
|
"--with-mpi3" \
|
|
|
|
"--enable-eispack" \
|
|
|
|
"--enable-underscoring" \
|
|
|
|
"--with-blas8=${blas}/lib -lblas" )
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Global Arrays Programming Models";
|
|
|
|
homepage = "http://hpc.pnl.gov/globalarrays/";
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|