Skip to content

Commit

Permalink
add example usage of MPI in DistributedDaskProcessor documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDo1 committed Oct 16, 2024
1 parent e7a519c commit fd96d87
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions stgrid2area/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ def run(self, client: Client = None) -> None:
client = Client(cluster)
```
Example using MPI:
```python
from dask.distributed import Client
from dask_mpi import initialize
initialize()
client = Client()
```
"""
success = 0
Expand Down

0 comments on commit fd96d87

Please sign in to comment.