Browse Source

Reduce slots to real nr of cores

main
Dustin Frisch 1 year ago
parent
commit
e7359ebeba
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 2
      machines/manager/mpi.nix

2
machines/manager/mpi.nix

@ -5,7 +5,7 @@ with lib;
{ {
environment.etc."mpi/hosts" = { environment.etc."mpi/hosts" = {
text = concatMapStringsSep "\n" text = concatMapStringsSep "\n"
(node: "${node.config.networking.hostName} max_slots=64")
(node: "${node.config.networking.hostName} max_slots=32")
(filter (filter
(node: elem "node" node.config.deployment.tags) (node: elem "node" node.config.deployment.tags)
(attrValues nodes)); (attrValues nodes));

Loading…
Cancel
Save