# Generalized schur (QZ) decomposition failed

**URL:** <https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3205>\
**Category:** Dynare help (legacy posts)\
**Created:** [31 May 2013 15:54 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3205 "2013-05-31T15:54:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angelos](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/4bbf92/32.png) [@Angelos](https://forum.dynare.org/u/Angelos)\
**Post date:** [31 May 2013 15:54 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3205/1 "2013-05-31T15:54:51Z")

</div>

Hi,

I’m getting a strange error when trying to run my mod.-file.

[quote]Error using print\_info (line 36)  
The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function  
dgges: info=6, n=6

Error in check (line 76)  
print\_info(info, options.noprint);

Error in linearaak (line 176)  
oo\_.dr.eigval = check(M\_,options\_,oo\_);

Error in dynare (line 120)  
evalin(‘base’,fname) ;  
[/quote]

As I am new to Dynare the message gives me no kind of hint.  
Some help would be appreciated.  
Thanks in advance!

Angelos  
[model.mod](https://forum.dynare.org/uploads/default/original/2X/9/997820907d3c4feff0363080333fca67c8aaa2e6.mod) (1.87 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [1 June 2013 13:56 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3205/2 "2013-06-01T13:56:25Z")

</div>

You claim your model is linear, but in the equation

`w=((1-alpha)*(k/n)^alpha*(a+alpha*k+alpha*n)-phil*n+phil*n(-1)+beta*phil*(n(+1)-n))/Wss;
`  
k/n clearly is not linear.

---

<div class="post-metadata">

**Author:** ![pshlhk](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/b9bd4f/32.png) [@pshlhk](https://forum.dynare.org/u/pshlhk)\
**Post date:** [12 July 2013 08:19 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3205/3 "2013-07-12T08:19:34Z")

</div>

Hi, I have the following error message.

Error using print\_info (line 36)  
The generalized Schur (QZ) decomposition failed. For more  
information, see the documentation for Lapack function dgges:  
info=30, n=28

Error in check (line 76)  
print\_info(info, options.noprint);

Error in ex\_basic\_12 (line 570)  
check(M\_,options\_,oo\_);

Error in dynare (line 120)  
evalin(‘base’,fname) ;

I am wondering whether this message indicates parameterization error or equation error in the model.  
Thank you.

Best regards,  
Sung Ho  
[ex\_basic\_12.mod](https://forum.dynare.org/uploads/default/original/2X/c/c374dce738d911705965f56691c527a31df2ac6c.mod) (10.1 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [12 July 2013 09:05 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3205/4 "2013-07-12T09:05:48Z")

</div>

Model diagnostics says:

[quote]model\_diagnostic: the Jacobian of the static model is singular  
there is 1 colinear relationships between the variables and the equations  
Colinear variables:  
S\_D\_t  
S\_D\_I\_t  
S\_D\_N\_t  
S\_Ast\_t  
S\_Ast\_I\_t  
S\_Ast\_N\_t  
NW\_D\_t  
NW\_Ast\_t  
F\_D\_t  
F\_Ast\_t  
Pi\_D\_SI\_t  
Pi\_Ast\_SI\_t  
Colinear equations  
23 42  
[/quote]
