From 59040d93552c43e5b34355d1abd542f6f1f19a05 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 12 Apr 2021 19:31:35 +0200 Subject: [PATCH] fwi: fix inverted resources --- garlic/exp/fwi/common.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/garlic/exp/fwi/common.nix b/garlic/exp/fwi/common.nix index e9a6d41..0aea88c 100644 --- a/garlic/exp/fwi/common.nix +++ b/garlic/exp/fwi/common.nix @@ -33,11 +33,11 @@ rec { getResources = {gitBranch, hw}: if (gitBranch == "garlic/mpi+send+seq") then { - cpusPerTask = hw.cpusPerSocket; - ntasksPerNode = hw.socketsPerNode; - } else { cpusPerTask = 1; ntasksPerNode = hw.cpusPerNode; + } else { + cpusPerTask = hw.cpusPerSocket; + ntasksPerNode = hw.socketsPerNode; }; exec = {nextStage, conf, ...}: