Skip to content

Commit ffa00f9

Browse files
Get ready for the next version of executorlib (#263)
* 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>
1 parent b444e21 commit ffa00f9

File tree

7 files changed

+10
-12
lines changed

7 files changed

+10
-12
lines changed

.ci_support/environment-mpich.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ dependencies:
66
- mpich =4.2.3
77
- numpy =1.26.4
88
- mpi4py =4.0.1
9-
- executorlib =0.0.4
9+
- executorlib =0.0.5
1010
- ase =3.23.0
1111
- scipy =1.14.1

.ci_support/environment-old.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ dependencies:
55
- openmpi
66
- numpy =1.23.5
77
- mpi4py =3.1.4
8-
- executorlib =0.0.3
8+
- executorlib =0.0.5
99
- ase =3.23.0
1010
- scipy =1.9.3

.ci_support/environment-openmpi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ dependencies:
66
- openmpi =5.0.5
77
- numpy =1.26.4
88
- mpi4py =4.0.1
9-
- executorlib =0.0.4
9+
- executorlib =0.0.5
1010
- ase =3.23.0
1111
- scipy =1.14.1

pylammpsmpi/mpi/lmpmpi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from ctypes import c_double, c_int
77

88
import numpy as np
9-
from executorlib.shared import (
9+
from executorlib.standalone.interactive.communication import (
1010
interface_connect,
1111
interface_receive,
1212
interface_send,

pylammpsmpi/wrapper/concurrent.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
from queue import Queue
99
from typing import Any, List, Optional
1010

11-
from executorlib.shared import (
12-
MpiExecSpawner,
13-
RaisingThread,
14-
cancel_items_in_queue,
15-
interface_bootup,
16-
)
11+
from executorlib.standalone.interactive.communication import interface_bootup
12+
from executorlib.standalone.interactive.spawner import MpiExecSpawner
13+
from executorlib.standalone.queue import cancel_items_in_queue
14+
from executorlib.standalone.thread import RaisingThread
1715

1816
__author__ = "Sarath Menon, Jan Janssen"
1917
__copyright__ = (

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
]
2626
dependencies = [
2727
"mpi4py==4.0.1",
28-
"executorlib==0.0.4",
28+
"executorlib==0.0.5",
2929
"numpy==1.26.4",
3030
]
3131
dynamic = ["version"]

tests/test_executor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
22
from ase.build import bulk
33
from executorlib import Executor
4-
from executorlib.shared.executor import cloudpickle_register
4+
from executorlib.standalone.serialize import cloudpickle_register
55
from pylammpsmpi import LammpsASELibrary
66

77

0 commit comments

Comments
 (0)