bscpkgs/bsc/garlic/default.nix

64 lines
1.6 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-09-02 17:07:09 +02:00
runWrappers = {
sbatch = callPackage ./sbatch.nix { };
srun = callPackage ./srun.nix { };
launch = callPackage ./launcher.nix { };
control = callPackage ./control.nix { };
nixsetup= callPackage ./nix-setup.nix { };
argv = callPackage ./argv.nix { };
statspy = callPackage ./statspy.nix { };
extrae = callPackage ./extrae.nix { };
stagen = callPackage ./stagen.nix { };
};
2020-09-02 10:44:13 +02:00
# 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-09-03 16:19:52 +02:00
noise = callPackage ./exp/noise.nix { };
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