Open anupdas777 opened 6 years ago
hello,I meet the same problem.Had you solved the problem?I really need your help.Thank you
@anupdas777 , @Cheng012 you only have to run install.m
if you want to use the GPU-based estimators implemented in TRENTOOL. If this is not the case you can run your analyses without compiling the GPU mex-files.
Thank you for your answer.I'm working on a huge dataset,I want to make use of the GPU-based estimators. However I am not familar with GPU programming. I can't solve the problem of gpuKnnLibrary.lib and cadart.lib not found. Could you give me some advices?
The gpuKnnLibrary.lib error is likely due to the required function being deprecated in current cuda distributions.
The last cuda distribution that explicitly had the required functions for trentool was cuda 8.0. Make sure you have a graphics card compatible with cuda 8.0, install ubuntu 16 or 14, and make sure you install the appropriate kernel. You then have to correctly install the cuda toolkit, with the included driver. The following links were helpful for me:
https://www.linkedin.com/pulse/installing-nvidia-cuda-80-ubuntu-1604-linux-gpu-new-victor http://ubuntuhandbook.org/index.php/2016/01/how-to-install-linux-kernel-4-4-in-ubuntu/ https://docs.nvidia.com/cuda/archive/8.0/
While running install.m to install the TRENTOOL toolbox, the following error shows up in MATLAB:
Error using mex MEX cannot find library 'gpuKnnLibrary' specified with the -l option. MEX looks for a file with one of the names: libgpuKnnLibrary.lib gpuKnnLibrary.lib Please specify the path to this library with the -L option.
Error in install (line 4) mex('-v',['-L' '.'], '-lgpuKnnLibrary', ['-L' CUDA_LIB_PATH],'-lcudart', 'fnearneigh_gpu.cpp');
I can see a file named libgpuKnnLibrary.a, but no file named libgpuKnnLibrary.lib exists in the toolbox. How to solve this problem? Please help.