Dynare++ on MAC

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Dynare++ on MAC

Postby Alex_Co » Mon Jun 09, 2014 10:07 pm

Dear Dynare community,

I have been trying to have my Dynare++ codes work on my MAC but without success. I always get the following error: /bin/bash: dynare++: command not found

I tried to do as suggested in the following post(viewtopic.php?f=1&t=2963) by adding Dynare++ to your PATH variable but the error persists.

Any help how to solve this?

Thanks a lot

Alex
Alex_Co
 
Posts: 14
Joined: Tue Nov 05, 2013 7:34 pm

Re: Dynare++ on MAC

Postby HoutanBastani » Tue Jun 10, 2014 10:25 am

In the terminal type:
Code: Select all
echo $PATH

and post the output.

Otherwise, you can just copy dynare++ to your current directory and run it from there.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ on MAC

Postby Alex_Co » Sun Jul 27, 2014 9:24 pm

Hi Houtan,

Sorry for the late reply. I've been running the codes on remote desktop since the MAC ones still don't work, even if I put the Dynare++ and dynare_simul in the same directory. The error is "/bin/bash: dynare++: command not found". Any idea why?

Thanks
Alex_Co
 
Posts: 14
Joined: Tue Nov 05, 2013 7:34 pm

Re: Dynare++ on MAC

Postby HoutanBastani » Mon Jul 28, 2014 8:40 am

Yes. dynare++ is not being found in your path. Please follow the directions in my previous post by posting the result of
Code: Select all
echo $PATH
If you are running it from your current directory and the current directory is not in your path, you will need to invoke dynare++ by typing:
Code: Select all
./dynare++
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ on MAC

Postby sasha » Thu Oct 02, 2014 1:15 pm

Hi,

I have a similar problem. I am trying to execute several .mod file into a loop using Dynare++. I always get "/bin/bash: dynare++: command not found" even if I tried to define Dynare++ in my path and put the Dynare++ exe in the current file.

Your help is much appreciated.

Cheers

Sasha
sasha
 
Posts: 3
Joined: Thu Oct 02, 2014 1:09 pm

Re: Dynare++ on MAC

Postby HoutanBastani » Thu Oct 02, 2014 1:24 pm

Where are you trying to run them from? The terminal? Matlab? Is your loop a bash script? If not, what programming language?
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ on MAC

Postby sasha » Thu Oct 02, 2014 1:28 pm

I am calling them from Matlab using the following line (it worked in Windows)
!dynare++ --no-irfs model.mod

Thanks
sasha
 
Posts: 3
Joined: Thu Oct 02, 2014 1:09 pm

Re: Dynare++ on MAC

Postby HoutanBastani » Thu Oct 02, 2014 2:30 pm

And, what happens if in Matlab, you do the following, with dynare++ in your current directory:
Code: Select all
!./dynare++ --no-irfs model.mod
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ on MAC

Postby sasha » Thu Oct 02, 2014 8:12 pm

Hi,

No it still doesn't work, I get the following message: "/bin/bash: ./dynare++: No such file or directory".
Note that if I try dynare++.exe, I get the following message: "/bin/bash: ./dynare++.exe: Permission denied".

Also, I tried the "echo $PATH", I get
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Dynare/4.4.2/dynare++:/opt/X11/bin:/usr/texbin

Is everything normal with that at least?

Thanks
sasha
 
Posts: 3
Joined: Thu Oct 02, 2014 1:09 pm

Re: Dynare++ on MAC

Postby HoutanBastani » Fri Oct 03, 2014 8:16 am

First, dynare++.exe doesn't make sense on a mac as .exe files only work on windows.

Please just do the following.
1) Make a new directory in your home folder called dpp
2) Copy the dynare++ executable and your .mod file to the dpp folder
3) Open Terminal
4) In Terminal type: cd ~/dpp
5) In Terminal type: ./dynare++ --no-irfs model.mod

This should work. If it doesn't, in Terminal type:
1) ls -la
2) pwd

and send the output.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ on MAC

Postby Camron70 » Mon Oct 20, 2014 5:22 pm

I have a similar problem. I am trying to execute several .mod file into a loop using Dynare++. I always get "/bin/bash: dynare++: command not found" even if I tried to define Dynare++ in my path and put the Dynare++ exe in the current file. :lol:
You can check out our C2010-570 latest braindumps and testking exams ASQ teams to help you pass passguide.You can University College London examsheets.com.
Camron70
 
Posts: 1
Joined: Mon Oct 20, 2014 5:19 pm

Re: Dynare++ on MAC

Postby HoutanBastani » Tue Oct 21, 2014 9:33 am

Please post the program you use to run dynare++ in a loop along with your .mod files
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests

cron