bscpkgs/bsc/garlic/default.nix

32 lines
594 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
# Load some helper functions to generate app variants
inherit (import ./gen.nix) genApps genConfigs;
2020-07-24 13:24:30 +02:00
garlic = rec {
mpptest = callPackage ./mpptest { };
ppong = callPackage ./ppong { };
2020-07-27 11:14:33 +02:00
exp = {
mpiImpl = callPackage ./experiments {
apps = genApps [ ppong ] (
genConfigs {
mpi = [ bsc.intel-mpi pkgs.mpich pkgs.openmpi ];
}
);
};
};
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