fwi: fix inverted resources
This commit is contained in:
parent
6422741cb7
commit
59040d9355
@ -33,11 +33,11 @@ rec {
|
|||||||
|
|
||||||
getResources = {gitBranch, hw}:
|
getResources = {gitBranch, hw}:
|
||||||
if (gitBranch == "garlic/mpi+send+seq") then {
|
if (gitBranch == "garlic/mpi+send+seq") then {
|
||||||
cpusPerTask = hw.cpusPerSocket;
|
|
||||||
ntasksPerNode = hw.socketsPerNode;
|
|
||||||
} else {
|
|
||||||
cpusPerTask = 1;
|
cpusPerTask = 1;
|
||||||
ntasksPerNode = hw.cpusPerNode;
|
ntasksPerNode = hw.cpusPerNode;
|
||||||
|
} else {
|
||||||
|
cpusPerTask = hw.cpusPerSocket;
|
||||||
|
ntasksPerNode = hw.socketsPerNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
exec = {nextStage, conf, ...}:
|
exec = {nextStage, conf, ...}:
|
||||||
|
Loading…
Reference in New Issue
Block a user