CArl
Code Arlequin / C++ implementation
|
This code implementation use the following third party libraries: (the numbers indicate the oldest version for which they were tested)
The following compiler combinations were tested:
This code was not tested or compiled with other operational systems.
The installation is done using CMake (version 3.4.2), and the following commands:
cd [CArl root directory]/Cpp/bin cmake .. make
This will compile the CArl software using the default system compilers and with the same flags used for the libMesh, plus the Release
optimization flags (-O3 -DNDEBUG
). If you want to change these, use the appropriate CMake options or an interface such as ccmake
or cmake-gui
.
The CMake script will search for the Boost and CGAL libraries at the default include paths. For the libMesh installation, it will search for a LIBMESH_DIR
environement variable. If the environement variable is not found, it will set it as /usr/local
. In both cases, the script will search the libmesh-config
binary at the $LIBMESH_DIR/bin
directory.
After finishing the compilation process, a series of executables named CArl_***
and libmesh_***
will be added to the [CArl root directory]/Cpp/bin
folder. The former are the core binaries of the C++ implementation, while the latter are used as an example based on libMesh's solvers.