diff options
author | Roman Grundkiewicz <romang@amu.edu.pl> | 2016-09-13 15:04:23 +0300 |
---|---|---|
committer | Roman Grundkiewicz <romang@amu.edu.pl> | 2016-09-13 15:04:23 +0300 |
commit | c32e0a0600ce535d76456e1df9023e29162fd733 (patch) | |
tree | 1e471476f29b0902159e4728336089a96501375c | |
parent | 5dc44b6d22ff2ed856cf8a24d8d94b6749faa398 (diff) |
add draft installation instructions
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -6,3 +6,25 @@ with operator overloading. In honour of Marian Rejewski, a Polish mathematician and cryptologist. + +Installation +------------ + +Requirements: + +* g++ with C++14 +* CUDA and CuDNN + +Exporting some paths for CuDNN may be required (put it, for example, in your `.bashrc` file): + + export PATH=$PATH:$HOME/.local/bin:/usr/local/cuda/bin + export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cudnn-5/lib64 + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cudnn-5/lib64 + export CPATH=$CPATH:/usr/local/cudnn-5/include + +Compilation with `cmake > 3.5`: + + mkdir build + cmake .. + make -j + |