bscpkgs/bsc/apps/saiph/default.nix
Rodrigo Arias Mallo a1f33444b5 Testing saiph app
2020-06-30 12:19:36 +02:00

46 lines
602 B
Nix

{
stdenv
, nanos6
, mpi
, tampi
, mcxx
, vtk
, boost
}:
stdenv.mkDerivation rec {
name = "nbody";
src = builtins.fetchGit {
url = "ssh://git@bscpm02.bsc.es/DSLs/saiph.git";
#rev = "a8372abf9fc7cbc2db0778de80512ad4af244c29";
ref = "VectorisationSupport";
};
#dontStrip = true;
# preBuild = ''
# cd saiphv2/cpp/src
# '';
buildInputs = [
nanos6
mpi
tampi
mcxx
vtk
boost
];
buildPhase = ''
pwd
cd saiphv2/cpp/src
make -f Makefile.clang apps=ExHeat
'';
installPhase = ''
mkdir -p $out/bin
#cp nbody_* $out/bin/
'';
}