From 23afcb1315ee4188646df71a041929401c7a274b Mon Sep 17 00:00:00 2001 From: "Andrew S. Rosen" Date: Thu, 23 May 2024 13:35:43 -0700 Subject: [PATCH] Clarify docstring for `MPIExecutor` (#3455) As noted in https://github.com/Parsl/parsl/pull/3423#discussion_r1610611500, the docstring for `MPIExecutor` said `max_workers_per_block` should be less than `nodes_per_block` when in reality it should be less than or equal to. --- parsl/executors/high_throughput/mpi_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsl/executors/high_throughput/mpi_executor.py b/parsl/executors/high_throughput/mpi_executor.py index 4b2afee619..829319cbef 100644 --- a/parsl/executors/high_throughput/mpi_executor.py +++ b/parsl/executors/high_throughput/mpi_executor.py @@ -20,7 +20,7 @@ class MPIExecutor(HighThroughputExecutor): to spawn multi-node tasks. Specify the maximum number of multi-node tasks to run at once using ``max_workers_per_block``. - The maximum number should be smaller than the ``nodes_per_block`` in the Provider. + The value should be less than or equal to the ``nodes_per_block`` in the Provider. Parameters ----------