Running Dynare on a Server

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.

Running Dynare on a Server

Postby kipfilet » Wed Dec 04, 2013 8:24 pm

Hi Dynare friends,

I need to run Dynare on a Linux server (which has Matlab installed). In principle, I guess that I would move the dynare folder to my home directory, add the path and run dynare from there. However, I see that I have to somehow "mount" the source file in order to run Dynare on Linux. Could someone give me a quick description of what I should do to get Dynare running? Sorry if I'm asking too much and thank you in advance.
kipfilet
 
Posts: 27
Joined: Thu Oct 04, 2012 5:24 am

Re: Running Dynare on a Server

Postby kipfilet » Wed Dec 04, 2013 9:52 pm

So I unpacked the source code on the server, but I still get an error when running ./configure , it says the boost libraries could not be detected. An older thread recommended downloading the boost stuff, unpacking it to some folder and running

./configure BOOST_CPPFLAGS=/path/to/boost

But I still get the error saying that the boost libraries could not be found. Is my syntax correct? Thanks in advance.
kipfilet
 
Posts: 27
Joined: Thu Oct 04, 2012 5:24 am

Re: Running Dynare on a Server

Postby StephaneAdjemian » Thu Dec 05, 2013 10:35 am

Hi,

Cannot you install libraries on your server (with apt-get for instance)? You should follow the installation instructions given here.

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: Running Dynare on a Server

Postby kipfilet » Thu Dec 05, 2013 2:08 pm

Hi Stephane,

Thank you for your reply. I have no install permissions on the server, and was wondering if it would be ok to just unpack the libraries in my home directory and provide a path to them while configuring dynare. Do I really need to have them installed? I am using the computing grid of a large university and this would take a considerable amount of time I guess. Is there a way around this?

Thanks,
kipfilet
 
Posts: 27
Joined: Thu Oct 04, 2012 5:24 am

Re: Running Dynare on a Server

Postby StephaneAdjemian » Fri Dec 06, 2013 11:19 am

Hi,

Check the output of ./configure --help :

(...)
Code: Select all
Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-boost[=DIR]      use boost (default is yes) - it is possible to
                          specify the root directory for boost (optional)
  --with-boost-libdir=LIB_DIR
                          Force given directory for boost libraries. Note that
                          this will overwrite library path detection, so use
                          this parameter only if default library detection
                          fails and you know exactly where your boost
                          libraries are located.
  --with-matio=DIR        prefix to MATIO installation
  --with-blas=<lib>       use BLAS library <lib>
  --with-lapack=<lib>     use LAPACK library <lib>
  --without-pthread       don't use POSIX threads
  --with-matlab=ARG       check for MATLAB [[yes]]

(...)

Depending on what you want to do some packages are mandatory. Maybe another possibility would be to compile Dynare on your PC by statically linking the needed libraries... But I do not know how to do this (if possible).

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: Running Dynare on a Server

Postby kipfilet » Fri Dec 06, 2013 3:49 pm

wow that is great! Sorry for being a UNIX analphabet, but I believe that --with-boost-libdir=LIB_DIR option is precisely what I need. I know that I have the libraries, but for some reason .\configure fails to detect them. Thank you so much!
kipfilet
 
Posts: 27
Joined: Thu Oct 04, 2012 5:24 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests