Add lulesh app

This commit is contained in:
Rodrigo Arias 2020-07-13 14:09:20 +02:00
parent 99b716db87
commit 3298c5442c
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{
stdenv
, mpi
, mcxx
, icc
}:
stdenv.mkDerivation rec {
name = "lulesh";
src = builtins.fetchGit {
url = "ssh://git@bscpm02.bsc.es/mmaronas/lulesh.git";
ref = "master";
};
dontConfigure = true;
buildInputs = [
mpi
icc
mcxx
];
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
find . -name 'lulesh*' -type f -executable -exec cp \{\} $out/bin/ \;
'';
}

View File

@ -145,6 +145,10 @@ let
nanos6 = nanos6-git; nanos6 = nanos6-git;
}; };
lulesh = callPackage ./bsc/apps/lulesh/default.nix {
mpi = intel-mpi;
};
# Patched nix for deep cluster # Patched nix for deep cluster
inherit (callPackage ./bsc/nix/default.nix { inherit (callPackage ./bsc/nix/default.nix {
storeDir = "/nix/store"; storeDir = "/nix/store";