Matlab 2011b and Cuda

조회 수: 2 (최근 30일)
Marius Ionescu
Marius Ionescu 2011년 9월 14일
편집: Walter Roberson 2017년 3월 11일
Hi,
I downloaded and installed Matlab 2011b and, among other, the parallel toolbox. I do have an Nvidia CUDA card on my computer and with version 2011a I was able to use the cuda in matlab very well. In 2011b, however, I receive the following error if I try to do anything CUDA related: "Error using gpuArray (line 28) The CUDA runtime failed to initialize correctly. This can occur with some older CUDA drivers. Make sure that you have the latest CUDA driver for your system from NVIDIA."
I have CUDA 4.0 installed on my computer. I am running Ubuntu 11.04 64bits. If I open the 2011a version of the Matlab everything works fine.
Marius

답변 (3개)

Walter Roberson
Walter Roberson 2011년 9월 14일
It appears that new drivers (Linux version #270.41.19) were released about a month ago; perhaps that would help. See http://developer.nvidia.com/cuda-toolkit-40 to download the drivers

Dariosh
Dariosh 2014년 11월 18일
I have the same problem now with Ubuntu 14.04 with the news CUDA driver and Matlab 2014B. "Error using gpuArray The CUDA runtime failed to initialize correctly. This can occur with some older CUDA drivers" Somebody has any solusion?
  댓글 수: 1
Michal
Michal 2014년 12월 1일
I can confirm that. Same problem on Ubuntu 14.04 with nvidia-331 driver on MATLAB 2014b.
Any recommendations???

댓글을 달려면 로그인하십시오.


Edric Ellis
Edric Ellis 2011년 9월 16일
As Walter says, there are some relatively new CUDA drivers available for Linux, it's definitely worth getting the latest. If you still have trouble, please could you post the result of running
parallel.internal.gpu.CUDADriverVersion
  댓글 수: 2
Raghavendra Ramachandra
Raghavendra Ramachandra 2017년 3월 11일
'6.14.13.6886 (368.86)'
Walter Roberson
Walter Roberson 2017년 3월 11일
편집: Walter Roberson 2017년 3월 11일
Raghavendra Ramachandra: You are replying to a question from 5 1/2 years ago. Please indicate clearly which MATLAB version you are trying to use, and which operating system, and whether you are using 32 bit or 64 bit MATLAB, and the variety of card you are using.
The closest match I find to the driver number you provide is 368.86-quadro-tesla-grid-winserv2008-2008r2-2012-64bit-international-whql.exe which appears to be for Tesla card for the 2012 timeframe running on Windows Server 2008.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by