Skip to content

Commit

Permalink
use MPIPoolExecutor not MPICommExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Dec 12, 2024
1 parent 82de495 commit 5ddd556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/fastspecfit/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, nworkers, initializer=None, init_argdict=None, comm=None):

if nworkers > 1:
if comm is not None:
from mpi4py.futures import MPICommExecutor as Pool
from mpi4py.futures import MPIPoolExecutor as Pool
else:
from multiprocessing import Pool
self.pool = Pool(nworkers,
Expand Down

0 comments on commit 5ddd556

Please sign in to comment.