-
Notifications
You must be signed in to change notification settings - Fork 0
Build instructions
Clone the necessary repositories:
git clone https://github.com/HZDR-FWDF/GLADOS.git
git clone https://github.com/HZDR-FWDF/PARIS.git
We strongly recommend the usage of the latest stable branch (currently 0.2). Issue the following commands from the top-level directory (i.e. the directory in which the GLADOS
and PARIS
directories reside):
cd GLADOS
git checkout 0.2
cd ../PARIS
git checkout 0.2
In order to build PARIS you need to satisfy the following package dependencies:
- CMake >= 3.5
- CUDA 8.0
- a CUDA 8.0 compatible C++ compiler with C++11 support (List)
- cuFFT 8.0
- Boost.System
- Boost.Log
- Boost.Program_options
Before building you need to ensure that the generated GPU code matches your target architecture. Edit the top-level CMakeLists.txt and look for the following lines:
-gencode arch=compute_61,code=sm_61;
-gencode arch=compute_35,code=sm_35;
Most users can delete the second line as they typically won't utilize two different GPUs. The correct values can be looked up here (just leave out the dot). For example, an adaption for the GeForce 940M looks like this:
-gencode arch=compute_50,code=sm_50;
Issue the following commands in the PARIS
directory:
mkdir build
cd build
cmake -DGLADOS_INCLUDE_PATH=/absolute/path/to/glados/include -DCMAKE_BUILD_TYPE=Release ..
make
Note that GLADOS_INCLUDE_PATH
needs to point to the include
directory in the GLADOS
directory! If everything went well, the executable will be in PARIS/build/Release
.