Dear all,
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in the attached mod-file crashes dynare_m.exe in Windows. Sometimes it displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
Best,
Johannes
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in the attached mod-file crashes dynare_m.exe in Windows. Sometimes it displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
-------------------------------------------------------------------------------------------------------
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------------
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
Upon klicking „Close program“ instead of debugging I get:
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " < mailto:jpfeifer@gmx.de jpfeifer@gmx.de> writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
It fails because ppp.m contains:
M_.params( 1 ) = -1.#IND;
which results from the mod-file line
sigma=(-0.007)^0.5;
-- Johannes Pfeifer Haußerstr. 29 72076 Tübingen Tel.: +49-(0)7071-6396184 Mobil.: +49-(0)170-6936820 Germany
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Montag, 30. Juli 2012 15:18 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It fails because ppp.m contains:
M_.params( 1 ) = -1.#IND;
This is a separate issue. I opened #274 for that one.
The root of the original problem seems with the treatment of "negative NaNs" under Windows Seven. Can you please run the following program in a terminal, and send me back the output?
http://www.dynare.org/sebastien/nantest.exe
Thanks,
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Montag, 30. Juli 2012 15:18 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
It complains that libstdc++-6.dll is missing and does not run.
-- Johannes Pfeifer Haußerstr. 29 72076 Tübingen Tel.: +49-(0)7071-6396184 Mobil.: +49-(0)170-6936820 Germany
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Dienstag, 31. Juli 2012 12:55 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It fails because ppp.m contains:
M_.params( 1 ) = -1.#IND;
This is a separate issue. I opened #274 for that one.
The root of the original problem seems with the treatment of "negative NaNs" under Windows Seven. Can you please run the following program in a terminal, and send me back the output?
http://www.dynare.org/sebastien/nantest.exe
Thanks,
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Montag, 30. Juli 2012 15:18 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It complains that libstdc++-6.dll is missing and does not run.
I uploaded a new binary which hopefully works better (I have no Windows machine to test it right now).
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Dienstag, 31. Juli 2012 12:55 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It fails because ppp.m contains:
M_.params( 1 ) = -1.#IND;
This is a separate issue. I opened #274 for that one.
The root of the original problem seems with the treatment of "negative NaNs" under Windows Seven. Can you please run the following program in a terminal, and send me back the output?
http://www.dynare.org/sebastien/nantest.exe
Thanks,
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Montag, 30. Juli 2012 15:18 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
It says:
std::isnan(NAN)=1 std::isnan(-NAN)=1 std::isnan(std::fabs(-NAN))=1
-- Johannes Pfeifer Haußerstr. 29 72076 Tübingen Tel.: +49-(0)7071-6396184 Mobil.: +49-(0)170-6936820 Germany
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Dienstag, 31. Juli 2012 14:07 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It complains that libstdc++-6.dll is missing and does not run.
I uploaded a new binary which hopefully works better (I have no Windows machine to test it right now).
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Dienstag, 31. Juli 2012 12:55 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It fails because ppp.m contains:
M_.params( 1 ) = -1.#IND;
This is a separate issue. I opened #274 for that one.
The root of the original problem seems with the treatment of "negative NaNs" under Windows Seven. Can you please run the following program in a terminal, and send me back the output?
http://www.dynare.org/sebastien/nantest.exe
Thanks,
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Montag, 30. Juli 2012 15:18 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It says:
std::isnan(NAN)=1 std::isnan(-NAN)=1 std::isnan(std::fabs(-NAN))=1
Same here. I still have no clue about the origin of your initial crash…
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Dienstag, 31. Juli 2012 14:07 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It complains that libstdc++-6.dll is missing and does not run.
I uploaded a new binary which hopefully works better (I have no Windows machine to test it right now).
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Dienstag, 31. Juli 2012 12:55 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
It fails because ppp.m contains:
M_.params( 1 ) = -1.#IND;
This is a separate issue. I opened #274 for that one.
The root of the original problem seems with the treatment of "negative NaNs" under Windows Seven. Can you please run the following program in a terminal, and send me back the output?
http://www.dynare.org/sebastien/nantest.exe
Thanks,
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Montag, 30. Juli 2012 15:18 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
Hi Johannes,
In order to debug this issue, I have compiled a slightly modified version of the preprocessor (from unstable branch). It is available at:
http://www.dynare.org/sebastien/dynare_m.exe
Please run it on ppp.mod, and send me back the resulting ppp.m (or, if it fails, the error message).
Thanks,
"Johannes Pfeifer " jpfeifer@gmx.de writes:
Dear Sébastien,
I tried ppp.mod with the 2012-06-29 snapshot. Here are the screenshots. My Matlab version says:
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 556154
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 7.14 (R2012a)
Control System Toolbox Version 9.3 (R2012a)
Optimization Toolbox Version 6.2 (R2012a)
Parallel Computing Toolbox Version 6.0 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
Statistics Toolbox Version 8.0 (R2012a)
Symbolic Math Toolbox Version 5.8 (R2012a)
What’s bothering me is that I get a pop-up window asking me to debug and I am not sure this is the usual behavior the preprocessor should show:
[cid]
Upon klicking „Close program“ instead of debugging I get:
[cid]
Only if I immediately cancel the Windows screen leading to the above popups I get the following error message.
[cid]
I hope this helps narrowing it down.
Best,
Johannes
-----Ursprüngliche Nachricht----- Von: dev-bounces@dynare.org [mailto:dev-bounces@dynare.org] Im Auftrag von Sébastien Villemot Gesendet: Freitag, 6. Juli 2012 10:12 An: List for Dynare developers Betreff: Re: [DynareDev] Complex Parameters
"Johannes Pfeifer " jpfeifer@gmx.de writes:
erroneously defining a complex parameter like sigma=(-0.007)^0.5 as in
the attached mod-file crashes dynare_m.exe in Windows. Sometimes it
displays
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Dynare\4.3.0\matlab\dynare_m.exe
File: NumericalConstants.cc, Line 47
Expression: val >= 0 || isnan(val)
I can't replicate the crash in the preprocessor on both GNU/Linux and Windows.
However in ppp.m I have "M_.params(1)=nan;" (which is consistent) and Dynare crashes later.
Concerning the crash that you get in the preprocessor, the problem is not that the preprocessor refuses to run, but rather that the error message is not explicit enough. It is however not obvious how to improve the situation, and I cannot do anything as long as I can replicate your assertion error in the preprocessor.
--
Sébastien Villemot
Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Sébastien Villemot Researcher in Economics http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev