Merge pull request #86132 from markuskowa/in-hpcg

hpcg: init at 3.1
This commit is contained in:
Benjamin Hipple 2020-05-02 14:42:15 -04:00 committed by GitHub
commit f4558a9ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchurl, openmpi } :
stdenv.mkDerivation rec {
pname = "hpcg";
version = "3.1";
src = fetchurl {
url = "http://www.hpcg-benchmark.org/downloads/${pname}-${version}.tar.gz";
sha256 = "197lw2nwmzsmfsbvgvi8z7kj69n374kgfzzp8pkmk7mp2vkk991k";
};
dontConfigure = true;
enableParallelBuilding = true;
buildInputs = [ openmpi ];
makeFlags = [ "arch=Linux_MPI" ];
installPhase = ''
mkdir -p $out/bin $out/share/hpcg
cp bin/xhpcg $out/bin
cp bin/hpcg.dat $out/share/hpcg
'';
meta = with stdenv.lib; {
description = "HPC conjugate gradient benchmark";
homepage = "https://www.hpcg-benchmark.org";
platforms = platforms.linux;
license = licenses.bsd3;
maintainers = [ maintainers.markuskowa ];
};
}

View File

@ -19839,6 +19839,8 @@ in
howl = callPackage ../applications/editors/howl { };
hpcg = callPackage ../tools/misc/hpcg/default.nix { };
hpl = callPackage ../tools/misc/hpl { mpi = openmpi; };
hpmyroom = libsForQt5.callPackage ../applications/networking/hpmyroom { };