Download

How to install VLE-2.0?

Binaries

Dependencies

Strong dependencies:

  • libxml2 (≥ 2.8)
  • boost (≥ 1.49)
  • CMake (≥ 3.0)
  • C++14 compiler (gcc ≥ 5.0, clang ≥ 3.3, intel icc (≥ 11.0)

Optional MPI dependency for cluster:

Optional GVLE support:

Building options

For each platform, building process can be controlled using arguments of CMake line:

Options Default value Description
-DWITH_GVLE ON Enable the building of GVLE based on QT5.
-DWITH_TEST ON Enable the compilation of unit tests.
-DWITH_DOXYGEN OFF Enable the compilation doxygen source documentation.
-DWITH_MVLE OFF Enable the compilation of the old cluster experimental tool.
-DWITH_CVLE OFF Enable the compilation of the new cluster experimental tool.
-DWITH_WIN32_INSTALLER OFF Enable the building of the NSIS installer.

Examples

  • To build VLE, GVLE, CVLE and MVLE with heavy optimization flags GCC:
export CXXFLAGS=$(gcc -### -E - -march=native 2>&1 | sed -r '/cc1/!d;s/(")|(^.* - )|( -mno-[^\ ]+)//g')

cmake -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
      -DCMAKE_COLOR_MAKEFILE=ON \
      -DCMAKE_VERBOSE_MAKEFILE=OFF \
      -DWITH_GVLE=ON \
      -DWITH_CVLE=ON \
      -DWITH_MVLE=ON \
      -DCMAKE_BUILD_TYPE=Release \
      ..
  • To build only VLE with debug flags with ~clang++~:
export CXX=clang++
export CC=clang

cmake -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
      -DCMAKE_COLOR_MAKEFILE=ON \
      -DCMAKE_VERBOSE_MAKEFILE=OFF \
      -DCMAKE_BUILD_TYPE=Debug \
      ..