From 4f0da10321723cb5d05c541b9ada3c8f2e5c70a7 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 18 Nov 2020 15:51:04 +0100 Subject: [PATCH] bigsort: Use cpusPerTask instead of cpuBind --- garlic/exp/bigsort/mpi+omp.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/garlic/exp/bigsort/mpi+omp.nix b/garlic/exp/bigsort/mpi+omp.nix index 7622349..553f8d1 100644 --- a/garlic/exp/bigsort/mpi+omp.nix +++ b/garlic/exp/bigsort/mpi+omp.nix @@ -19,6 +19,7 @@ let genConf = with bsc; c: targetMachine.config // rec { expName = "bigsort.mpi+omp"; unitName = "${expName}.bs${toString bs}"; + inherit (targetMachine.config) hw; # hpcg options n = c.n; @@ -35,8 +36,8 @@ let ntasksPerNode = 1; nodes = 1; time = "01:00:00"; - # task in one socket - cpuBind = "verbose,mask_cpu:0xffffff"; + # All CPUs of the socket to each task + cpusPerTask = hw.cpusPerSocket; jobName = "bigsort-${toString n}-${toString bs}-${gitBranch}"; };