creams: add more nodes for granularity experiments

This commit is contained in:
Pedro Martinez
2021-03-05 14:46:48 +01:00
parent 8a81c6bfba
commit a55019c6ef
9 changed files with 404 additions and 16 deletions

View File

@@ -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