From f8122f3c8b1c8ca86b446ee9a721e7c5a56251f7 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 18 Mar 2021 20:06:53 +0100 Subject: [PATCH] heat: use the hcut tool to limit the cpus --- garlic/exp/heat/granul.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/garlic/exp/heat/granul.nix b/garlic/exp/heat/granul.nix index 70bcd31..dbf3147 100644 --- a/garlic/exp/heat/granul.nix +++ b/garlic/exp/heat/granul.nix @@ -94,8 +94,8 @@ let ${bsc.cn6}/bin/cn6 -s $tracedir - ${bsc.cn6}/bin/cut $begin $end \ - < $tracedir/prv/trace.prv \ + ${bsc.cn6}/bin/cut $begin $end < $tracedir/prv/trace.prv |\ + ${bsc.cn6}/bin/hcut 1 ${toString conf.cpusPerTask} \ > $tracedir/prv/trace-cut.prv ${bsc.cn6}/bin/dur 6400025 0 < $tracedir/prv/trace-cut.prv |\