diff --git a/pyiron_base/jobs/job/generic.py b/pyiron_base/jobs/job/generic.py index babee8b4e..2fe04e878 100644 --- a/pyiron_base/jobs/job/generic.py +++ b/pyiron_base/jobs/job/generic.py @@ -1557,8 +1557,11 @@ def _get_executor(self, max_workers=None): ): # The Mac firewall might prevent connections based on the network address - especially Github CI return import_class(self._executor_type)( - max_workers=max_workers, hostname_localhost=True + max_cores=max_workers, hostname_localhost=True ) + elif self._executor_type == "pympipool.Executor": + # The pympipool Executor defines max_cores rather than max_workers + return import_class(self._executor_type)(max_cores=max_workers) elif isinstance(self._executor_type, str): return import_class(self._executor_type)(max_workers=max_workers) else: