Add nbody package (not working yet)
This commit is contained in:
parent
9a5759c45e
commit
08a3512bf1
29
bsc/apps/nbody/default.nix
Normal file
29
bsc/apps/nbody/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
stdenv
|
||||||
|
, nanos6
|
||||||
|
, mpi
|
||||||
|
, tampi
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "nbody";
|
||||||
|
|
||||||
|
src = builtins.fetchGit {
|
||||||
|
url = "ssh://git@bscpm02.bsc.es/benchmarks/ompss-2/nbody-conflict-kevin.git";
|
||||||
|
#rev = "a8372abf9fc7cbc2db0778de80512ad4af244c29";
|
||||||
|
ref = "master";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
nanos6
|
||||||
|
mpi
|
||||||
|
tampi
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp nbody_* $out/bin/
|
||||||
|
'';
|
||||||
|
}
|
@ -73,6 +73,13 @@ let
|
|||||||
inherit mpi tampi;
|
inherit mpi tampi;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Apps for Garlic
|
||||||
|
nbody = callPackage ./bsc/apps/nbody/default.nix {
|
||||||
|
stdenv = pkgs.gcc9Stdenv;
|
||||||
|
inherit mpi tampi;
|
||||||
|
nanos6 = nanos6-git;
|
||||||
|
};
|
||||||
|
|
||||||
# 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";
|
||||||
|
Loading…
Reference in New Issue
Block a user