It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.
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
*********************** 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%)
I'm a novice *nix user and I'm having the same issue. Doing a search here on clGetPlatformIDs( ) does get returns (I noticed that you did not have a space between the parenthesis). From what little I understand this appears to be a known permission issue. Being that I'm a novice I'm pretty weak on what to do next. Perhaps you can figure this out?
I'm also experiencing this same Error, but on Fedora 31 (KDE). I've seen a few similar (very old) posts saying that their resolution was to switch the OpenCL index from -1 to 1, but am not sure how. Closet command I have found in --help is:
opencl-index <string>
The OpenCL device index of the GPU, counting starts from 0.
I tried --opencl-index 1 (and zero), but continue to receive the same error. Device specs and drivers go over my head a bit.
CPU works fine, yay.
03:28:12:INFO(1):Read GPUs.txt
03:28:12:************************* Folding@home Client *************************
03:28:12: Website: https://foldingathome.org/
03:28:12: Copyright: (c) 2009-2018 foldingathome.org
03:28:12: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
03:28:12: Args: --gui-enabled=true --opencl-index 1
03:28:12: Config: /home/manda/config.xml
03:28:12:******************************** Build ********************************
03:28:12: Version: 7.5.1
03:28:12: Date: May 12 2018
03:28:12: Time: 22:51:07
03:28:12: Repository: Git
03:28:12: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
03:28:12: Branch: master
03:28:12: Compiler: GNU 4.4.7 20120313 (Red Hat 4.4.7-18)
03:28:12: Options: -std=gnu++98 -O3 -funroll-loops
03:28:12: Platform: linux2 4.14.0-3-amd64
03:28:12: Bits: 64
03:28:12: Mode: Release
03:28:12:******************************* System ********************************
03:28:12: CPU: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz
03:28:12: CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
03:28:12: CPUs: 4
03:28:12: Memory: 31.31GiB
03:28:12: Free Memory: 25.22GiB
03:28:12: Threads: POSIX_THREADS
03:28:12: OS Version: 5.5
03:28:12: Has Battery: false
03:28:12: On Battery: false
03:28:12: UTC Offset: -5
03:28:12: PID: 6555
03:28:12: CWD: /home/manda
03:28:12: OS: Linux 5.5.8-200.fc31.x86_64 x86_64
03:28:12: OS Arch: AMD64
03:28:12: GPUs: 1
03:28:12: GPU 0: Bus:5 Slot:0 Func:0 NVIDIA:7 GP106 [GeForce GTX 1060 3GB] 3935
03:28:12:CUDA Device 0: Platform:0 Device:0 Bus:5 Slot:0 Compute:6.1 Driver:10.2
03:28:12: OpenCL: Not detected: clGetDeviceIDs() returned -1
03:28:12:***********************************************************************
03:28:12:<config>
03:28:12: <!-- Folding Slots -->
03:28:12: <slot id='0' type='CPU'/>
03:28:12: <slot id='1' type='GPU'/>
03:28:12:</config>
03:28:12:Trying to access database...
03:28:12:Successfully acquired database lock
03:28:12:Enabled folding slot 00: READY cpu:2
03:28:12:Enabled folding slot 01: READY gpu:0:GP106 [GeForce GTX 1060 3GB] 3935
03:28:12:ERROR:Exception: Could not bind socket to 0.0.0.0:7396: Address already in use
03:28:12:ERROR:Exception: Could not bind socket to 0.0.0.0:36330: Address already in use
03:28:12:WU01:FS00:Starting
03:28:12:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /home/manda/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 01 -suffix 01 -version 705 -lifeline 6555 -checkpoint 15 -np 2
03:28:12:WU01:FS00:Started FahCore on PID 6573
03:28:12:WU01:FS00:Core PID:6577
03:28:12:WU01:FS00:FahCore 0xa7 started
03:28:12:WU00:FS01:Connecting to 65.254.110.245:8080
03:28:13:WARNING:WU00:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
03:28:13:WU00:FS01:Connecting to 18.218.241.186:80
03:28:13:WARNING:WU00:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
03:28:13:ERROR:WU00:FS01:Exception: Could not get an assignment
03:28:13:WU01:FS00:0xa7:*********************** Log Started 2020-03-17T03:28:12Z ***********************
03:28:13:WU01:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
03:28:13:WU01:FS00:0xa7: Type: 0xa7
03:28:13:WU01:FS00:0xa7: Core: Gromacs
03:28:13:WU01:FS00:0xa7: Args: -dir 01 -suffix 01 -version 705 -lifeline 6573 -checkpoint 15 -np 2
03:28:13:WU01:FS00:0xa7:************************************ CBang *************************************
03:28:13:WU01:FS00:0xa7: Date: Nov 5 2019
03:28:13:WU01:FS00:0xa7: Time: 06:06:57
03:28:13:WU01:FS00:0xa7: Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
03:28:13:WU01:FS00:0xa7: Branch: master
03:28:13:WU01:FS00:0xa7: Compiler: GNU 8.3.0
03:28:13:WU01:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
03:28:13:WU01:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
03:28:13:WU01:FS00:0xa7: Bits: 64
03:28:13:WU01:FS00:0xa7: Mode: Release
03:28:13:WU01:FS00:0xa7:************************************ System ************************************
03:28:13:WU01:FS00:0xa7: CPU: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz
03:28:13:WU01:FS00:0xa7: CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
03:28:13:WU01:FS00:0xa7: CPUs: 4
03:28:13:WU01:FS00:0xa7: Memory: 31.31GiB
03:28:13:WU01:FS00:0xa7:Free Memory: 25.21GiB
03:28:13:WU01:FS00:0xa7: Threads: POSIX_THREADS
03:28:13:WU01:FS00:0xa7: OS Version: 5.5
03:28:13:WU01:FS00:0xa7:Has Battery: false
03:28:13:WU01:FS00:0xa7: On Battery: false
03:28:13:WU01:FS00:0xa7: UTC Offset: -5
03:28:13:WU01:FS00:0xa7: PID: 6577
03:28:13:WU01:FS00:0xa7: CWD: /home/manda/work
03:28:13:WU01:FS00:0xa7:******************************** Build - libFAH ********************************
03:28:13:WU01:FS00:0xa7: Version: 0.0.18
03:28:13:WU01:FS00:0xa7: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
03:28:13:WU01:FS00:0xa7: Copyright: 2019 foldingathome.org
03:28:13:WU01:FS00:0xa7: Homepage: https://foldingathome.org/
03:28:13:WU01:FS00:0xa7: Date: Nov 5 2019
03:28:13:WU01:FS00:0xa7: Time: 06:13:26
03:28:13:WU01:FS00:0xa7: Revision: 490c9aa2957b725af319379424d5c5cb36efb656
03:28:13:WU01:FS00:0xa7: Branch: master
03:28:13:WU01:FS00:0xa7: Compiler: GNU 8.3.0
03:28:13:WU01:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie
03:28:13:WU01:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
03:28:13:WU01:FS00:0xa7: Bits: 64
03:28:13:WU01:FS00:0xa7: Mode: Release
03:28:13:WU01:FS00:0xa7:************************************ Build *************************************
03:28:13:WU01:FS00:0xa7: SIMD: avx_256
03:28:13:WU01:FS00:0xa7:********************************************************************************
03:28:13:WU01:FS00:0xa7:Project: 14328 (Run 1, Clone 404, Gen 4)
03:28:13:WU01:FS00:0xa7:Unit: 0x000000059bf7a4d65e6d13c1f5cf55fd
03:28:13:WU01:FS00:0xa7:Digital signatures verified
03:28:13:WU01:FS00:0xa7:Calling: mdrun -s frame4.tpr -o frame4.trr -cpi state.cpt -cpt 15 -nt 2
03:28:13:WU01:FS00:0xa7:Steps: first=1000000 total=250000
03:28:13:WU00:FS01:Connecting to 65.254.110.245:8080
03:28:13:WARNING:WU00:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
03:28:13:WU00:FS01:Connecting to 18.218.241.186:80
03:28:13:WARNING:WU00:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
03:28:13:ERROR:WU00:FS01:Exception: Could not get an assignment
03:28:14:WU01:FS00:0xa7:Completed 129122 out of 250000 steps (51%)
03:28:39:WU01:FS00:0xa7:Completed 130000 out of 250000 steps (52%)
03:29:13:WU00:FS01:Connecting to 65.254.110.245:8080
03:29:14:WARNING:WU00:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
03:29:14:WU00:FS01:Connecting to 18.218.241.186:80
03:29:14:WARNING:WU00:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
03:29:14:ERROR:WU00:FS01:Exception: Could not get an assignment
03:29:51:WU01:FS00:0xa7:Completed 132500 out of 250000 steps (53%)
03:30:51:WU00:FS01:Connecting to 65.254.110.245:8080
03:30:51:WARNING:WU00:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
03:30:51:WU00:FS01:Connecting to 18.218.241.186:80
03:30:51:WARNING:WU00:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
03:30:51:ERROR:WU00:FS01:Exception: Could not get an assignment
03:31:03:WU01:FS00:0xa7:Completed 135000 out of 250000 steps (54%)
03:32:16:WU01:FS00:0xa7:Completed 137500 out of 250000 steps (55%)
03:33:28:WU00:FS01:Connecting to 65.254.110.245:8080
03:33:28:WARNING:WU00:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
03:33:28:WU00:FS01:Connecting to 18.218.241.186:80
03:33:28:WARNING:WU00:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
03:33:28:ERROR:WU00:FS01:Exception: Could not get an assignment
And then I installed ROCm following this guide. Now the error -1001 is gone, but my GPU is not detected. I tried to install my drivers again but it resulted in the computer being stuck on boot. By the way
The failed to get work messages are from the servers being overloaded and not not being able to keep up with all of the requests from all of the new an old folding participants.
Hopefully someone familiar with getting OpenCL setup on the linux systems you have will see these and post on fixes.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3