Add fwi app

This commit is contained in:
Rodrigo Arias 2020-07-20 12:58:54 +02:00
parent 81bcf20419
commit c50158e3be
2 changed files with 36 additions and 0 deletions

33
bsc/apps/fwi/default.nix Normal file
View File

@ -0,0 +1,33 @@
{
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
'';
}

View File

@ -157,6 +157,9 @@ let
hpccg = callPackage ./bsc/apps/hpccg/default.nix { hpccg = callPackage ./bsc/apps/hpccg/default.nix {
}; };
fwi = callPackage ./bsc/apps/fwi/default.nix {
};
# 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";