VirtualCL Setup
#1
I am trying to create VirtualCL setup using my pc and a VM on the same PC as a broker.
the clinfo on the physical pc shows both devices for "openCL-1.2" i.e. my AMD GPU 6670 and the CPU i7. But, vclrun clinfo shows only one device on my physical PC i.e CPU and also with openCL 1.1 it does not show GPU, I want to run my program on GPU. Also on my VM on which broker is running vclrun clinfo displays error i.e. access denied.

OS- CentOS 6.4
#2
not really enough information here for us to help you.

but make sure you have followed the guide & troubleshooting steps on the wiki.
#3
vclrun ./clinfo displays-



Found 1 platform(s).
platform[0x1]: profile: FULL_PROFILE
platform[0x1]: version: OpenCL 1.1 0.0.0.0
platform[0x1]: name: VirtualCL (VCL)
platform[0x1]: vendor: Shiloh Distributed Solutions
platform[0x1]: extensions: multi-node
platform[0x1]: Found 1 device(s).
device[0xb5d0f0]: NAME: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
device[0xb5d0f0]: VENDOR: GenuineIntel
device[0xb5d0f0]: PROFILE: FULL_PROFILE
device[0xb5d0f0]: VERSION: OpenCL 1.2 AMD-APP (1307.1)
device[0xb5d0f0]: EXTENSIONS: cl_khr_fp64 cl_amd_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt
device[0xb5d0f0]: DRIVER_VERSION: 1307.1 (sse2,avx)

device[0xb5d0f0]: Type: CPU
device[0xb5d0f0]: EXECUTION_CAPABILITIES: Kernel Native
device[0xb5d0f0]: GLOBAL_MEM_CACHE_TYPE: Read-Write (2)
device[0xb5d0f0]: CL_DEVICE_LOCAL_MEM_TYPE: Global (2)
device[0xb5d0f0]: SINGLE_FP_CONFIG: 0xbf
device[0xb5d0f0]: QUEUE_PROPERTIES: 0x2

device[0xb5d0f0]: VENDOR_ID: 4098
device[0xb5d0f0]: MAX_COMPUTE_UNITS: 8
device[0xb5d0f0]: MAX_WORK_ITEM_DIMENSIONS: 3
device[0xb5d0f0]: MAX_WORK_GROUP_SIZE: 1024
device[0xb5d0f0]: PREFERRED_VECTOR_WIDTH_CHAR: 16
device[0xb5d0f0]: PREFERRED_VECTOR_WIDTH_SHORT: 8
device[0xb5d0f0]: PREFERRED_VECTOR_WIDTH_INT: 4
device[0xb5d0f0]: PREFERRED_VECTOR_WIDTH_LONG: 2
device[0xb5d0f0]: PREFERRED_VECTOR_WIDTH_FLOAT: 8
device[0xb5d0f0]: PREFERRED_VECTOR_WIDTH_DOUBLE: 4
device[0xb5d0f0]: MAX_CLOCK_FREQUENCY: 1600
device[0xb5d0f0]: ADDRESS_BITS: 64
device[0xb5d0f0]: MAX_MEM_ALLOC_SIZE: 2147483648
device[0xb5d0f0]: IMAGE_SUPPORT: 1
device[0xb5d0f0]: MAX_READ_IMAGE_ARGS: 128
device[0xb5d0f0]: MAX_WRITE_IMAGE_ARGS: 8
device[0xb5d0f0]: IMAGE2D_MAX_WIDTH: 8192
device[0xb5d0f0]: IMAGE2D_MAX_HEIGHT: 8192
device[0xb5d0f0]: IMAGE3D_MAX_WIDTH: 2048
device[0xb5d0f0]: IMAGE3D_MAX_HEIGHT: 2048
device[0xb5d0f0]: IMAGE3D_MAX_DEPTH: 2048
device[0xb5d0f0]: MAX_SAMPLERS: 16
device[0xb5d0f0]: MAX_PARAMETER_SIZE: 4096
device[0xb5d0f0]: MEM_BASE_ADDR_ALIGN: 1024
device[0xb5d0f0]: MIN_DATA_TYPE_ALIGN_SIZE: 128
device[0xb5d0f0]: GLOBAL_MEM_CACHELINE_SIZE: 64
device[0xb5d0f0]: GLOBAL_MEM_CACHE_SIZE: 32768
device[0xb5d0f0]: GLOBAL_MEM_SIZE: 8235778048
device[0xb5d0f0]: MAX_CONSTANT_BUFFER_SIZE: 65536
device[0xb5d0f0]: MAX_CONSTANT_ARGS: 8
device[0xb5d0f0]: LOCAL_MEM_SIZE: 32768
device[0xb5d0f0]: ERROR_CORRECTION_SUPPORT: 0
device[0xb5d0f0]: PROFILING_TIMER_RESOLUTION: 1
device[0xb5d0f0]: ENDIAN_LITTLE: 1
device[0xb5d0f0]: AVAILABLE: 1
device[0xb5d0f0]: COMPILER_AVAILABLE: 1


