Intra/inter node latency tests
This commit is contained in:
parent
c70d35cd50
commit
14684040a5
@ -36,8 +36,12 @@ let
|
|||||||
bs = callPackage ./exp/nbody/bs.nix { };
|
bs = callPackage ./exp/nbody/bs.nix { };
|
||||||
mpi = callPackage ./exp/nbody/mpi.nix { };
|
mpi = callPackage ./exp/nbody/mpi.nix { };
|
||||||
};
|
};
|
||||||
osu = {
|
osu = rec {
|
||||||
latency = callPackage ./exp/osu/latency.nix { };
|
latency-internode = callPackage ./exp/osu/latency.nix { };
|
||||||
|
latency-intranode = callPackage ./exp/osu/latency.nix {
|
||||||
|
interNode = false;
|
||||||
|
};
|
||||||
|
latency = latency-internode;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -10,6 +10,12 @@
|
|||||||
, argvWrapper
|
, argvWrapper
|
||||||
, controlWrapper
|
, controlWrapper
|
||||||
, nixsetupWrapper
|
, nixsetupWrapper
|
||||||
|
|
||||||
|
# Should we test the network (true) or the shared memory (false)?
|
||||||
|
, interNode ? true
|
||||||
|
|
||||||
|
# Enable multiple threads?
|
||||||
|
, multiThread ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -19,8 +25,8 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
ntasksPerNode = 1;
|
nodes = if interNode then 2 else 1;
|
||||||
nodes = 2;
|
ntasksPerNode = if interNode then 1 else 2;
|
||||||
time = "00:10:00";
|
time = "00:10:00";
|
||||||
qos = "debug";
|
qos = "debug";
|
||||||
};
|
};
|
||||||
@ -31,7 +37,7 @@ let
|
|||||||
sbatch = conf: app: sbatchWrapper {
|
sbatch = conf: app: sbatchWrapper {
|
||||||
app = app;
|
app = app;
|
||||||
nixPrefix = "/gpfs/projects/bsc15/nix";
|
nixPrefix = "/gpfs/projects/bsc15/nix";
|
||||||
exclusive = false;
|
exclusive = true;
|
||||||
ntasksPerNode = "${toString conf.ntasksPerNode}";
|
ntasksPerNode = "${toString conf.ntasksPerNode}";
|
||||||
nodes = "${toString conf.nodes}";
|
nodes = "${toString conf.nodes}";
|
||||||
time = conf.time;
|
time = conf.time;
|
||||||
@ -58,7 +64,7 @@ let
|
|||||||
with conf;
|
with conf;
|
||||||
bsc.osumb.override { inherit mpi; };
|
bsc.osumb.override { inherit mpi; };
|
||||||
|
|
||||||
pipeline = conf: srun (nixsetupWrapper (argv (osumbFn conf)));
|
pipeline = conf: sbatch conf (srun (nixsetupWrapper (argv (osumbFn conf))));
|
||||||
#pipeline = conf: sbatch conf (srun (nixsetupWrapper (argv bsc.osumb)));
|
#pipeline = conf: sbatch conf (srun (nixsetupWrapper (argv bsc.osumb)));
|
||||||
|
|
||||||
# Ideally it should look like this:
|
# Ideally it should look like this:
|
||||||
|
Loading…
Reference in New Issue
Block a user