Update experiments with cpusPerTask

Try to avoid manually setting the hardware specs and rather use
the hw attrset.
This commit is contained in:
2020-11-17 11:17:57 +01:00
parent 641e752bd5
commit 5e50ef19fe
7 changed files with 22 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ let
genConf = with bsc; c: targetMachine.config // rec {
expName = "saiph.granularity";
unitName = "${expName}.nbx-nby-nbz-${toString nbx}-${toString nby}-${toString nbz}";
inherit (targetMachine.config) hw;
# saiph options
nbx = c.nb;
@@ -34,7 +35,7 @@ let
time = "00:30:00";
ntasksPerNode = 1;
nodes = 1;
cpuBind = "sockets,verbose";
cpusPerTask = hw.cpusPerSocket;
jobName = "${unitName}-${gitBranch}";
};

View File

@@ -18,6 +18,7 @@ let
genConf = with bsc; c: targetMachine.config // rec {
expName = "saiph.numcomm";
unitName = "${expName}.nc-${toString numComm}";
inherit (targetMachine.config) hw;
# saiph options
inherit (c) numComm;
@@ -32,7 +33,7 @@ let
time = "02:00:00";
ntasksPerNode = 2;
nodes = 1;
cpuBind = "sockets,verbose";
cpusPerTask = hw.cpusPerSocket;
jobName = "saiph-${toString numComm}-${gitBranch}";
};