Make sure that you have the following packages available in your system:
To generate executables to run on nVidia GPUs you also need an installation of CUDA >= 10.0 and to use a compatible GCC version.
Build TCode following the instructions below:
- clone the git repository:
git clone https://github.com/MultithreadCorner/TCode.git
- go to TCode directory:
cd TCode
- create a build directory:
mkdir build
- go to build directory cd
build
- run cmake specifying the path to Hydra:
cmake -DHYDRA_INCLUDE_DIR='path-to-hydra'../
- compile (all backends):
make -j8
Several executables, separate for each available backend (CPP, TBB, OMP and CUDA) will be generated in the build directory.