This branch is using ALPSCore for MPI parallelization of the LCT-AUX code of M. Iazzi (https://gitlab.phys.ethz.ch/iazzi/lct-aux).
Here we switched to the CMake building framework. The code can be compile running the following:
mkdir build && cd build
cmake ..
make
make installThe code depends on
- Eigen3
- Lua
- ALPSCore (with MPI support)
- (optional) Intel MKL
Here are some variable that can be set when the dependencies are not in the stadard locations.
Eigen3
Here we use pkg-config to find the include path. Make sure to have the directory containing eigen3.pc in the pkg-config path. One can add more search directories for pkg-config with the environment variable export PKG_CONFIG_PATH=/path/to/eigen/share/pkgconfig:$PKG_CONFIG_PATH.
Lua
Set the environment variable export LUA_DIR=/path/to/lua/root to the root of the Lua installation.
ALPSCore
Set the environment variable export ALPSCore_DIR=/path/to/alpscore/root to the root of the ALPSCore installation.
Here are some useful CMake options that can be set during the configuration
cmake -DOPTION=VALUE ..or later with the CMake interactive interface ccmake .
ENABLE_MKL(ON / OFF) : Whether to enable MKL support in Eigen or notCMAKE_BUILD_TYPE(Release / Debug / RelWithDebInfo): Which kind of buildCMAKE_INSTALL_PREFIX(PATH) : where to install
The directory build_examples contains example for building the code and its dependencies on special platforms, e.g. on supercomputers or clusters using the module system.