Skip to content
blackrim edited this page Feb 15, 2012 · 46 revisions

Installation

treePL uses the standard GNU installion system. So you can grab the code either in the archive or with git clone and cd into the src directory and run ./configure then make then sudo make install

Dependencies

These should be relatively easy to install, but depending on systems, it can be hard.

NLopt

treePL uses [NLopt] (http://ab-initio.mit.edu/wiki/index.php/NLopt) in addition to some simulated annealing code. The code for this is included in the deps directory. To install this you can run ./configure --with-cxx and then make and make install. It is very important that nlopt is compiled with the cxx flag.

adolc

In order to work around some of the issues around gradients and barriers, in addition to analytic gradient calculations, treePL uses rad auto diff sources and adolc. Both are used because rad cannot be used with openmp (yet). If you don't have adolc, treePL will still install but it maybe be less efficient in cross validation. To install adolc you can use the directory provided with the distribution in the deps directory. After unpacking, if using gcc you can run ./configure --with-openmp-flag=fopenmp and then make and make install. It is very important that adolc is compiled with the openmp flag because that is the reason for using it with treePL.

Clone this wiki locally