cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

msellitto
Journeyman III

Getting OpenCL applications to run remotely in Ubuntu 9.10

I'm having a problem getting OpenCL applications to run remotely over SSH in Ubuntu 9.10

I have the Catalyst 10.2 drivers installed.

ATI Stream SDK 2.0

The samples work locally on the machine but not remotely over SSH.

I login to the machine with SSH -X

http://developer.amd.com/support/KnowledgeBase/Lists/KnowledgeBase/DispForm.aspx?ID=19

I followed these instructions exactly (for the RHEL) except for part C I put the line in my /etc/bash.bashrc instead of /etc/bashrc

HelloCL works fine but when I try to run GPU applications I got a CL_DEVICE_NOT_FOUND error.

CLInfo does not see a GPU.

The weird thing is my collegue is running Ubuntu 9.04 and his works fine.

Any ideas on how to fix this?

 

0 Likes
3 Replies
nou
Exemplar

try without -X parameter. second check if you have DISPLAY exported and that you logged as the same user as localy.

0 Likes

It was the -X option

Thank you!

Not sure I understand why this is (I'm no linux or SSH expert), I thought we needed the Xserver to run openCL apps, but it works!

I like having the Xwindows to edit source code, is this the way its supposed to work?

I suppose I can use a seperate SSH session to do editing and seperate one for executing apps.

0 Likes

Xserver load fglrx driver. OpenCL is build on top of CAL which acces to GPU through Xserver.

0 Likes