Skip to content

Commit 1f0be82

Browse files
authored
Merge pull request #2191 from SciML/myb/deadlock_fix
MultithreadedForm can cause deadlock
2 parents 4b66189 + 04c86c0 commit 1f0be82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ MacroTools = "0.5"
7979
NaNMath = "0.3, 1"
8080
RecursiveArrayTools = "2.3"
8181
Reexport = "0.2, 1"
82-
RuntimeGeneratedFunctions = "=0.5.9"
82+
RuntimeGeneratedFunctions = "0.5.9"
8383
SciMLBase = "1.76.1"
8484
Setfield = "0.7, 0.8, 1"
8585
SimpleNonlinearSolve = "0.1.0"

test/bigsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ maximum(J2 .- Array(J)) < 1e-5
8888

8989
jac = ModelingToolkit.sparsejacobian(vec(du), vec(u))
9090
serialjac = eval(ModelingToolkit.build_function(vec(jac), u)[2])
91-
multithreadedjac = eval(ModelingToolkit.build_function(vec(jac), u,
92-
parallel = ModelingToolkit.MultithreadedForm())[2])
91+
#multithreadedjac = eval(ModelingToolkit.build_function(vec(jac), u,
92+
# parallel = ModelingToolkit.MultithreadedForm())[2])
9393

9494
MyA = zeros(N, N)
9595
AMx = zeros(N, N)

0 commit comments

Comments
 (0)