-
Notifications
You must be signed in to change notification settings - Fork 102
Linux instructions
This is tested on Ubuntu 16.04. If you have any issues, please report it here.
Install dependencies
- First, make sure you have all the tools necessary to download and compile the code:
sudo apt-get install cmake g++ git
-
Install OpenCL. This is done by downloading the latest display drivers and AMD APP SDK (if you have a AMD GPU) or CUDA Toolkit (if you have an NVIDIA GPU).
-
FAST will download and build all other dependencies (Qt5, GLEW, eigen, zlib) automatically. In order to get fonts to work you may need to install the fontconfig library:
sudo apt-get install libfontconfig1-dev
Compile
Don't put the FAST code in a path with spaces, this will currently break the build
git clone https://github.com/smistad/FAST.git
cd FAST
mkdir build
cd build
cmake ..
make -j8
When you run cmake, the system may not find the OpenCL library, and you have to set it manually using cmake (e.g. cmake .. -DOpenCL_LIBRARY=/path/to/libOpenCL.so). The library is usually located in /usr/local/cuda/lib64/ for NVIDIA and /opt/amd-gpupro/lib/x864-linux-gnu/ if you use the AMD GPUPRO driver.
Running the tests
Next, you should run the tests to make sure the framework is working properly on your system. Instructions on how to do this can be found here.
If this wiki page lacks some information or is incorrect please let us know! You can edit this wiki page yourself, send an email to ersmistad@gmail.com or