and by running the without virtualCL i.e. ./clinfo gives the following output-

Found 1 platform(s).
platform[0x7f379884ac40]: profile: FULL_PROFILE
platform[0x7f379884ac40]: version: OpenCL 1.2 AMD-APP (1307.1)
platform[0x7f379884ac40]: name: AMD Accelerated Parallel Processing
platform[0x7f379884ac40]: vendor: Advanced Micro Devices, Inc.
platform[0x7f379884ac40]: extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
platform[0x7f379884ac40]: Found 2 device(s).
device[0xa1a240]: NAME: Turks
device[0xa1a240]: VENDOR: Advanced Micro Devices, Inc.
device[0xa1a240]: PROFILE: FULL_PROFILE
device[0xa1a240]: VERSION: OpenCL 1.2 AMD-APP (1307.1)
device[0xa1a240]: EXTENSIONS: 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_amd_image2d_from_buffer_read_only
device[0xa1a240]: DRIVER_VERSION: 1307.1

device[0xa1a240]: Type: GPU
device[0xa1a240]: EXECUTION_CAPABILITIES: Kernel
device[0xa1a240]: GLOBAL_MEM_CACHE_TYPE: None (0)
device[0xa1a240]: CL_DEVICE_LOCAL_MEM_TYPE: Local (1)
device[0xa1a240]: SINGLE_FP_CONFIG: 0x3e
device[0xa1a240]: QUEUE_PROPERTIES: 0x2

device[0xa1a240]: VENDOR_ID: 4098
device[0xa1a240]: MAX_COMPUTE_UNITS: 6
device[0xa1a240]: MAX_WORK_ITEM_DIMENSIONS: 3
device[0xa1a240]: MAX_WORK_GROUP_SIZE: 256
device[0xa1a240]: PREFERRED_VECTOR_WIDTH_CHAR: 16
device[0xa1a240]: PREFERRED_VECTOR_WIDTH_SHORT: 8
device[0xa1a240]: PREFERRED_VECTOR_WIDTH_INT: 4
device[0xa1a240]: PREFERRED_VECTOR_WIDTH_LONG: 2
device[0xa1a240]: PREFERRED_VECTOR_WIDTH_FLOAT: 4
device[0xa1a240]: PREFERRED_VECTOR_WIDTH_DOUBLE: 0
device[0xa1a240]: MAX_CLOCK_FREQUENCY: 800
device[0xa1a240]: ADDRESS_BITS: 32
device[0xa1a240]: MAX_MEM_ALLOC_SIZE: 134217728
device[0xa1a240]: IMAGE_SUPPORT: 1
device[0xa1a240]: MAX_READ_IMAGE_ARGS: 128
device[0xa1a240]: MAX_WRITE_IMAGE_ARGS: 8
device[0xa1a240]: IMAGE2D_MAX_WIDTH: 16384
device[0xa1a240]: IMAGE2D_MAX_HEIGHT: 16384
device[0xa1a240]: IMAGE3D_MAX_WIDTH: 2048
device[0xa1a240]: IMAGE3D_MAX_HEIGHT: 2048
device[0xa1a240]: IMAGE3D_MAX_DEPTH: 2048
device[0xa1a240]: MAX_SAMPLERS: 16
device[0xa1a240]: MAX_PARAMETER_SIZE: 1024
device[0xa1a240]: MEM_BASE_ADDR_ALIGN: 2048
device[0xa1a240]: MIN_DATA_TYPE_ALIGN_SIZE: 128
device[0xa1a240]: GLOBAL_MEM_CACHELINE_SIZE: 0
device[0xa1a240]: GLOBAL_MEM_CACHE_SIZE: 0
device[0xa1a240]: GLOBAL_MEM_SIZE: 536870912
device[0xa1a240]: MAX_CONSTANT_BUFFER_SIZE: 65536
device[0xa1a240]: MAX_CONSTANT_ARGS: 8
device[0xa1a240]: LOCAL_MEM_SIZE: 32768
device[0xa1a240]: ERROR_CORRECTION_SUPPORT: 0
device[0xa1a240]: PROFILING_TIMER_RESOLUTION: 1
device[0xa1a240]: ENDIAN_LITTLE: 1
device[0xa1a240]: AVAILABLE: 1
device[0xa1a240]: COMPILER_AVAILABLE: 1
device[0xdb7bf0]: NAME: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
device[0xdb7bf0]: VENDOR: GenuineIntel
device[0xdb7bf0]: PROFILE: FULL_PROFILE
device[0xdb7bf0]: VERSION: OpenCL 1.2 AMD-APP (1307.1)
device[0xdb7bf0]: EXTENSIONS: cl_khr_fp64 cl_amd_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt
device[0xdb7bf0]: DRIVER_VERSION: 1307.1 (sse2,avx)

