OpenCL: Not detected: clGetPlatformIDs() returned -1001
Posted: Mon Mar 16, 2020 10:55 am
Hello, for some reason the GPU is not active. I suppose this is the cause of the problem. The CPU works just fine.
I could not find a solution to this problem online, neither could I find what the code "-1001" stands for.
The system I am using is Ubuntu 18.04.4 LTS. To install openCL and drivers I ran
And the drevers I got form the official amd website.
Extracted them and ran
Then I rebooted. Sadly the problem did not go away.
My logs are these:
I could not find a solution to this problem online, neither could I find what the code "-1001" stands for.
The system I am using is Ubuntu 18.04.4 LTS. To install openCL and drivers I ran
Code: Select all
sudo apt install build-essential dkms
Code: Select all
sudo apt install ocl-icd-opencl-dev
Extracted them and ran
Code: Select all
./amdgpu-pro-install
My logs are these:
Code: Select all
*********************** Log Started 2020-03-16T10:32:50Z ***********************
10:32:50:************************* Folding@home Client *************************
10:32:50: Website: https://foldingathome.org/
10:32:50: Copyright: (c) 2009-2018 foldingathome.org
10:32:50: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
10:32:50: Args: --config /home/trayan/Documents/config.xml
10:32:50: Config: /home/trayan/Documents/config.xml
10:32:50:******************************** Build ********************************
10:32:50: Version: 7.5.1
10:32:50: Date: May 11 2018
10:32:50: Time: 19:59:04
10:32:50: Repository: Git
10:32:50: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
10:32:50: Branch: master
10:32:50: Compiler: GNU 6.3.0 20170516
10:32:50: Options: -std=gnu++98 -O3 -funroll-loops
10:32:50: Platform: linux2 4.14.0-3-amd64
10:32:50: Bits: 64
10:32:50: Mode: Release
10:32:50:******************************* System ********************************
10:32:50: CPU: AMD Ryzen 5 2600 Six-Core Processor
10:32:50: CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
10:32:50: CPUs: 12
10:32:50: Memory: 15.66GiB
10:32:50:Free Memory: 9.04GiB
10:32:50: Threads: POSIX_THREADS
10:32:50: OS Version: 4.15
10:32:50:Has Battery: false
10:32:50: On Battery: false
10:32:50: UTC Offset: 2
10:32:50: PID: 6218
10:32:50: CWD: /home/trayan
10:32:50: OS: Linux 4.15.0-88-generic x86_64
10:32:50: OS Arch: AMD64
10:32:50: GPUs: 1
10:32:50: GPU 0: Bus:38 Slot:0 Func:0 AMD:5 Ellesmere XT [Radeon RX 470/480/570/580]
10:32:50: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
10:32:50: libcuda.so: cannot open shared object file: No such file or
10:32:50: directory
10:32:50: OpenCL: Not detected: clGetPlatformIDs() returned -1001
10:32:50:***********************************************************************
10:32:50:<config>
10:32:50: <!-- Network -->
10:32:50: <proxy v=':8080'/>
10:32:50:
10:32:50: <!-- Slot Control -->
10:32:50: <power v='full'/>
10:32:50:
10:32:50: <!-- User Information -->
10:32:50: <user v='Trayan'/>
10:32:50:
10:32:50: <!-- Folding Slots -->
10:32:50: <slot id='0' type='CPU'/>
10:32:50: <slot id='1' type='GPU'>
10:32:50: <opencl-index v='1'/>
10:32:50: </slot>
10:32:50:</config>
10:32:50:Trying to access database...
10:32:50:Successfully acquired database lock
10:32:50:Enabled folding slot 00: READY cpu:11
10:32:50:Enabled folding slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580]
[91m10:32:50:ERROR:No compute devices matched GPU #0 AMD:5 Ellesmere XT [Radeon RX 470/480/570/580]. You may need to update your graphics drivers.[0m
10:32:50:WU00:FS00:Starting
[93m10:32:50:WARNING:WU00:FS00:AS lowered CPUs from 11 to 10[0m
10:32:50:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /home/trayan/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 705 -lifeline 6218 -checkpoint 15 -np 10
10:32:50:WU00:FS00:Started FahCore on PID 6227
10:32:50:WU00:FS00:Core PID:6231
10:32:50:WU00:FS00:FahCore 0xa7 started
10:32:50:WU01:FS01:Connecting to 65.254.110.245:8080
10:32:50:WU00:FS00:0xa7:*********************** Log Started 2020-03-16T10:32:50Z ***********************
10:32:50:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
10:32:50:WU00:FS00:0xa7: Type: 0xa7
10:32:50:WU00:FS00:0xa7: Core: Gromacs
10:32:50:WU00:FS00:0xa7: Args: -dir 00 -suffix 01 -version 705 -lifeline 6227 -checkpoint 15 -np
10:32:50:WU00:FS00:0xa7: 10
10:32:50:WU00:FS00:0xa7:************************************ CBang *************************************
10:32:50:WU00:FS00:0xa7: Date: Nov 5 2019
10:32:50:WU00:FS00:0xa7: Time: 06:06:57
10:32:50:WU00:FS00:0xa7: Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
10:32:50:WU00:FS00:0xa7: Branch: master
10:32:50:WU00:FS00:0xa7: Compiler: GNU 8.3.0
10:32:50:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
10:32:50:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
10:32:50:WU00:FS00:0xa7: Bits: 64
10:32:50:WU00:FS00:0xa7: Mode: Release
10:32:50:WU00:FS00:0xa7:************************************ System ************************************
10:32:50:WU00:FS00:0xa7: CPU: AMD Ryzen 5 2600 Six-Core Processor
10:32:50:WU00:FS00:0xa7: CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
10:32:50:WU00:FS00:0xa7: CPUs: 12
10:32:50:WU00:FS00:0xa7: Memory: 15.66GiB
10:32:50:WU00:FS00:0xa7:Free Memory: 9.04GiB
10:32:50:WU00:FS00:0xa7: Threads: POSIX_THREADS
10:32:50:WU00:FS00:0xa7: OS Version: 4.15
10:32:50:WU00:FS00:0xa7:Has Battery: false
10:32:50:WU00:FS00:0xa7: On Battery: false
10:32:50:WU00:FS00:0xa7: UTC Offset: 2
10:32:50:WU00:FS00:0xa7: PID: 6231
10:32:50:WU00:FS00:0xa7: CWD: /home/trayan/work
10:32:50:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
10:32:50:WU00:FS00:0xa7: Version: 0.0.18
10:32:50:WU00:FS00:0xa7: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
10:32:50:WU00:FS00:0xa7: Copyright: 2019 foldingathome.org
10:32:50:WU00:FS00:0xa7: Homepage: https://foldingathome.org/
10:32:50:WU00:FS00:0xa7: Date: Nov 5 2019
10:32:50:WU00:FS00:0xa7: Time: 06:13:26
10:32:50:WU00:FS00:0xa7: Revision: 490c9aa2957b725af319379424d5c5cb36efb656
10:32:50:WU00:FS00:0xa7: Branch: master
10:32:50:WU00:FS00:0xa7: Compiler: GNU 8.3.0
10:32:50:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie
10:32:50:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
10:32:50:WU00:FS00:0xa7: Bits: 64
10:32:50:WU00:FS00:0xa7: Mode: Release
10:32:50:WU00:FS00:0xa7:************************************ Build *************************************
10:32:50:WU00:FS00:0xa7: SIMD: avx_256
10:32:50:WU00:FS00:0xa7:********************************************************************************
10:32:50:WU00:FS00:0xa7:Project: 14182 (Run 7, Clone 283, Gen 14)
10:32:50:WU00:FS00:0xa7:Unit: 0x000000110002894b5dae08db2e099b92
10:32:50:WU00:FS00:0xa7:Digital signatures verified
10:32:50:WU00:FS00:0xa7:Calling: mdrun -s frame14.tpr -o frame14.trr -cpi state.cpt -cpt 15 -nt 10
10:32:50:WU00:FS00:0xa7:Steps: first=35000000 total=2500000
10:32:51:WU00:FS00:0xa7:Completed 141492 out of 2500000 steps (5%)
[93m10:32:51:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
10:32:51:WU01:FS01:Connecting to 18.218.241.186:80
[93m10:32:52:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m10:32:52:ERROR:WU01:FS01:Exception: Could not get an assignment[0m
10:32:52:WU01:FS01:Connecting to 65.254.110.245:8080
[93m10:32:53:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
10:32:53:WU01:FS01:Connecting to 18.218.241.186:80
[93m10:32:53:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m10:32:53:ERROR:WU01:FS01:Exception: Could not get an assignment[0m
10:33:52:WU01:FS01:Connecting to 65.254.110.245:8080
[93m10:33:53:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
10:33:53:WU01:FS01:Connecting to 18.218.241.186:80
[93m10:33:53:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m10:33:53:ERROR:WU01:FS01:Exception: Could not get an assignment[0m
10:33:55:WU00:FS00:0xa7:Completed 150000 out of 2500000 steps (6%)
10:35:30:WU01:FS01:Connecting to 65.254.110.245:8080
10:35:30:WU01:FS01:Assigned to work server 155.247.164.213
10:35:31:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580] from 155.247.164.213
10:35:31:WU01:FS01:Connecting to 155.247.164.213:8080
[91m10:35:32:ERROR:WU01:FS01:Exception: 10001: Server responded: HTTP_SERVICE_UNAVAILABLE[0m
10:37:05:WU00:FS00:0xa7:Completed 175000 out of 2500000 steps (7%)
10:38:07:WU01:FS01:Connecting to 65.254.110.245:8080
[93m10:38:07:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
10:38:07:WU01:FS01:Connecting to 18.218.241.186:80
[93m10:38:08:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m10:38:08:ERROR:WU01:FS01:Exception: Could not get an assignment[0m
10:40:13:WU00:FS00:0xa7:Completed 200000 out of 2500000 steps (8%)