# Dynare not able to find .mod file

**URL:** <https://forum.dynare.org/t/dynare-not-able-to-find-mod-file/27347>\
**Category:** Installation and Setup\
**Created:** [23 March 2025 08:23 UTC](https://forum.dynare.org/t/dynare-not-able-to-find-mod-file/27347 "2025-03-23T08:23:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvanbroe](https://forum.dynare.org/letter_avatar_proxy/v4/letter/g/a6a055/32.png) [@gvanbroe](https://forum.dynare.org/u/gvanbroe)\
**Post date:** [23 March 2025 08:23 UTC](https://forum.dynare.org/t/dynare-not-able-to-find-mod-file/27347/1 "2025-03-23T08:23:09Z")

</div>

I’ve been trying to run a file.mod that I know I’ve saved in the correct location but when I run it Dynare comes up with the following error message and claims the file doesn’t exist. Is there a way to fix this?

warning: addpath: /Applications/Dynare/5.5-x86\_64/matlab/…/mex/octave/: No such file or directory  
warning: called from  
dynare\_config at line 138 column 1  
dynare at line 66 column 12

Starting Dynare (version 5.5-x86\_64).  
Calling Dynare with arguments: none  
Starting preprocessing of the model file …  
Found 2 equation(s).  
Evaluating expressions…done  
Computing static model derivatives (order 1).  
Computing dynamic model derivatives (order 1).  
Processing outputs …  
done  
Preprocessing completed.

error: parse error near line 1 of file /Applications/Dynare/5.5-x86\_64/matlab/repag.m

syntax error

> > > // Basic Representative Agent Model  
> > > ^  
> > > error: called from  
> > > dynare at line 281 column 5

---

<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:** [23 March 2025 09:52 UTC](https://forum.dynare.org/t/dynare-not-able-to-find-mod-file/27347/2 "2025-03-23T09:52:37Z")

</div>

It looks as if there are various issues.

1. If you are using Octave from a Mac you need to build Dynare using Homebrew. Did you do that?
2. It looks like there is a problem with your mod-file as well. But without the file it is impossible to tell.

---

<div class="post-metadata">

**Author:** ![gvanbroe](https://forum.dynare.org/letter_avatar_proxy/v4/letter/g/a6a055/32.png) [@gvanbroe](https://forum.dynare.org/u/gvanbroe)\
**Post date:** [24 March 2025 11:02 UTC](https://forum.dynare.org/t/dynare-not-able-to-find-mod-file/27347/3 "2025-03-24T11:02:25Z")

</div>

Thank you! It seems the issue was my Mac was too old to download dynare via homebrew so I had to try another computer.
