Skip to content

Commit

Permalink
Tweak language a little more
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Sep 18, 2023
1 parent 764088e commit 196641e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dask_mpi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def main(
if scheduler and world_size < 2:
raise WorldTooSmallException(
f"Not enough MPI ranks to start cluster, found {world_size}, "
"needs at least 2, one for the scheduler and a worker."
"needs at least 2, one each for the scheduler and a worker."
)

rank = comm.Get_rank()
Expand Down
2 changes: 1 addition & 1 deletion dask_mpi/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def initialize(
if world_size < 3:
raise WorldTooSmallException(
f"Not enough MPI ranks to start cluster, found {world_size}, "
"needs 3 or more, one for the scheduler, client and a worker."
"needs at least 3, one each for the scheduler, client and a worker."
)

rank = comm.Get_rank()
Expand Down

0 comments on commit 196641e

Please sign in to comment.