diff options
author | Daniil Kazantsev <dkazanc3@googlemail.com> | 2018-12-02 19:10:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-02 19:10:01 +0000 |
commit | 8b8dfc68fa6b70ec7eefcdfb928fb383196bec97 (patch) | |
tree | 2e0bbebd15b90ec493e381d07e89613aa2df55f0 /run.sh | |
parent | a106da50c7f428db2e4115fe1bdc0c156a933a21 (diff) | |
parent | b1651143a6d3c27ba4f6aea3dd0fb799799b2eca (diff) | |
download | regularization-8b8dfc68fa6b70ec7eefcdfb928fb383196bec97.tar.gz regularization-8b8dfc68fa6b70ec7eefcdfb928fb383196bec97.tar.bz2 regularization-8b8dfc68fa6b70ec7eefcdfb928fb383196bec97.tar.xz regularization-8b8dfc68fa6b70ec7eefcdfb928fb383196bec97.zip |
Merge pull request #73 from vais-ral/NLTV
Nonlocal TV method added (CPU version)
Diffstat (limited to 'run.sh')
-rw-r--r-- | run.sh | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#!/bin/bash +echo "Building CCPi-regularisation Toolkit using CMake" +# rm -r build +# Requires Cython, install it first: +# pip install cython +mkdir build +cd build/ +make clean +# install Python modules only without CUDA +cmake ../ -DBUILD_PYTHON_WRAPPER=ON -DBUILD_MATLAB_WRAPPER=OFF -DBUILD_CUDA=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install +# install Python modules only with CUDA +# cmake ../ -DBUILD_PYTHON_WRAPPER=ON -DBUILD_MATLAB_WRAPPER=OFF -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install +make install +# cp install/lib/libcilreg.so install/python/ccpi/filters +cd install/python +export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../lib +# spyder +# one can also run Matlab in Linux as: +# PATH="/path/to/mex/:$PATH" LD_LIBRARY_PATH="/path/to/library:$LD_LIBRARY_PATH" matlab |