Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci_support/environment-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ dependencies:
- mpich =4.2.3
- numpy =1.26.4
- mpi4py =4.0.1
- executorlib =0.0.10
- executorlib =0.1.0
- ase =3.24.0
- scipy =1.15.1
2 changes: 1 addition & 1 deletion .ci_support/environment-old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ dependencies:
- openmpi
- numpy =1.23.5
- mpi4py =3.1.4
- executorlib =0.0.5
- executorlib =0.1.0
- ase =3.23.0
- scipy =1.9.3
2 changes: 1 addition & 1 deletion .ci_support/environment-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ dependencies:
- openmpi =5.0.5
- numpy =1.26.4
- mpi4py =4.0.1
- executorlib =0.0.10
- executorlib =0.1.0
- ase =3.24.0
- scipy =1.15.1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
]
dependencies = [
"mpi4py==4.0.1",
"executorlib==0.0.10",
"executorlib==0.1.0",
"numpy==1.26.4",
]
dynamic = ["version"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_executor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from ase.build import bulk
from executorlib import Executor
from executorlib import SingleNodeExecutor
from executorlib.standalone.serialize import cloudpickle_register
from pylammpsmpi import LammpsASELibrary

Expand Down Expand Up @@ -38,7 +38,7 @@ def calc_lmp(structure):

class TestWithExecutor(unittest.TestCase):
def test_executor(self):
with Executor(max_cores=2, backend="local", hostname_localhost=True) as exe:
with SingleNodeExecutor(max_workers=2, hostname_localhost=True) as exe:
cloudpickle_register(ind=1)
future = exe.submit(calc_lmp, bulk("Al", cubic=True).repeat([2, 2, 2]))
energy = future.result()
Expand Down
Loading