forked from rarias/bscpkgs
creams: add more nodes for granularity experiments
This commit is contained in:
@@ -21,8 +21,6 @@ let
|
||||
{ nodes=1 ; nprocz=2 ; granul= 9; time= "02:00:00"; }
|
||||
{ nodes=1 ; nprocz=2 ; granul= 5; time= "02:00:00"; }
|
||||
{ nodes=1 ; nprocz=2 ; granul= 4; time= "02:00:00"; }
|
||||
{ nodes=1 ; nprocz=2 ; granul= 2; time= "02:00:00"; }
|
||||
{ nodes=1 ; nprocz=2 ; granul= 1; time= "02:00:00"; }
|
||||
];
|
||||
|
||||
gitBranch = [
|
||||
@@ -81,9 +79,22 @@ let
|
||||
preSrun = ''
|
||||
cp -r ${input}/SodTubeBenchmark/* .
|
||||
chmod +w -R .
|
||||
rm -f nanos6.toml
|
||||
'';
|
||||
};
|
||||
|
||||
exec = {nextStage, conf, ...}: with conf; stages.exec {
|
||||
inherit nextStage;
|
||||
env = ''
|
||||
export NANOS6_CONFIG_OVERRIDE="version.dependencies=regions"
|
||||
'';
|
||||
|
||||
# Remove restarts as is not needed and is huge
|
||||
post = ''
|
||||
rm -rf restarts || true
|
||||
'';
|
||||
};
|
||||
|
||||
# Creams program
|
||||
creams = {nextStage, conf, ...}: with conf;
|
||||
let
|
||||
@@ -98,7 +109,7 @@ let
|
||||
# Replace the stdandard srun stage with our own
|
||||
srun = customSrun;
|
||||
};
|
||||
} ++ [ creams ];
|
||||
} ++ [ exec creams ];
|
||||
|
||||
in
|
||||
|
||||
|
||||
Reference in New Issue
Block a user