WIP: first serial experiment. Don't know how to add gcc to compile
This commit is contained in:
parent
a44042615a
commit
b5fb3730ac
@ -1,8 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, nanos6
|
|
||||||
, mpi
|
|
||||||
, tampi
|
|
||||||
, cc
|
, cc
|
||||||
, gitBranch ? "garlic/seq"
|
, gitBranch ? "garlic/seq"
|
||||||
, makefileName ? "Linux_Serial"
|
, makefileName ? "Linux_Serial"
|
||||||
@ -21,12 +18,14 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
nanos6
|
|
||||||
mpi
|
|
||||||
tampi
|
|
||||||
cc
|
cc
|
||||||
];
|
];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"CC=${cc.cc.CC}"
|
||||||
|
"CXX=${cc.cc.CXX}"
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
22
overlay.nix
22
overlay.nix
@ -258,19 +258,23 @@ let
|
|||||||
hybrid = callPackage ./garlic/exp/creams/ss+hybrid.nix { };
|
hybrid = callPackage ./garlic/exp/creams/ss+hybrid.nix { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
test = {
|
hpcg = {
|
||||||
exec = callPackage ./test/garlic/exec.nix {
|
serial = callPackage ./garlic/exp/hpcg/serial.nix { };
|
||||||
exec = self.bsc.garlic.stages.exec;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
osu = rec {
|
test = {
|
||||||
latency-internode = callPackage ./garlic/exp/osu/latency.nix { };
|
exec = callPackage ./test/garlic/exec.nix {
|
||||||
latency-intranode = callPackage ./garlic/exp/osu/latency.nix {
|
exec = self.bsc.garlic.stages.exec;
|
||||||
interNode = false;
|
};
|
||||||
|
|
||||||
|
osu = rec {
|
||||||
|
latency-internode = callPackage ./garlic/exp/osu/latency.nix { };
|
||||||
|
latency-intranode = callPackage ./garlic/exp/osu/latency.nix {
|
||||||
|
interNode = false;
|
||||||
|
};
|
||||||
|
latency = latency-internode;
|
||||||
};
|
};
|
||||||
latency = latency-internode;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user