Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jul 16, 2024
1 parent 299b275 commit 69fd3f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pacman/operations/placer_algorithms/application_placer.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,10 @@ def _check_could_fit(self, n_cores: int, plan_sdram: int):
if plan_sdram <= self.__max_sdram and n_cores <= self.__max_cores:
# should fit somewhere
return
message = (
message = \
f"{self.__app_vertex_label} will not fit on any possible Chip "
f"as a smae_chip_group ")

if n_cores > 1:
message += f" group has {n_cores=} "
version = PacmanDataView.get_machine_version()
if plan_sdram > self.__max_sdram:
message += f"requires {plan_sdram} bytes but "
Expand Down

0 comments on commit 69fd3f6

Please sign in to comment.