device[0xdb7bf0]: Type: CPU
device[0xdb7bf0]: EXECUTION_CAPABILITIES: Kernel Native
device[0xdb7bf0]: GLOBAL_MEM_CACHE_TYPE: Read-Write (2)
device[0xdb7bf0]: CL_DEVICE_LOCAL_MEM_TYPE: Global (2)
device[0xdb7bf0]: SINGLE_FP_CONFIG: 0xbf
device[0xdb7bf0]: QUEUE_PROPERTIES: 0x2

device[0xdb7bf0]: VENDOR_ID: 4098
device[0xdb7bf0]: MAX_COMPUTE_UNITS: 8
device[0xdb7bf0]: MAX_WORK_ITEM_DIMENSIONS: 3
device[0xdb7bf0]: MAX_WORK_GROUP_SIZE: 1024
device[0xdb7bf0]: PREFERRED_VECTOR_WIDTH_CHAR: 16
device[0xdb7bf0]: PREFERRED_VECTOR_WIDTH_SHORT: 8
device[0xdb7bf0]: PREFERRED_VECTOR_WIDTH_INT: 4
device[0xdb7bf0]: PREFERRED_VECTOR_WIDTH_LONG: 2
device[0xdb7bf0]: PREFERRED_VECTOR_WIDTH_FLOAT: 8
device[0xdb7bf0]: PREFERRED_VECTOR_WIDTH_DOUBLE: 4
device[0xdb7bf0]: MAX_CLOCK_FREQUENCY: 3401
device[0xdb7bf0]: ADDRESS_BITS: 64
device[0xdb7bf0]: MAX_MEM_ALLOC_SIZE: 2147483648
device[0xdb7bf0]: IMAGE_SUPPORT: 1
device[0xdb7bf0]: MAX_READ_IMAGE_ARGS: 128
device[0xdb7bf0]: MAX_WRITE_IMAGE_ARGS: 8
device[0xdb7bf0]: IMAGE2D_MAX_WIDTH: 8192
device[0xdb7bf0]: IMAGE2D_MAX_HEIGHT: 8192
device[0xdb7bf0]: IMAGE3D_MAX_WIDTH: 2048
device[0xdb7bf0]: IMAGE3D_MAX_HEIGHT: 2048
device[0xdb7bf0]: IMAGE3D_MAX_DEPTH: 2048
device[0xdb7bf0]: MAX_SAMPLERS: 16
device[0xdb7bf0]: MAX_PARAMETER_SIZE: 4096
device[0xdb7bf0]: MEM_BASE_ADDR_ALIGN: 1024
device[0xdb7bf0]: MIN_DATA_TYPE_ALIGN_SIZE: 128
device[0xdb7bf0]: GLOBAL_MEM_CACHELINE_SIZE: 64
device[0xdb7bf0]: GLOBAL_MEM_CACHE_SIZE: 32768
device[0xdb7bf0]: GLOBAL_MEM_SIZE: 8235778048
device[0xdb7bf0]: MAX_CONSTANT_BUFFER_SIZE: 65536
device[0xdb7bf0]: MAX_CONSTANT_ARGS: 8
device[0xdb7bf0]: LOCAL_MEM_SIZE: 32768
device[0xdb7bf0]: ERROR_CORRECTION_SUPPORT: 0
device[0xdb7bf0]: PROFILING_TIMER_RESOLUTION: 1
device[0xdb7bf0]: ENDIAN_LITTLE: 1
device[0xdb7bf0]: AVAILABLE: 1
device[0xdb7bf0]: COMPILER_AVAILABLE: 1
#4
did you disable x11 acls?