fwi: fix inverted resources

This commit is contained in:
Rodrigo Arias Mallo 2021-04-12 19:31:35 +02:00
parent 6422741cb7
commit 59040d9355

View File

@ -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, ...}: