DynareJulia / Dynare.jl

A Julia rewrite of Dynare: solving, simulating and estimating DSGE models.
https://www.dynare.org
Other
86 stars 20 forks source link

ERROR: LoadError: LinearAlgebra.LAPACKException(6) #49

Closed Krishnendu1986 closed 1 year ago

Krishnendu1986 commented 1 year ago

context = @dynare "./xyz.mod"; [ Info: Dynare version: 0.8.1 [ Info: 2023-09-04T00:21:10.671: Starting @dynare ./xyz.mod ["xyz.mod", "language=julia", "json=compute"] [ Info: Dynare preprocessor version: 6.3.0+0 Starting preprocessing of the model file ... Found 6 equation(s). Evaluating expressions... Computing static model derivatives (order 1). Normalizing the static model... Finding the optimal block decomposition of the static model... 2 block(s) found: 0 recursive block(s) and 2 simultaneous block(s). the largest simultaneous block has 4 equation(s) and 4 feedback variable(s). Computing dynamic model derivatives (order 2). Normalizing the dynamic model... Finding the optimal block decomposition of the dynamic model... 2 block(s) found: 0 recursive block(s) and 2 simultaneous block(s). the largest simultaneous block has 4 equation(s) and 4 feedback variable(s). JSON written after Computing step. Preprocessing completed.

[ Info: 2023-09-04T00:21:10.737: End of preprocessing [ Info: 2023-09-04T00:21:10.761: Start parse_statements! Iter f(x) inf-norm Step 2-norm


ERROR: LoadError: LinearAlgebra.LAPACKException(6) Stacktrace: [1] chklapackerror @ C:\Users\KRISHNENDU\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\LinearAlgebra\src\lapack.jl:40 [inlined] [2] gges!(ws::FastLapackInterface.GeneralizedSchurWs{Float64}, jobvsl::Char, jobvsr::Char, A::Matrix{Float64}, B::Matrix{Float64}; select::PolynomialMatrixEquations.var"#1#2"{Float64}, resize::Bool) @ FastLapackInterface C:\Users\KRISHNENDU.julia\packages\FastLapackInterface\ZNkxZ\src\schur.jl:364 [3] gges! @ C:\Users\KRISHNENDU.julia\packages\FastLapackInterface\ZNkxZ\src\schur.jl:309 [inlined] [4] gs_solver!(ws::PolynomialMatrixEquations.GsSolverWs, d::Matrix{Float64}, e::Matrix{Float64}, n1::Int64, qz_criterium::Float64) @ PolynomialMatrixEquations C:\Users\KRISHNENDU.julia\packages\PolynomialMatrixEquations\5luE3\src\GeneralizedSchurDecompositionSolver.jl:38 [5] solve! @ C:\Users\KRISHNENDU.julia\packages\LinearRationalExpectations\8YoRq\src\linear_rational_expectations.jl:148 [inlined] [6] solve_g1!(results::LinearRationalExpectations.LinearRationalExpectationsResults, ws::LinearRationalExpectations.LinearGsSolverWs, options::LinearRationalExpectations.LinearRationalExpectationsOptions) @ LinearRationalExpectations C:\Users\KRISHNENDU.julia\packages\LinearRationalExpectations\8YoRq\src\linear_rational_expectations.jl:157 [7] first_order_solver!(results::LinearRationalExpectations.LinearRationalExpectationsResults, jacobian::Matrix{Float64}, options::LinearRationalExpectations.LinearRationalExpectationsOptions, ws::LinearRationalExpectations.LinearRationalExpectationsWs) @ LinearRationalExpectations C:\Users\KRISHNENDU.julia\packages\LinearRationalExpectations\8YoRq\src\linear_rational_expectations.jl:460 [8] compute_first_order_solution!(context::Context, endogenous::Vector{Float64}, exogenous::Vector{Float64}, steadystate::Vector{Float64}, params::Vector{Float64}, model::Model, ws::Dynare.DynamicWs, options::Dynare.StochSimulOptions; variance_decomposition::Bool) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\perturbations.jl:590 [9] compute_first_order_solution! @ C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\perturbations.jl:561 [inlined] [10] compute_stoch_simul!(context::Context, ws::Dynare.DynamicWs, params::Vector{Float64}, options::Dynare.StochSimulOptions; kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:variance_decomposition,), Tuple{Bool}}}) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\perturbations.jl:498 [11] compute_stoch_simul! @ C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\perturbations.jl:482 [inlined] [12] stoch_simul_core!(context::Context, ws::Dynare.DynamicWs, options::Dynare.StochSimulOptions) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\perturbations.jl:421 [13] stoch_simul!(context::Context, field::Dict{String, Any}) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\perturbations.jl:390 [14] parse_statements!(context::Context, statements::Vector{Any}) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\DynareParser.jl:311 [15] parser(modfilename::String, commandlineoptions::Dynare.CommandLineOptions) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\DynareParser.jl:224 [16] dynare(::String) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\Dynare.jl:84 [17] var"@dynare"(source::LineNumberNode, module::Module, modfile_arg::String, args::Vararg{Any}) @ Dynare C:\Users\KRISHNENDU.julia\packages\Dynare\iuXSt\src\Dynare.jl:55 in expression starting at REPL[8]:1

MichelJuillard commented 1 year ago

Could you please add to the issue the file xyz.mod?

MichelJuillard commented 1 year ago

Can't investigate without xyz.mod