cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

perhaad
Adept I

OpenCL cluster install for AMD Gpus

Installing OpenCL on compute nodes of Rocks

Hello.

Can some one possibly guide me on the installation of AMD's OpenCL SDK when Xwindows has to be specially installed. My usage case is for a cluster where some of the compute nodes have an AMD GPU.

[pmistry@compute-0-9 x86_64]$ ./CLInfo
terminate called after throwing an instance of 'cl::Error'
  what():  clGetPlatformIDs

Aborted
[pmistry@compute-0-9 x86_64]$ ./HelloCL
HelloCL!
Getting Platform Information
Platform::get() failed (-1001)

I tried installing X and Gnome on the compute nodes of the cluster using the yum groupinstall "X Window " "GNOME"

I have also switched to init 5.

When I run the CAL stuff I get the below problems.

[pmistry@compute-0-9 x86_64]$ ./FindNumDevices
Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.553
Use -? for help
CAL initialized.
Finding out number of devices :-
Device Count = 0
CAL shutdown successful.

Press enter to exit...

[pmistry@compute-0-9 x86_64]$ ./hellocal      
Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.553
Use -? for help
Segmentation fault

I have followed the steps in. However in here it mentions to change the permissions of a non-existing directory in the .conf

http://developer.amd.com/gpu_assets/App_Note-Running_ATI_Stream_Apps_Remotely.pdf

I have setup the ICD and also have the env variables mentioned setup. If anyone can give me some pointers, I would greatly appreciate it.

This is similar to the thread but there has been no progress on that one.

http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=128129

Thank You

Perhaad

0 Likes
5 Replies
nou
Exemplar

what distribution did you use?

can you run FindNumDevices from normal console logged in localy?

0 Likes

Hi Nou,

Thanks for the quick response. When I sit on the servers console *locally on KVM* Both FindNumberofDevices and HelloCal run into something like a infinite loop.

OS information is below...

[root@medusa share]# cat /etc/*-release
CentOS release 5.3 (Final)

Rocks release 5.1 (V.I)

[root@medusa share]# cat /proc/version
Linux version 2.6.18-128.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jan 21 10:41:14 EST 2009

0 Likes

did your Xserver running? and 3D acceeration works?

0 Likes

Hello Nou,

I re-installed the X-server using base-x and gnome-desktop packages suggested on the Rocks mailing list,

I got GNOME working and I now have OpenCL running, However there is still albeit one more problem with CAL because the HelloCal example segfaults.

Is that expected or something?

ati-config lists these 2 adapters

* 0. 02:00.0 ATI Radeon HD 5800 Series
  1. 03:00.0 ATI Radeon HD 5800 Series

Thank You,

Perhaad

0 Likes

Which driver and SDK version are you using?

0 Likes