R2011a on Windows HPC Server 2008 R2 cluster can't see CUDA card

조회 수: 2 (최근 30일)
Heesun
Heesun 2011년 10월 4일
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?

채택된 답변

Jason Ross
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.

추가 답변 (2개)

Elwin Chan
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

Heesun
Heesun 2011년 10월 5일
Thank you for your answer.
By above page, environment variables of job is set "HPC_CREATECONSOLE". But I don't know how to set environment variables of job as "HPC_CREATECONSOLE".
Could you tell me how to set environment variables of job?
Thank you.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by