building Dynare 4.3.3: which gcc?

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.

building Dynare 4.3.3: which gcc?

Postby lombard » Fri Apr 19, 2013 2:20 pm

Hi,

In the past I managed to build Dynare using the options CC="gcc-4.4" CXX="g++-4.4", as the 4.6 version of gcc that would be used by default would make dynare crash with the error "preprocessor failed".
Now, trying with Dynare 4.3.3 I get errors in the compilation claiming that libblas could not be found in /usr/bin/ld. I have those libraries though.

What could have gone wrong? Which version of gcc do you reccommend?
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: building Dynare 4.3.3: which gcc?

Postby SébastienVillemot » Mon Apr 22, 2013 12:51 pm

I personally use GCC 4.7, but I doubt that GCC version is the root of your problem.

What is your system? (distribution and version)

Can you please provide more info, like the config.log file and a if possible a full build log.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: building Dynare 4.3.3: which gcc?

Postby lombard » Tue May 07, 2013 1:05 pm

Hi Sébastien,

sorry for the delay in replying to your message.

I'm trying to compile on Ubuntu 12.04 LTS 32bit.

I have installed a number of things that might have made my system sufficiently different from a standard Ubuntu 12.04.
Despite this I was able to compile Dynare in the past. The configuration output does not seem to complain about missing libraries etc.

Best

Gianni
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: building Dynare 4.3.3: which gcc?

Postby SébastienVillemot » Tue May 21, 2013 8:36 am

Then I encourage you to use the Dynare 4.3.3 package that I created for Ubuntu 12.04 LTS. See the following page for instructions: http://www.dynare.org/DynareWiki/Instal ... anOrUbuntu (section 1.2).

Otherwise, if you don’t want to use that package, please provide more debugging info (like the config.log file).
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: building Dynare 4.3.3: which gcc?

Postby lombard » Tue May 21, 2013 8:45 am

Unfortunately the package didn't work for me (that's why I resorted to compilation).

I'll send you the log file.

Cheers

Gianni
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests