gpuArray not working in matlab!
Mostrar comentarios más antiguos
I have matlab 2014b running on my Ubuntu 14.04 LTS 64bit, Nvidia and CUDA (6.5) drivers are the newest. When I use gpuArray I get the following error: "Error using gpuArray The CUDA runtime failed to initialize correctly. This can occur with some older CUDA drivers."
I tried everything but nothing helped. Please help me with this matlab bug.
3 comentarios
Michal
el 1 de Dic. de 2014
I can confirm that.
Same problem with MATLAB R2014b on Ubuntu 14.04 with default nvidia-331 proprietary driver.
Looks like MATLAB r2014b does not support Ubuntu 14.04!!??
Edric Ellis
el 1 de Dic. de 2014
What does
parallel.internal.gpu.CUDADriverVersion
return? Also, could you try running
version -modules
and posting any lines that match libcuda.so.
Dariosh
el 18 de Ag. de 2015
Respuestas (3)
Zachary Taylor
el 11 de Dic. de 2014
0 votos
I had a similar issue after ubuntu updated to the nvidia-331 driver today. However the issue went away after I ran matlab with sudo once. I'm guessing it needed permission to modify a file after the driver update.
Dariosh
el 12 de Dic. de 2014
0 votos
TJ
el 21 de En. de 2015
0 votos
make sure you have the paths set properly in your .bashrc file (or similar .cshrc file). export CUDA_HOME=/usr/local/cuda export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 PATH=${CUDA_HOME}/bin:${PATH} export PATH
Categorías
Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!