Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6b21541772e4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f4558a9ac3fe
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 27, 2020

  1. hpcg: init at 3.1

    markuskowa committed Apr 27, 2020
    Copy the full SHA
    9d5375f View commit details

Commits on May 2, 2020

  1. Merge pull request #86132 from markuskowa/in-hpcg

    hpcg: init at 3.1
    bhipple authored May 2, 2020
    Copy the full SHA
    f4558a9 View commit details
Showing with 37 additions and 0 deletions.
  1. +35 −0 pkgs/tools/misc/hpcg/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
35 changes: 35 additions & 0 deletions pkgs/tools/misc/hpcg/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };