Hi,
I have successfully installed CUDA drive for my Geforce 9800 GT graphics card, also I am pretty sure that there shouldn’t be any problem with the installation of the CUDA SDK and toolkit. But when I got down to install the CUDA Matlab Plug-in, I got the following messages and the error.
unix(‘make’);
/usr/local/matlab/bin/mex CFLAGS=‘-fPIC -D_GNU_SOURCE -pthread -fexceptions’ COPTIMFLAGS=‘-O3 -funroll-loops -msse2’ fft2_cuda.c
-I/usr/local/cuda/include -L/usr/local/cuda/lib -lcudart -lcufft -Wl,-rpath,/usr/local/cuda/lib
/usr/local/matlab/bin/mex CFLAGS=‘-fPIC -D_GNU_SOURCE -pthread -fexceptions’ COPTIMFLAGS=‘-O3 -funroll-loops -msse2’ fft2_cuda_sp_dp.c
-I/usr/local/cuda/include -L/usr/local/cuda/lib -lcudart -lcufft -Wl,-rpath,/usr/local/cuda/lib
/usr/local/matlab/bin/mex CFLAGS=‘-fPIC -D_GNU_SOURCE -pthread -fexceptions’ COPTIMFLAGS=‘-O3 -funroll-loops -msse2’ ifft2_cuda.c
-I/usr/local/cuda/include -L/usr/local/cuda/lib -lcudart -lcufft -Wl,-rpath,/usr/local/cuda/lib
./nvmex -f nvopts.sh Szeta.cu -I/usr/local/cuda/include -L/usr/local/cuda/lib -lcudart -lcufft -Wl,-rpath,/usr/local/cuda/lib
.: 1412: nvopts.sh: not found
make: *** [Szeta.mexglx] Error 2
Could someone tell me what I should do about this? Why Matlab can’t find the file of nvopts.sh? I am working right in the directory where it resides.
Thanks so much!
Some more information might be useful: OS: Ubuntu 8.10, Matlab Ver. 7.8