2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
|
2021-01-10 13:40:19 +01:00
|
|
|
, blas, gfortran, openssh, mpi
|
2018-08-02 00:16:11 +02:00
|
|
|
} :
|
|
|
|
|
2021-07-17 19:56:23 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "globalarrays";
|
2021-07-17 19:56:23 +02:00
|
|
|
version = "5.8";
|
2018-08-02 00:16:11 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GlobalArrays";
|
|
|
|
repo = "ga";
|
|
|
|
rev = "v${version}";
|
2020-11-11 08:29:04 +01:00
|
|
|
sha256 = "0bky91ncz6vy0011ps9prsnq9f4a5s5xwr23kkmi39xzg0417mnd";
|
2018-08-02 00:16:11 +02:00
|
|
|
};
|
|
|
|
|
2019-02-20 00:02:04 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2021-01-10 13:40:19 +01:00
|
|
|
buildInputs = [ mpi blas gfortran openssh ];
|
2018-08-02 00:16:11 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlagsArray+=( "--enable-i8" \
|
|
|
|
"--with-mpi" \
|
|
|
|
"--with-mpi3" \
|
|
|
|
"--enable-eispack" \
|
|
|
|
"--enable-underscoring" \
|
2020-03-31 16:47:18 +02:00
|
|
|
"--with-blas8=${blas}/lib -lblas" )
|
2018-08-02 00:16:11 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2018-08-02 00:16:11 +02:00
|
|
|
description = "Global Arrays Programming Models";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://hpc.pnl.gov/globalarrays/";
|
2018-08-02 00:16:11 +02:00
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|