summaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authordkazanc <dkazanc@hotmail.com>2019-03-12 17:29:07 +0000
committerdkazanc <dkazanc@hotmail.com>2019-03-12 17:29:07 +0000
commit420e71a0dcb42e91e1aa93306c2e2f688b309620 (patch)
tree116a2e9d8cbd0ed5297497c99d3747feba5a79c2 /run.sh
parentb901525766f8e3473ef58a19bf3fadc178d3778c (diff)
downloadregularization-420e71a0dcb42e91e1aa93306c2e2f688b309620.tar.gz
regularization-420e71a0dcb42e91e1aa93306c2e2f688b309620.tar.bz2
regularization-420e71a0dcb42e91e1aa93306c2e2f688b309620.tar.xz
regularization-420e71a0dcb42e91e1aa93306c2e2f688b309620.zip
cmakelists fixes, matlab wrappers done
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/run.sh b/run.sh
index b2be0d6..7700603 100755
--- a/run.sh
+++ b/run.sh
@@ -10,17 +10,17 @@ export CIL_VERSION=19.03
# install Python modules 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 with CUDA
-cmake ../ -DBUILD_PYTHON_WRAPPER=ON -DBUILD_MATLAB_WRAPPER=OFF -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
+# cmake ../ -DBUILD_PYTHON_WRAPPER=ON -DBUILD_MATLAB_WRAPPER=OFF -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
# install Matlab modules without CUDA
-# cmake ../ -DBUILD_PYTHON_WRAPPER=OFF -DMatlab_ROOT_DIR=/dls_sw/apps/matlab/r2014a/ -DBUILD_MATLAB_WRAPPER=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
+#cmake ../ -DBUILD_PYTHON_WRAPPER=OFF -DMatlab_ROOT_DIR=/dls_sw/apps/matlab/r2014a/ -DBUILD_MATLAB_WRAPPER=ON -DBUILD_CUDA=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
# install Matlab modules with CUDA
-# cmake ../ -DBUILD_PYTHON_WRAPPER=OFF -DMatlab_ROOT_DIR=/dls_sw/apps/matlab/r2014a/ -DBUILD_MATLAB_WRAPPER=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
+cmake ../ -DBUILD_PYTHON_WRAPPER=OFF -DMatlab_ROOT_DIR=/dls_sw/apps/matlab/r2014a/ -DBUILD_MATLAB_WRAPPER=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
make install
#### Python
#cp install/lib/libcilreg.so install/python/ccpi/filters
# cd install/python
-export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../lib
-spyder
+# export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../lib
+# spyder
##### Matlab (Linux)
#PATH="/path/to/mex/:$PATH" LD_LIBRARY_PATH="/path/to/library:$LD_LIBRARY_PATH" matlab
-#PATH="/home/kjy41806/Documents/SOFT/CCPi-Regularisation-Toolkit/build_proj/install/matlab/:$PATH" LD_LIBRARY_PATH="/home/kjy41806/Documents/SOFT/CCPi-Regularisation-Toolkit/build_proj/install/lib:$LD_LIBRARY_PATH" matlab
+PATH="/home/kjy41806/Documents/SOFT/CCPi-Regularisation-Toolkit/build_proj/install/matlab/:$PATH" LD_LIBRARY_PATH="/home/kjy41806/Documents/SOFT/CCPi-Regularisation-Toolkit/build_proj/install/lib:$LD_LIBRARY_PATH" matlab