Building on the (CAVE) cluster
Prepare
As of 70aa37d7, there are some prerequisites to be met.
Conan
pip install --user conan
export PATH=~/.local/bin:$PATH
conan remote add rwth-vr--bintray https://api.bintray.com/conan/rwth-vr/conan
conan remote add bincrafters_public https://api.bintray.com/conan/bincrafters/public-conan
Environment
module unload intel
module load cmake/3.10.1
module load gcc/6
Boost
Create user-config.jam
in your home directory with this content:
using gcc : 6.2.0 : /usr/local_rwth/sw/gcc/6.2.0/bin/g++ ;
Check version and path before via
which g++
g++ --version
and adapt the content of user-config.jam
accordingly.
Select correct ABI version
Add the following to the top-level CMakeLists.txt
:
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)
Build
mkdir -p build/centos7.x84_64.gcc-6
cd build/centos7.x84_64.gcc-6
cmake ../.. -DCMAKE_BUILD_TYPE=Release
make