matlab on amazon g2 linux instance
조회 수: 8 (최근 30일)
이전 댓글 표시
I have a problem similar to: http://www.mathworks.com/matlabcentral/answers/137378-is-it-possible-to-run-matlab-with-parallel-computing-toolbox-on-amazon-gpu
I cannot get Matlab 2014a to see the K520 GPU on a g2.2xlarge linux instance. I am connected via ssh. I would appreciate any pointers to make matlab see the gpu on the machine...
>> !nvidia-smi
Sun Dec 14 22:12:15 2014
+------------------------------------------------------+
| NVIDIA-SMI 340.32 Driver Version: 340.32 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GRID K520 On | 0000:00:03.0 Off | N/A |
| N/A 44C P8 17W / 125W | 10MiB / 4095MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| No running compute processes found |
+-----------------------------------------------------------------------------+
>> gpuDevice
gpuDevice
Error using gpuDevice (line 26)
An unexpected error occurred during CUDA execution. The CUDA error was:
CUDA_ERROR_UNKNOWN
^G>> gpuDeviceCount
gpuDeviceCount
ans =
0
댓글 수: 1
Gareth Stevenson
2015년 1월 5일
Hi Deniz
I started a g2.2xlarge Linux instance and got R2014a to use the GPU, output is below. A possible difference is that I used a desktop version of Ubuntu 12.04 LTS.
>> !nvidia-smi Mon Jan 5 17:41:27 2015 +------------------------------------------------------+ | NVIDIA-SMI 340.32 Driver Version: 340.32 | -------------------------------+----------------------+----------------------+ | GPU Name Persistence-M Bus-Id Disp.A | Volatile Uncorr. ECC Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. ===============================+======================+======================| | 0 GRID K520 Off | 0000:00:03.0 Off | N/A | | N/A 34C P0 0W / 125W | 10MiB / 4095MiB | 0% Default | +-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Compute processes: GPU Memory GPU PID Process name Usage | ============================================================================= | No running compute processes found | +-----------------------------------------------------------------------------+ >> >> >> gpuDevice
ans =
CUDADevice with properties:
Name: 'GRID K520'
Index: 1
ComputeCapability: '3.0'
SupportsDouble: 1
DriverVersion: 6.5000
ToolkitVersion: 5.5000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 4.2948e+09
FreeMemory: 4.2118e+09
MultiprocessorCount: 8
ClockRateKHz: 797000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 0
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel and Cloud에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!