# ERROR: Can't open file Model\_cali\_noF\_Simul/checksum

**URL:** <https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244>\
**Category:** Uncategorized\
**Created:** [20 February 2020 19:36 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244 "2020-02-20T19:36:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![khucha1402](https://forum.dynare.org/letter_avatar_proxy/v4/letter/k/ce7236/32.png) [@khucha1402](https://forum.dynare.org/u/khucha1402)\
**Post date:** [20 February 2020 19:36 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244/1 "2020-02-20T19:36:05Z")

</div>

Dear Colleagues

I am quite new for Matlab/Dynare. and I really need your support to improve the Dynare code.

In my current work, I develop the DSGE model and try to run it in Dynare but there is some problems as belows:

ERROR: Can’t open file Model\_cali\_noF\_Simul/checksum  
Error using dynare (line 265)  
DYNARE: preprocessing failed

Since this code run before I make more simulation exercises. I do not understand where the error comes from?

I attached my Dynare code. Someone please help me solve this problem.  
I greatly appreciate any support.

Thank so much.

Your sincerely.[Model\_cali\_noF\_Simul.mod](https://forum.dynare.org/uploads/short-url/6x4ktG4pwFBrZedOz13dUU9DYSd.mod) (23.6 KB)

---

<div class="post-metadata">

**Author:** ![cmarch](https://forum.dynare.org/user_avatar/forum.dynare.org/cmarch/32/7827_2.png) [@cmarch](https://forum.dynare.org/u/cmarch)\
**Post date:** [20 February 2020 19:59 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244/2 "2020-02-20T19:59:57Z")

</div>

Hi khuncha1402,

There were some open-end loops and other minor code re-adaptations you had not taken care of, but now the code runs through.  
I will not dwell on your results here, but notice for your information that although you have set up a figure for “The costs of price dispersion”, the corresponding plotting functions and objects to be plotted are still missing, so that no plot appears on the figure.  
You might want to add that.  
[Model\_cali\_noF\_Simul.mod](https://forum.dynare.org/uploads/short-url/13I9JNuiPYjBbZblyTDJnLSK2QT.mod) (23.7 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:** [21 February 2020 20:49 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244/3 "2020-02-21T20:49:34Z")

</div>

Also, regarding the original message, please see

> [@Checksum file](https://forum.dynare.org/t/checksum-file/5912):
>
> Hi! I’m simulating a deterministic new-keynesian model. Dynare return this kind of error: " can’t open file filename/checksum" I don’t know what the checksum file is, and so it’s impossible to understand the nature of the problem. Can someone please give me an idea? Thank you

---

<div class="post-metadata">

**Author:** ![khucha1402](https://forum.dynare.org/letter_avatar_proxy/v4/letter/k/ce7236/32.png) [@khucha1402](https://forum.dynare.org/u/khucha1402)\
**Post date:** [18 March 2020 11:03 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244/4 "2020-03-18T11:03:48Z")

</div>

Thank you so much for supports.

I replaced by this file and try to run this again but the same problem came out. Please let me know which version of dynare that you used.  
Thank you so much

---

<div class="post-metadata">

**Author:** ![khucha1402](https://forum.dynare.org/letter_avatar_proxy/v4/letter/k/ce7236/32.png) [@khucha1402](https://forum.dynare.org/u/khucha1402)\
**Post date:** [18 March 2020 11:04 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244/5 "2020-03-18T11:04:13Z")

</div>

Thank you so much for supports.

I replaced by this file and try to run this again but the same problem came out. Please let me know which version of dynare that you used.  
Thank you so much

---

<div class="post-metadata">

**Author:** ![cmarch](https://forum.dynare.org/user_avatar/forum.dynare.org/cmarch/32/7827_2.png) [@cmarch](https://forum.dynare.org/u/cmarch)\
**Post date:** [18 March 2020 11:32 UTC](https://forum.dynare.org/t/error-cant-open-file-model-cali-nof-simul-checksum/15244/6 "2020-03-18T11:32:22Z")

</div>

Dynare 4.5.6.

Using that version, the code attached to my reply runs through.  
Also, the comments in that reply still apply. 🙂
