bscpkgs/bsc/garlic/default.nix

43 lines
894 B
Nix
Raw Normal View History

2020-07-24 13:24:30 +02:00
{
pkgs
, bsc
}:
let
callPackage = pkgs.lib.callPackageWith (pkgs // bsc // garlic);
callPackages = pkgs.lib.callPackagesWith (pkgs // bsc // garlic);
2020-07-27 11:14:33 +02:00
2020-07-24 13:24:30 +02:00
garlic = rec {
2020-08-10 15:27:46 +02:00
# Load some helper functions to generate app variants
inherit (import ./gen.nix) genApps genApp genConfigs;
mpptest = callPackage ./mpptest { };
2020-07-31 18:47:33 +02:00
ppong = callPackage ./ppong {
mpi = bsc.mpi;
};
2020-07-27 17:55:56 +02:00
nbody = callPackage ./nbody {
cc = pkgs.gcc7;
gitBranch = "garlic/seq";
};
2020-08-12 14:00:04 +02:00
sbatchWrapper = callPackage ./sbatch.nix { };
launcherWrapper = callPackage ./launcher.nix { };
controlWrapper = callPackage ./control.nix { };
nixsetupWrapper = callPackage ./nix-setup.nix { };
argvWrapper = callPackage ./argv.nix { };
2020-07-29 18:38:39 +02:00
2020-07-27 11:14:33 +02:00
exp = {
2020-08-10 15:27:46 +02:00
nbody = {
bs = callPackage ./exp/nbody/bs.nix {
inherit bsc;
};
2020-07-27 17:55:56 +02:00
};
};
2020-07-24 13:24:30 +02:00
};
2020-07-27 11:14:33 +02:00
2020-07-24 13:24:30 +02:00
in
garlic