wanderine / BROCCOLI

BROCCOLI: Software for Fast fMRI Analysis on Many-Core CPUs and GPUs
GNU General Public License v3.0
115 stars 38 forks source link

AMD gpu and Docker failed #46

Closed dpaniukov closed 6 years ago

dpaniukov commented 6 years ago

Hello! I have tried to install Broccoli under Ubuntu 16.04 with an AMDgpu driver, but it fails to compile the following error:

Authored by K.A. Eklund Data size: 91 x 109 x 91 x 23 Number of permutations: 5000 Number of regressors: 1 Number of contrasts: 1 Performing 1 t-tests Mean design detected for t-contrast 1 Max number of sign flips is 8.38861e+06 Initialization error is "Unable to create a command queue for the selected device and platform." OpenCL error is "CL_OUT_OF_HOST_MEMORY" OpenCL initialization failed, aborting! See buildInfo* for output of OpenCL compilation!

My OpenCL seems to be installed on platform 0 and device 0:

Device info


Platform number: 0

Platform vendor: Advanced Micro Devices, Inc. Platform name: AMD Accelerated Parallel Processing Platform extentions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform profile: FULL_PROFILE


Device number: 0

Device vendor: Advanced Micro Devices, Inc. Device name: Oland Hardware version: OpenCL 1.2 AMD-APP (2527.3) Software version: 2527.3 OpenCL C version: OpenCL C 1.2 Device 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_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event Global memory size in MB: 1619 Size of largest memory object in MB: 1169 Global memory cache size in KB: 16 Local memory size in KB: 32 Constant memory size in KB: 64 Parallel compute units: 6 Clock frequency in MHz: 1050 Max number of threads per block: 256 Max number of threads in each dimension: 1024 1024 1024

Then I tried Docker and it failed to download the dropbox files.

I will be happy if you can help me running the Broccoli on either Ubuntu 16 or under the dropbox container.

wanderine commented 6 years ago

How much memory do you have for the CPU? It says out of host memory, i.e. CPU memory.

So far I have not tried to use the docker container for GPUs

2018-02-15 21:09 GMT+01:00 Dmitrii Paniukov notifications@github.com:

Hello! I have tried to install Broccoli under Ubuntu 16.04 with an AMDgpu driver, but it fails to compile the following error:

Authored by K.A. Eklund Data size: 91 x 109 x 91 x 23 Number of permutations: 5000 Number of regressors: 1 Number of contrasts: 1 Performing 1 t-tests Mean design detected for t-contrast 1 Max number of sign flips is 8.38861e+06 Initialization error is "Unable to create a command queue for the selected device and platform." OpenCL error is "CL_OUT_OF_HOST_MEMORY" OpenCL initialization failed, aborting! See buildInfo* for output of OpenCL compilation!

My OpenCL seems to be installed on platform 0 and device 0:

Device info

Platform number: 0 Platform vendor: Advanced Micro Devices, Inc. Platform name: AMD Accelerated Parallel Processing Platform extentions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform profile: FULL_PROFILE

Device number: 0

Device vendor: Advanced Micro Devices, Inc. Device name: Oland Hardware version: OpenCL 1.2 AMD-APP (2527.3) Software version: 2527.3 OpenCL C version: OpenCL C 1.2 Device 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_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event Global memory size in MB: 1619 Size of largest memory object in MB: 1169 Global memory cache size in KB: 16 Local memory size in KB: 32 Constant memory size in KB: 64 Parallel compute units: 6 Clock frequency in MHz: 1050 Max number of threads per block: 256 Max number of threads in each dimension: 1024 1024 1024

Then I tried Docker and it failed to download the dropbox files.

I will be happy if you can help me running the Broccoli on either Ubuntu 16 or under the dropbox container.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wanderine/BROCCOLI/issues/46, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGryIhMv7N3thpOfAwtaq78IwWFutmWks5tVI75gaJpZM4SHbub .

-- Anders Eklund, PhD

dpaniukov commented 6 years ago

Here is an output from 'top': %Cpu(s): 4.6 us, 1.3 sy, 1.3 ni, 92.6 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem : 32878688 total, 27665932 free, 2436992 used, 2775764 buff/cache KiB Swap: 33492988 total, 33488124 free, 4864 used. 29844024 avail Mem

And the 'lscpu' output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 60 Model name: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz Stepping: 3 CPU MHz: 3591.918 CPU max MHz: 4000.0000 CPU min MHz: 800.0000 BogoMIPS: 7183.83 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-7

wanderine commented 6 years ago

Hmm, seems like you have plenty of CPU memory. The only thing I can think of is that your AMD graphics card is a bit too old.

2018-02-16 21:18 GMT+01:00 Dmitrii Paniukov notifications@github.com:

Here is an output from 'top': %Cpu(s): 4.6 us, 1.3 sy, 1.3 ni, 92.6 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem : 32878688 total, 27665932 free, 2436992 used, 2775764 buff/cache KiB Swap: 33492988 total, 33488124 free, 4864 used. 29844024 avail Mem

And the 'lscpu' output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 60 Model name: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz Stepping: 3 CPU MHz: 3591.918 CPU max MHz: 4000.0000 CPU min MHz: 800.0000 BogoMIPS: 7183.83 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-7

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wanderine/BROCCOLI/issues/46#issuecomment-366347059, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGryBy-JuHq8NPGa9cg3BQDG-IFmm5Nks5tVeKugaJpZM4SHbub .

-- Anders Eklund, PhD

dpaniukov commented 6 years ago

Thanks, I'll try to find a card that works with the software then.