From cf72d526ee13594c3dcc8bbea7b460b6c948fa89 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Fri, 24 Jul 2020 11:33:05 +0200 Subject: [PATCH] Add mpptest --- bsc/mpptest/default.nix | 16 ++++++++++++++++ default.nix | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 bsc/mpptest/default.nix diff --git a/bsc/mpptest/default.nix b/bsc/mpptest/default.nix new file mode 100644 index 0000000..39e187f --- /dev/null +++ b/bsc/mpptest/default.nix @@ -0,0 +1,16 @@ +{ + stdenv +, mpi +, fetchurl +}: + +stdenv.mkDerivation { + name = "mpptest"; + + src = fetchurl { + url = "ftp://ftp.mcs.anl.gov/pub/mpi/tools/perftest.tar.gz"; + sha256 = "11i22lq3pch3pvmhnbsgxzd8ap4yvpvlhy2f7k8x3krdwjhl0jvl"; + }; + + buildInputs = [ mpi ]; +} diff --git a/default.nix b/default.nix index df6f9a7..fd37fd4 100644 --- a/default.nix +++ b/default.nix @@ -114,6 +114,9 @@ let inherit mpi tampi; }; + mpptest = callPackage ./bsc/mpptest/default.nix { + }; + # Apps for Garlic nbody = callPackage ./bsc/apps/nbody/default.nix { stdenv = pkgs.gcc9Stdenv;