30 lines
423 B
Nix
30 lines
423 B
Nix
{
|
|
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/
|
|
'';
|
|
}
|