forked from rarias/bscpkgs
Use mask_cpu and n.x n.y n.z instead of n
This commit is contained in:
@@ -11,7 +11,7 @@ with stdenv.lib;
|
||||
let
|
||||
# Initial variable configuration
|
||||
varConf = with bsc; {
|
||||
n = [ 104 64 ];
|
||||
n = [ { x = 128; y = 256; z = 264; } ];
|
||||
};
|
||||
|
||||
# Generate the complete configuration for each unit
|
||||
@@ -27,11 +27,11 @@ let
|
||||
|
||||
# Resources
|
||||
qos = "debug";
|
||||
ntasksPerNode = 48;
|
||||
ntasksPerNode = 1;
|
||||
nodes = 1;
|
||||
time = "02:00:00";
|
||||
cpuBind = "sockets,verbose";
|
||||
jobName = "hpcg-${toString n}-${gitBranch}";
|
||||
cpuBind = "verbose,mask_cpu:0x1";
|
||||
jobName = "hpcg-${toString n.x}-${toString n.y}-${toString n.z}-${gitBranch}";
|
||||
};
|
||||
|
||||
# Compute the array of configurations
|
||||
@@ -42,9 +42,9 @@ let
|
||||
exec = {nextStage, conf, ...}: with conf; stages.exec {
|
||||
inherit nextStage;
|
||||
argv = [
|
||||
"--nx=${toString n}"
|
||||
"--ny=${toString n}"
|
||||
"--nz=${toString n}"
|
||||
"--nx=${toString n.x}"
|
||||
"--ny=${toString n.y}"
|
||||
"--nz=${toString n.z}"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user