-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
** On entry to ZHEEVR parameter number 15 had an illegal value
sdp_quantum_relative_entropy1_fullrank: Error During Test at /Users/eph/Convex.jl/src/problem_depot/problems/sdp.jl:1492
Test threw exception
Expression: ≈(p.optval, evaluate(quantum_relative_entropy(A, B)), atol = atol, rtol = rtol)
ArgumentError: invalid argument #15 to LAPACK call
Stacktrace:
[1] chklapackerror
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/LinearAlgebra/src/lapack.jl:38 [inlined]
[2] syevr!(jobz::Char, range::Char, uplo::Char, A::Matrix{ComplexF64}, vl::Float64, vu::Float64, il::Int64, iu::Int64, abstol::Float64)
@ LinearAlgebra.LAPACK ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/LinearAlgebra/src/lapack.jl:5274
[3] #eigen!#204
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/LinearAlgebra/src/symmetriceigen.jl:8 [inlined]
[4] eigen!
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/LinearAlgebra/src/symmetriceigen.jl:8 [inlined]
[5] eigen
@ ~/.julia/packages/GenericLinearAlgebra/skQkq/src/eigenSelfAdjoint.jl:654 [inlined]
[6] log(A::LinearAlgebra.Hermitian{ComplexF64, Matrix{ComplexF64}})
@ LinearAlgebra ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/LinearAlgebra/src/symmetric.jl:843
[7] quantum_relative_entropy(A::Matrix{ComplexF64}, B::Matrix{ComplexF64}, m::Int64, k::Int64, nullspace_tol::Float64)
@ Convex ~/Convex.jl/src/atoms/sdp_cone/quantum_relative_entropy.jl:190
[8] quantum_relative_entropy(A::Matrix{ComplexF64}, B::Matrix{ComplexF64})
@ Convex ~/Convex.jl/src/atoms/sdp_cone/quantum_relative_entropy.jl:158
[9] evaluate(atom::Convex.QuantumRelativeEntropy1)
@ Convex ~/Convex.jl/src/atoms/sdp_cone/quantum_relative_entropy.jl:110
[10] macro expansion
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/Test/src/Test.jl:478 [inlined]
[11] sdp_quantum_relative_entropy_impl(handle_problem!::var"#13#17", #unused#::Val{true}, atol::Float64, rtol::Float64, #unused#::Type{Float64}, lowrank::Bool, mode::Int64)
@ Convex.ProblemDepot ~/Convex.jl/src/problem_depot/problems/sdp.jl:1492
┌ Warning: Problem wasn't solved optimally
│ status = ALMOST_OPTIMAL::TerminationStatusCode = 7
└ @ Convex ~/Convex.jl/src/solution.jl:75
sdp_quantum_relative_entropy4_fullrank: Test Failed at /Users/eph/Convex.jl/src/problem_depot/problems/sdp.jl:1487
Expression: ≈(real.(evaluate(B)), real.(X), atol = atol, rtol = rtol)
Evaluated: [0.38636747430294827 0.12868480495575968 0.3821930907507465; 0.12868480495582368 0.16186815479522124 0.2209478334476157; 0.3821930907486354 0.2209478334461623 0.4517643709018318] ≈ [0.34221853587161083 0.1043411484143527 0.3254038641174947; 0.1043411484143527 0.23668054168543837 0.15022979565845543; 0.3254038641174947 0.15022979565845543 0.4211009224429507] (atol=0.001, rtol=0.0)
Stacktrace:
[1] macro expansion
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/Test/src/Test.jl:478 [inlined]
[2] sdp_quantum_relative_entropy_impl(handle_problem!::var"#13#17", #unused#::Val{true}, atol::Float64, rtol::Float64, #unused#::Type{Float64}, lowrank::Bool, mode::Int64)
@ Convex.ProblemDepot ~/Convex.jl/src/problem_depot/problems/sdp.jl:1487
sdp_quantum_relative_entropy4_fullrank: Test Failed at /Users/eph/Convex.jl/src/problem_depot/problems/sdp.jl:1488
Expression: ≈(imag.(evaluate(B)), imag.(X), atol = atol, rtol = rtol)
Evaluated: [6.323289509576695e-12 -0.21443135330996674 -0.16874683808211244; 0.21443135330930274 3.24188303424254e-13 0.15591122889210493; 0.16874683807879703 -0.15591122889176418 3.2894063706659607e-12] ≈ [0.0 -0.1766095220030753 -0.14274963711139502; 0.1766095220030753 0.0 0.10441181355251214; 0.14274963711139502 -0.10441181355251214 0.0] (atol=0.001, rtol=0.0)
Stacktrace:
[1] macro expansion
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/Test/src/Test.jl:478 [inlined]
[2] sdp_quantum_relative_entropy_impl(handle_problem!::var"#13#17", #unused#::Val{true}, atol::Float64, rtol::Float64, #unused#::Type{Float64}, lowrank::Bool, mode::Int64)
@ Convex.ProblemDepot ~/Convex.jl/src/problem_depot/problems/sdp.jl:1488
sdp_quantum_relative_entropy4_fullrank: Test Failed at /Users/eph/Convex.jl/src/problem_depot/problems/sdp.jl:1489
Expression: ≈(p.optval, 0, atol = atol, rtol = rtol)
Evaluated: -0.5982722526957716 ≈ 0 (atol=0.001, rtol=0.0)
Stacktrace:
[1] macro expansion
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/Test/src/Test.jl:478 [inlined]
[2] sdp_quantum_relative_entropy_impl(handle_problem!::var"#13#17", #unused#::Val{true}, atol::Float64, rtol::Float64, #unused#::Type{Float64}, lowrank::Bool, mode::Int64)
@ Convex.ProblemDepot ~/Convex.jl/src/problem_depot/problems/sdp.jl:1489
sdp_quantum_relative_entropy4_fullrank: Test Failed at /Users/eph/Convex.jl/src/problem_depot/problems/sdp.jl:1501
Expression: ≈(p.optval, evaluate(quantum_relative_entropy(B, X)), atol = atol, rtol = rtol)
Evaluated: -0.5982722526957716 ≈ 0.15172769338970654 (atol=0.001, rtol=0.0)
Stacktrace:
[1] macro expansion
@ ~/.julia/juliaup/julia-1.9.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/Test/src/Test.jl:478 [inlined]
[2] sdp_quantum_relative_entropy_impl(handle_problem!::var"#13#17", #unused#::Val{true}, atol::Float64, rtol::Float64, #unused#::Type{Float64}, lowrank::Bool, mode::Int64)
@ Convex.ProblemDepot ~/Convex.jl/src/problem_depot/problems/sdp.jl:1501
┌ Warning: Problem wasn't solved optimally
│ status = ALMOST_OPTIMAL::TerminationStatusCode = 7
└ @ Convex ~/Convex.jl/src/solution.jl:75
------------------------------------------------------------------
SCS v3.2.3 - Splitting Conic Solver
(c) Brendan O'Donoghue, Stanford University, 2012
------------------------------------------------------------------
problem: variables n: 8, constraints m: 8
cones: z: primal zero / dual free vars: 8
settings: eps_abs: 1.0e-06, eps_rel: 1.0e-04, eps_infeas: 1.0e-07
alpha: 1.50, scale: 1.00e-01, adaptive_scale: 1
max_iters: 100000, normalize: 1, rho_x: 1.00e-06
acceleration_lookback: 10, acceleration_interval: 10
lin-sys: sparse-direct-amd-qdldl
nnz(A): 8, nnz(P): 0
------------------------------------------------------------------
iter | pri res | dua res | gap | obj | scale | time (s)
------------------------------------------------------------------
0| 1.00e+00 1.00e+00 4.00e-02 3.98e+00 1.00e-01 1.96e-03
25| 2.98e-08 2.98e-08 4.60e-08 2.00e+00 1.00e-01 1.97e-03
------------------------------------------------------------------
status: solved
timings: total: 1.97e-03s = setup: 1.94e-03s + solve: 3.32e-05s
lin-sys: 3.29e-06s, cones: 4.66e-06s, accel: 6.60e-07s
------------------------------------------------------------------
objective = 2.000000
------------------------------------------------------------------
GC error (probable corruption) :
Allocations: 238234933 (Pool: 237826014; Big: 408919); GC: 3703
!!! ERROR in jl_ -- ABORTING !!!
0x130800000: Queued root: 0x134f065c0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800018: Queued root: 0x12081a6f0 :: 0x122af1410 (bits: 7)
of type Method
0x130800030: Queued root: 0x122945e00 :: 0x122af1410 (bits: 7)
of type Method
0x130800048: Queued root: 0x137a45ed0 :: 0x122af1410 (bits: 7)
of type Method
0x130800060: Queued root: 0x137be0290 :: 0x122af1410 (bits: 7)
of type Method
0x130800078: Queued root: 0x10f3b9790 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800090: Queued root: 0x2c4cc9d80 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308000a8: Queued root: 0x2a9f84580 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308000c0: Queued root: 0x10e02bbe0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308000d8: Queued root: 0x10e02bb80 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308000f0: Queued root: 0x2c2bd6890 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800108: Queued root: 0x12118dc10 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800120: Queued root: 0x10ded7d30 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800138: Queued root: 0x122589f70 :: 0x122af1410 (bits: 7)
of type Method
0x130800150: Queued root: 0x122589280 :: 0x122af1410 (bits: 7)
of type Method
0x130800168: Queued root: 0x1225893d0 :: 0x122af1dd0 (bits: 7)
of type Core.SimpleVector
0x130800180: Queued root: 0x1225897d0 :: 0x122af1410 (bits: 7)
of type Method
0x130800198: Queued root: 0x1448ef410 :: 0x122af1410 (bits: 7)
of type Method
0x1308001b0: Queued root: 0x11f5bf330 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308001c8: Queued root: 0x11ff02970 :: 0x122af1410 (bits: 7)
of type Method
0x1308001e0: Queued root: 0x144773750 :: 0x122aef100 (bits: 7)
of type Core.MethodTable
0x1308001f8: Queued root: 0x13501c510 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800210: Queued root: 0x10dae9040 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130800228: Queued root: 0x2a68fd720 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800240: Queued root: 0x134d8dc90 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800258: Queued root: 0x1205e7660 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800270: Queued root: 0x134d75930 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800288: Queued root: 0x11ead7ca0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308002a0: Queued root: 0x11dd417a0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308002b8: Queued root: 0x11e060f70 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308002d0: Queued root: 0x11ee722f0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308002e8: Queued root: 0x1205d2bb0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800300: Queued root: 0x12133d510 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800318: Queued root: 0x10eafa3e0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800330: Queued root: 0x10f1c1c60 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130800348: Queued root: 0x2a7691940 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130800360: Queued root: 0x133c3eef0 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130800378: Queued root: 0x11dd3d060 :: 0x122af1410 (bits: 7)
of type Method
0x130800390: Queued root: 0x1228a5050 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308003a8: Queued root: 0x11ee667a0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308003c0: Queued root: 0x11f739120 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308003d8: Queued root: 0x11e524b40 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308003f0: Queued root: 0x11ec22630 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800408: Queued root: 0x11ebfc7c0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800420: Queued root: 0x11e720e50 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800438: Queued root: 0x1213416e0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800450: Queued root: 0x121342f60 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800468: Queued root: 0x121094e10 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800480: Queued root: 0x11f1980e0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800498: Queued root: 0x12109ffb0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308004b0: Queued root: 0x12217b4c0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308004c8: Queued root: 0x12256f4c0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308004e0: Queued root: 0x120e43390 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308004f8: Queued root: 0x11fbdc1a0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800510: Queued root: 0x11fb45b40 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800528: Queued root: 0x11f739610 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800540: Queued root: 0x11f739f00 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800558: Queued root: 0x11f7642b0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130800570: Queued root: 0x121342120 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
...omitted...
0x130803408: Queued root: 0x1352f15a0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803420: Queued root: 0x2a80b3fd0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803438: Queued root: 0x2a80b3fa0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803450: Queued root: 0x2a6ac1d70 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803468: Queued root: 0x2a6d208b0 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803480: Queued root: 0x29ce4a220 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803498: Queued root: 0x2a69afc70 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x1308034b0: Queued root: 0x29d999ab0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308034c8: Queued root: 0x133fac010 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x1308034e0: Queued root: 0x29d046590 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308034f8: Queued root: 0x2af249fb0 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803510: Queued root: 0x11fc1ce70 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803528: Queued root: 0x10e4e2cb0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803540: Queued root: 0x10e072140 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803558: Queued root: 0x2a6c251b0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803570: Queued root: 0x11f5c8fd0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803588: Queued root: 0x29ed66860 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308035a0: Queued root: 0x10df35ea0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308035b8: Queued root: 0x12118ef20 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308035d0: Queued root: 0x2a7717c70 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308035e8: Queued root: 0x10da79810 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803600: Queued root: 0x1327ba4d0 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803618: Queued root: 0x1341bdf00 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803630: Queued root: 0x1478f3e40 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803648: Queued root: 0x1341dcc40 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803660: Queued root: 0x2ae527080 :: 0x122af16c0 (bits: 3)
of type Core.MethodInstance
0x130803678: Queued root: 0x2a752b640 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803690: Queued root: 0x29d6fb730 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308036a8: Queued root: 0x29d7b1400 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308036c0: Queued root: 0x2a7529090 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308036d8: Queued root: 0x13253d8d0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308036f0: Queued root: 0x132a06f50 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803708: Queued root: 0x16fabec40 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803720: Queued root: 0x2c9af7440 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803738: Queued root: 0x1341bde10 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803750: Queued root: 0x1323c4fd0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803768: Queued root: 0x11f495480 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803780: Queued root: 0x120d08600 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803798: Queued root: 0x120e2a5c0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x1308037b0: Queued root: 0x10e06e8f0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308037c8: Queued root: 0x2a80b8040 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308037e0: Queued root: 0x166d08a40 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x1308037f8: Queued root: 0x12046e150 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803810: Queued root: 0x11fadcb90 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803828: Queued root: 0x11fc91110 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803840: Queued root: 0x11e976000 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803858: Queued root: 0x11f05d630 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803870: Queued root: 0x2a6f4f580 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803888: Queued root: 0x2a6b57880 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308038a0: Queued root: 0x2a6a9b700 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308038b8: Queued root: 0x2a80a47f0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308038d0: Queued root: 0x2a796aa70 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x1308038e8: Queued root: 0x2a79915a0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803900: Queued root: 0x10df460b0 :: 0x122aef310 (bits: 3)
of type Array{Any, 1}
0x130803918: Queued root: 0x158a58040 :: 0x122af1dd0 (bits: 3)
of type Core.SimpleVector
0x130803930: Queued root: 0x1213b6ad0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803948: Queued root: 0x1220b59a0 :: 0x122aef310 (bits: 7)
of type Array{Any, 1}
0x130803960: r-- Stack frame 0x16b47e660 -- 1 of 4 (direct)
[89070] signal (6): Abort trap: 6
in expression starting at /Users/eph/Convex.jl/test/SparseTape.jl:3
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 238234933 (Pool: 237826014; Big: 408919); GC: 3703
running the tests of Convex.jl on commit jump-dev/Convex.jl@dc3f4f3
Metadata
Metadata
Assignees
Labels
No labels