Wiki

Clone wiki

MGS Canopy Algorithm / Obtaining the executable

#Obtaining the executable

##Downloading the binary (the binary is temporarily unavailable) In most cases downloading of the binary from the repository.

This binary will be updated with every major release of the algorithm.

##Compiling from source

###Requirements The Canopy Clustering program is implemented entirely in C++. It's only dependencies is BOOST headers and BOOST program options library.

On debian based systems the package names are libboost-dev and libboost-program-options-dev.

If you compile the Boost library from source, please follow this guide and please make sure to use [--with-librarires] parameter for the configuration script to ensure that the boost program options library will be included in the build. The bootstrap command should look as follows:

$ ./bootstrap.sh --with-libraries=program_options

###Downloading the code The code can be obtained through git using the typical clone procedure. This means basically running:

git clone git@bitbucket.org:HeyHo/mgs-canopy-algorithm.git
will create a new directory called canopyclustering that will contain the code for the program.

###Compiling on Linux Two Makefiles are provided with the code, for typical x86_64 system please use Makefile in the src directory of the downloaded code.

The easiest way to compile the code is to change your current directory to src subdirectory run:

#!sh

make -f Makefile

If the compilation is successfull a cc.bin executable should appear in the src subdirectory.

###Compiling on Mac As the program requires both boost libraries and OpenMP support, the easiest way to compile it on mac is to install through brew following packages: "clang-omp" and "omp". Then please use

#!sh

make -f Makefile-Mac 
to compile the software.

Updated