2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
|
2021-01-10 12:40:19 +00:00
|
|
|
, 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-01-24 11:24:39 +00:00
|
|
|
version = "5.8.1";
|
2018-08-01 22:16:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GlobalArrays";
|
|
|
|
repo = "ga";
|
|
|
|
rev = "v${version}";
|
2022-01-24 11:24:39 +00:00
|
|
|
sha256 = "sha256-IyHdeIUHu/T4lb/etGGnNB2guIspual8/v9eS807Qco=";
|
2018-08-01 22:16:11 +00:00
|
|
|
};
|
|
|
|
|
2021-09-03 11:33:32 +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" \
|
2020-03-31 14:47:18 +00:00
|
|
|
"--with-blas8=${blas}/lib -lblas" )
|
2018-08-01 22:16:11 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-08-01 22:16:11 +00:00
|
|
|
description = "Global Arrays Programming Models";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://hpc.pnl.gov/globalarrays/";
|
2018-08-01 22:16:11 +00:00
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|