Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.7 KB

File metadata and controls

71 lines (48 loc) · 1.7 KB

Set Up Your Environment

Build prerequisites

  • Windows: Download and install CMake from https://cmake.org/download (select the Windows installer) or install using Chocolatey: .. code-block:: powershell

    choco install cmake

  • Linux (Ubuntu/Debian): Install using package manager: .. code-block:: bash

    sudo apt update sudo apt install -y cmake

  • macOS: Install using Homebrew: .. code-block:: bash

    brew update brew install cmake

Code Style Analysis

Please follow the Google C++ Style Guide.

Code style is checked using the clang-format tool.

Parallel Programming Technologies

MPI

  • Windows (MSVC):

    Installers link. You have to install msmpisdk.msi and msmpisetup.exe.

  • Linux (gcc and clang):

    sudo apt install -y mpich openmpi-bin libopenmpi-dev
  • MacOS (apple clang):

    brew install open-mpi

OpenMP

OpenMP is included in gcc and msvc, but some components should be installed additionally:

  • Linux (gcc and clang):

    sudo apt install -y libomp-dev
  • MacOS (llvm):

    brew install llvm
    brew install libomp

TBB

  • Windows (MSVC), Linux (gcc and clang), MacOS (apple clang): Build as 3rdparty in the current project.

std::thread

std::thread is included in STL libraries.