0 Replies Latest reply on Apr 23, 2010 6:48 AM by Veuvoch

    Internal error: Link Failed on Fedora 12

    Veuvoch
      Hello

      I'm trying to use the ATI Steam SDK v2.01 on a Fedora 12 x86_64.
      The OpenCL samples compile but I have a problem when I try to to run them on the CPU.
      I have an error when I try to run a kernel on the CPU :

      Internal error: Link failed.
      Make sure the system setup is correct.

      I don't know if the samples work on the GPU, because I only have a remote access to the computer, and I have no root priviledges (so I can't modify the configuration of the login manager). The ATI driver v10.3 is installed.

      The installation seems to be correct.

      [x86_64]$ echo $ATISTREAMSDKROOT /tsdisk/software/ati-stream-sdk-v2.01-lnx64 [x86_64]$ echo $ATISTREAMSDKSAMPLESROOT /tsdisk/software/ati-stream-sdk-v2.01-lnx64 [x86_64]$ echo $LD_LIBRARY_PATH /tsdisk/software/ati-stream-sdk-v2.01-lnx64/lib/x86_64: [x86_64]$ ls /usr/lib/OpenCL/vendors/ libatiocl32.so libatiocl64.so [x86_64]$ ./NBody --device cpu BUILD LOG ************************************************ Internal error: Link failed. Make sure the system setup is correct. ************************************************ Error: clBuildProgram failed. Error code : CL_BUILD_PROGRAM_FAILURE [x86_64]$ ./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: 4 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: 800Mhz Address bits: 64 Max memeory allocation: 1073741824 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: 3221225472 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: 0x7fbe276268d0 Name: AMD Phenom(tm) II X4 955 Processor Vendor: AuthenticAMD 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store