bscpkgs/bsc/garlic/default.nix

47 lines
1.0 KiB
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;
2020-08-17 18:50:18 +02:00
inherit bsc;
2020-08-10 15:27:46 +02:00
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 { };
2020-08-17 18:50:18 +02:00
srunWrapper = callPackage ./srun.nix { };
launchWrapper = callPackage ./launcher.nix { };
2020-08-12 14:00:04 +02:00
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 = {
2020-08-17 18:50:18 +02:00
bs = callPackage ./exp/nbody/bs.nix { };
mpi = callPackage ./exp/nbody/mpi.nix { };
2020-07-27 17:55:56 +02:00
};
2020-08-18 18:28:30 +02:00
osu = {
latency = callPackage ./exp/osu/latency.nix { };
};
};
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