Skip to content

Commit

Permalink
Get ready for the next version of executorlib (#263)
Browse files Browse the repository at this point in the history
* Get ready for the next version of executorlib

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update environment-mpich.yml

* Update environment-openmpi.yml

* Update environment-old.yml

* Update pyproject.toml

* Update concurrent.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update test_executor.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
jan-janssen and pre-commit-ci[bot] authored Nov 20, 2024
1 parent b444e21 commit ffa00f9
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
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.4
- executorlib =0.0.5
- ase =3.23.0
- scipy =1.14.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.3
- executorlib =0.0.5
- 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.4
- executorlib =0.0.5
- ase =3.23.0
- scipy =1.14.1
2 changes: 1 addition & 1 deletion pylammpsmpi/mpi/lmpmpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ctypes import c_double, c_int

import numpy as np
from executorlib.shared import (
from executorlib.standalone.interactive.communication import (
interface_connect,
interface_receive,
interface_send,
Expand Down
10 changes: 4 additions & 6 deletions pylammpsmpi/wrapper/concurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
from queue import Queue
from typing import Any, List, Optional

from executorlib.shared import (
MpiExecSpawner,
RaisingThread,
cancel_items_in_queue,
interface_bootup,
)
from executorlib.standalone.interactive.communication import interface_bootup
from executorlib.standalone.interactive.spawner import MpiExecSpawner
from executorlib.standalone.queue import cancel_items_in_queue
from executorlib.standalone.thread import RaisingThread

__author__ = "Sarath Menon, Jan Janssen"
__copyright__ = (
Expand Down
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.4",
"executorlib==0.0.5",
"numpy==1.26.4",
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_executor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
from ase.build import bulk
from executorlib import Executor
from executorlib.shared.executor import cloudpickle_register
from executorlib.standalone.serialize import cloudpickle_register
from pylammpsmpi import LammpsASELibrary


Expand Down

0 comments on commit ffa00f9

Please sign in to comment.