Skip to content

Commit 1004877

Browse files
authored
Update INSTALL.md
1 parent 6e5e05b commit 1004877

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

INSTALL.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
Build application
22
-------------------------------
3+
Make sure that you have the following packages available in your system:
4+
- [Hydra >= v2.2.1](https://github.com/MultithreadCorner/Hydra/releases/tag/v2.2.1)
5+
- [libconfig >= v1.5](https://github.com/hyperrealm/libconfig)
6+
- [TCLAP >= v1.2.1](http://tclap.sourceforge.net/)
7+
- [ROOT >= v6.14](https://root.cern.ch/)
38

9+
To generate executables to run on nVidia GPUs you also need an installation of [CUDA >= 8.1](https://developer.nvidia.com/cuda-toolkit) and to use a [compatible GCC version](https://docs.nvidia.com/cuda/).
10+
11+
Build TCode following the instructions below:
412
1. clone the git repository: `git clone https://github.com/MultithreadCorner/TCode.git`
513
2. go to TCode directory: `cd TCode`
614
3. create a build directory: `mkdir build`
7-
4. cd build
8-
5. `cmake -DHYDRA_INCLUDE_DIR=<path-to-hydra>../`
9-
6. `make -j8`
15+
4. go to build directory cd `build`
16+
5. run cmake specifying the path to Hydra: `cmake -DHYDRA_INCLUDE_DIR='path-to-hydra'../`
17+
6. compile (all backends): `make -j8`
1018

11-
Separate executables for CPP, TBB, OMP and CUDA backend will be produced (if available in your machine).
19+
Several executables, separate for each available backend (CPP, TBB, OMP and CUDA) will be generated.

0 commit comments

Comments
 (0)