bscpkgs/bsc/apps/fwi/default.nix
2020-07-20 12:58:54 +02:00

34 lines
423 B
Nix

{
stdenv
, nanos6
, mpi
, tampi
, mcxx
, icc
}:
stdenv.mkDerivation rec {
name = "nbody";
src = builtins.fetchGit {
url = "https://gitlab.com/srodrb/BSC-FWI.git";
ref = "ompss";
};
postUnpack = "sourceRoot=$sourceRoot/3_ompss";
buildInputs = [
nanos6
mpi
icc
tampi
mcxx
];
installPhase = ''
mkdir -p $out/bin
cp fwi.* $out/bin
cp ModelGenerator $out/bin
'';
}