Browse Source

Reduce slots to real nr of cores

main
Dustin Frisch 9 months 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" = {
text = concatMapStringsSep "\n"
(node: "${node.config.networking.hostName} max_slots=64")
(node: "${node.config.networking.hostName} max_slots=32")
(filter
(node: elem "node" node.config.deployment.tags)
(attrValues nodes));

Loading…
Cancel
Save