Skip to content

Commit da9dfa2

Browse files
0.29.15
multiprocessing
1 parent b5e999d commit da9dfa2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotpython"
10-
version = "0.29.14"
10+
version = "0.29.15"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotpython/spot/spot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import json
99
from numpy.random import default_rng
1010
from spotpython.design.spacefilling import SpaceFilling
11+
from multiprocessing import set_start_method
1112

1213
# old Kriging with attribute "name" kriging
1314
from spotpython.build.kriging import Kriging as OldKriging
@@ -55,6 +56,8 @@
5556
# matplotlib.use("TkAgg")
5657
# matplotlib.use("Agg")
5758

59+
# for multiprocessing:
60+
set_start_method("spawn")
5861

5962
logger = logging.getLogger(__name__)
6063
# configure the handler and formatter as needed

0 commit comments

Comments
 (0)