bscpkgs/bsc/garlic/default.nix

60 lines
1.5 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 {
2020-08-25 18:38:31 +02:00
cc = bsc.icc;
mpi = bsc.impi;
2020-07-27 17:55:56 +02:00
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-09-02 10:44:13 +02:00
statspyWrapper = callPackage ./statspy.nix { };
extraeWrapper = callPackage ./extrae.nix { };
# Perf is tied to a linux kernel specific version
linuxPackages = bsc.linuxPackages_4_4;
perfWrapper = callPackage ./perf.nix {
perf = linuxPackages.perf;
};
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-19 11:07:21 +02:00
osu = rec {
latency-internode = callPackage ./exp/osu/latency.nix { };
latency-intranode = callPackage ./exp/osu/latency.nix {
interNode = false;
};
latency = latency-internode;
2020-08-18 18:28:30 +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