Add fwi app
This commit is contained in:
parent
81bcf20419
commit
c50158e3be
33
bsc/apps/fwi/default.nix
Normal file
33
bsc/apps/fwi/default.nix
Normal 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
|
||||
'';
|
||||
}
|
@ -157,6 +157,9 @@ let
|
||||
hpccg = callPackage ./bsc/apps/hpccg/default.nix {
|
||||
};
|
||||
|
||||
fwi = callPackage ./bsc/apps/fwi/default.nix {
|
||||
};
|
||||
|
||||
# Patched nix for deep cluster
|
||||
inherit (callPackage ./bsc/nix/default.nix {
|
||||
storeDir = "/nix/store";
|
||||
|
Loading…
Reference in New Issue
Block a user