Repository navigation
Installation
First, install the dependencies (see below), then proceed.
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
These should be relatively easy to install, but depending on systems, it can be hard.
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 and then make and sudo make install.
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 autoreconf -fi. If you are on a Mac, you need to do export LIBS=-lgomp. Then for Linux and Mac, ./configure --with-openmp-flag=-fopenmp --prefix=/usr and then make and sudo make install. It is very important that adolc is compiled with the openmp flag because that is the reason for using it with treePL.