Fix saiph numcomm experiment
This commit is contained in:
parent
298c7362b3
commit
1b703bd431
@ -31,6 +31,7 @@ let
|
||||
qos = "debug";
|
||||
ntasksPerNode = 2;
|
||||
nodes = 1;
|
||||
time = "02:00:00";
|
||||
cpuBind = "sockets,verbose";
|
||||
jobName = "nbody-bs-${toString blocksize}-${gitBranch}";
|
||||
};
|
||||
@ -53,8 +54,7 @@ let
|
||||
inherit cc blocksize mpi gitBranch;
|
||||
};
|
||||
|
||||
pipeline = stdexp.stdUnitPre {sbatch=mySbatch;}
|
||||
++ [ exec program ];
|
||||
pipeline = stdexp.stdPipeline ++ [ exec program ];
|
||||
|
||||
in
|
||||
|
||||
|
@ -9,31 +9,34 @@
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
# Configurations for each unit (using the cartesian product)
|
||||
confUnit = with bsc; {
|
||||
# Initial variable configuration
|
||||
varConf = with bsc; {
|
||||
numComm = [ 1 2 ];
|
||||
};
|
||||
|
||||
# Configuration for the complete experiment
|
||||
confExperiment = with bsc; {
|
||||
# Generate the complete configuration for each unit
|
||||
genConf = with bsc; c: targetMachine.config // rec {
|
||||
# saiph options
|
||||
devMode = false;
|
||||
inherit (c) numComm;
|
||||
mpi = impi;
|
||||
gitBranch = "garlic/tampi+isend+oss+task+simd";
|
||||
|
||||
# Repeat the execution of each unit 30 times
|
||||
# Repeat the execution of each unit 100 times
|
||||
loops = 100;
|
||||
|
||||
# Resources
|
||||
qos = "debug";
|
||||
time = "02:00:00";
|
||||
ntasksPerNode = 2;
|
||||
nodes = 1;
|
||||
cpuBind = "sockets,verbose";
|
||||
jobName = "saiph-${toString numComm}-${gitBranch}";
|
||||
};
|
||||
|
||||
# Compute the array of configurations
|
||||
configs = stdexp.buildConfigs {
|
||||
var = confUnit;
|
||||
fixed = targetMachine.config // confExperiment;
|
||||
inherit varConf genConf;
|
||||
};
|
||||
|
||||
exec = {nextStage, conf, ...}: with conf; stages.exec {
|
||||
@ -54,7 +57,7 @@ let
|
||||
inherit devMode numComm mpi gitBranch;
|
||||
};
|
||||
|
||||
pipeline = stdexp.stdStages ++ [ exec program ];
|
||||
pipeline = stdexp.stdPipeline ++ [ exec program ];
|
||||
|
||||
in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user