From 726aaab8d97188632790780bcbae103241f78e48 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Wed, 25 Oct 2023 11:12:17 +0200 Subject: [PATCH] Remove ranks-cpus warning as can be inaccurate (#66) The warning is misleading and causes users to run simulation with more resources than needed. Since the magic cutoff is neither a lower bound, nor an upper bound (by many orders of magnitude), we should simply not print anything. For cases where resource consumption is hard to estimate we encourage user to try the new dry-run --- neurodamus/node.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/neurodamus/node.py b/neurodamus/node.py index 08ad4d6b..bccf243e 100644 --- a/neurodamus/node.py +++ b/neurodamus/node.py @@ -369,13 +369,6 @@ def compute_load_balance(self): # Info about the cells to be distributed target_spec = TargetSpec(circuit.CircuitTarget) target = self.target_manager.get_target(target_spec) - cell_count = None - - if not target.is_void(): - cell_count = target.gid_count() - if cell_count > 100 * MPI.size: - logging.warning("Your simulation has a very high count of cells per CPU. " - "Please consider launching it in a larger MPI cluster") # Check / set load balance mode lb_mode = LoadBalance.select_lb_mode(SimConfig, self._run_conf, target)