R2011a on Windows HPC Server 2008 R2 cluster can't see CUDA card
조회 수: 2 (최근 30일)
이전 댓글 표시
I have computers with a GeForce GTX 470's running Windows HPC Server 2008 R2. I use 3 computer as client, Head Node and Compute Node. Compute Node computer only have GeForce GTX 470. But others have a ATI graphic card.
However, when I run below matlab code in client, it errors out.
matlabpool hpc % hpc is a scheduler of HPC Cluster
spmd
gpuDevice
end
Error message is below.
??? Error using ==> spmd_feval at 8
Error detected on lab(s) 4
Caused by:
No device supporting CUDA was found.
Error stack:
currentDeviceIndex.m at 7
deviceProperties.m at 8
GPUDevice>GPUDevice.current at 34
gpuDevice.m at 18
Is there additional configuration I need to do to matlab to get it work with GPU?
댓글 수: 0
채택된 답변
Jason Ross
2011년 10월 4일
In the HPC Server setup, you need to indicate that the GPUs need to run with a desktop/console open.
This applies to cards that require a display driver to run CUDA and cannot be run in "service" mode.
댓글 수: 0
추가 답변 (2개)
Elwin Chan
2011년 10월 5일
Hi Heesun,
The easiest way to set a job environment variable from MATLAB is to use the "JobDescriptionFile" property on the HPC Server scheduler object. You can set this using the Configurations Manager or directly on the scheduler object returned from findResource().
You need to use the HPC Cluster Manager or Job Manager UI that is supplied with HPC Server to create the job XML file. When you create a new job in the UI, there is an "Environment Variables" section where you can add in job environment variables. Once you have done this, you can click on the "Save Job XML File" button and then use that file as the "JobDescriptionFile" in the MATLAB configuration.
Elwin
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!