Skip to content

Commit

Permalink
Change Executor Name
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Apr 29, 2024
1 parent a08b538 commit 66cacda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyiron_base/jobs/datamining.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def update_table(self, job_status_list=None):
self.project.db.item_update({"timestart": datetime.now()}, self.job_id)
with self.project_hdf5.open("input") as hdf5_input:
if self._executor_type is None and self.server.cores > 1:
self._executor_type = "pympipool.mpi.executor.PyMPIExecutor"
self._executor_type = "pympipool.Executor"
if self._executor_type is not None:
with self._get_executor(max_workers=self.server.cores) as exe:
self._pyiron_table.create_table(
Expand Down
2 changes: 1 addition & 1 deletion pyiron_base/jobs/job/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ def _get_executor(self, max_workers=None):
"No executor type defined - Please set self.executor_type."
)
elif (
self._executor_type == "pympipool.mpi.executor.PyMPIExecutor"
self._executor_type == "pympipool.Executor"
and platform.system() == "Darwin"
):
# The Mac firewall might prevent connections based on the network address - especially Github CI
Expand Down

0 comments on commit 66cacda

Please sign in to comment.