7 Replies Latest reply on May 12, 2010 8:44 AM by jacelyn5

    How does install opencl on ubuntu 9.10 with HD4870

    jacelyn5

      my video card is HD4870, and system is ubuntu 9.10.

      I try to opencl on ubuntu 9.10 for many times, but it fails.

      After installing Catalyst 10.4, it fails to initialize.

      I am not familiar with linux.

      I want to give me some help to install opencl on ubuntu 9.10

        • How does install opencl on ubuntu 9.10 with HD4870
          omkaranathan

          Please be more specific about the issue you are facing.

          What are the steps followed? What is the exact error message you are getting? Are you able to run the samples coming with the SDK?

            • How does install opencl on ubuntu 9.10 with HD4870
              jacelyn5

               

              Originally posted by: omkaranathan Please be more specific about the issue you are facing.

              What are the steps followed? What is the exact error message you are getting? Are you able to run the samples coming with the SDK?

              after installing catalyst 10.4(but click icon of catalyst center to open it, it points fails to initialize?.I still try to install opencl following the steps in the ATI Stream SDK Installation Notes.

              when i run three samples in directory of bin,give following massages

              root@leaf-desktop:/usr/local/src/ati-stream-sdk-v2.01-lnx32/samples/opencl/bin/x86# ./CLInfo Number of platforms: 1 Plaform Profile: FULL_PROFILE Plaform Version: OpenCL 1.0 ATI-Stream-v2.0.1 Plaform Name: ATI Stream Plaform Vendor: Advanced Micro Devices, Inc. Plaform Extensions: cl_khr_icd Plaform Name: ATI Stream Number of devices: 1 Device Type: CL_DEVICE_TYPE_CPU Device ID: 4098 Max compute units: 1 Max work items dimensions: 3 Max work items[0]: 1024 Max work items[1]: 1024 Max work items[2]: 1024 Max work group size: 1024 Preferred vector width char: 16 Preferred vector width short: 8 Preferred vector width int: 4 Preferred vector width long: 2 Preferred vector width float: 4 Preferred vector width double: 0 Max clock frequency: 2929Mhz Address bits: 32 Max memeory allocation: 536870912 Image support: No Max size of kernel argument: 4096 Alignment (bits) of base address: 32768 Minimum alignment (bytes) for any datatype: 128 Single precision floating point capability Denorms: Yes Quiet NaNs: Yes Round to nearest even: Yes Round to zero: No Round to +ve and infinity: No IEEE754-2008 fused multiply-add: No Cache type: Read/Write Cache line size: 64 Cache size: 65536 Global memory size: 1073741824 Constant buffer size: 65536 Max number of constant args: 8 Local memory type: Global Local memory size: 32768 Profiling timer resolution: 1 Device endianess: Little Available: Yes Compiler available: Yes Execution capabilities: Execute OpenCL kernels: Yes Execute native function: No Queue properties: Out-of-Order: No Profiling : Yes Platform ID: 0x1942488 Name: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz Vendor: GenuineIntel Driver version: 1.0 Profile: FULL_PROFILE Version: OpenCL 1.0 ATI-Stream-v2.0.1 Extensions: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store root@leaf-desktop:/usr/local/src/ati-stream-sdk-v2.01-lnx32/samples/opencl/bin/x86# ./HelloCL HelloCL! Getting Platform Information Creating a context AMD platform Getting device info Loading and compiling CL source Running CL program Done Passed! root@leaf-desktop:/usr/local/src/ati-stream-sdk-v2.01-lnx32/samples/opencl/bin/x86# ./DCT Input 103.565 251.209 234.812 108.953 63.5448 90.2759 141.268 206.025 80.5846 243.091 134.841 187.95 202.214 63.129 237.73 250.68 201.99 80.141 237.755 55.9185 46.3578 208.598 108.133 32.2995 9.68677 64.0055 117.776 206.594 121.761 59.8683 198.555 225.326 55.0771 177.367 78.2782 118.622 11.6431 219.546 68.6471 92.2277 206.637 203.488 24.1781 152.851 10.6174 5.90764 147.531 212.607 86.0487 129.286 12.5259 132.406 81.8836 120.659 164.706 91.5704 184.665 26.4821 42.1645 50.4256 86.3504 240.72 19.7512 141.427 Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND

                • How does install opencl on ubuntu 9.10 with HD4870
                  omkaranathan

                  Are you getting any error message during driver installation?

                  Did you have any drivers installed in your system previously?

                  Could you run the CAL sample 'FindNumDevices' and post the results?

                   

                    • How does install opencl on ubuntu 9.10 with HD4870
                      jacelyn5

                      Today ,I reinstall ubuntu 9.10, the opencl samples can run. the resaon that samples cannot run is i install OS on Virtual Machine before reinstalling.

                      But?I trouble another problem.I need to install g++ complier,but give me some messages

                      " Mark additional required changes?

                        The chosen action also affect other packages.

                        The following changes are required in order to processed

                        To be removed

                                  fglrx_amdcccle

                                  xorg_driver_fglrx

                        To be installed

                                 g++-4.4

                                 libstdc++6-4.4-dev "

                      If click " done" to install g++, I don't make sure that opencl smaple could run.

                      How  can I do?

                • How does install opencl on ubuntu 9.10 with HD4870
                  llukas11

                  type into terminal:

                  dmesg |grep fglrx

                  if driver is installed properly you should get something similar:

                  [    5.503720] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
                  [    5.532564] [fglrx] Maximum main memory to use for locked dma buffers: 1880 MBytes.
                  [    5.532629] [fglrx]   vendor: 1002 device: 6898 count: 1
                  [    5.533083] [fglrx] ioport: bar 4, base 0xc000, size: 0x100
                  [    5.533539] [fglrx] Kernel PAT support is enabled
                  [    5.533566] [fglrx] module loaded - fglrx 8.72.5 [Apr  6 2010] with 1 minors