Dynare not able to find .mod file

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

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.

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