[Not supported] Enable/install OpenCL for Folding At Home

Post Reply
tmihai20
Posts: 229
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, Go, H2, N2 (4GB)
Location: Romania
Has thanked: 34 times
Been thanked: 9 times
Contact:

[Not supported] Enable/install OpenCL for Folding At Home

Post by tmihai20 »

I have recently started to use Folding At Home on my H2 running Debian 9 (Stretch) (basically under OpenMediaVault). How can I enable OpenCL so that Folding At Home can use that? H2 is online all the time and the F@H Client is reporting that it cannot find the lib:

OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so': libOpenCL.so: cannot open shared object file: No such file or directory

Should I install opencl that can be found in the Debian repos? Will it support H2? Most importantly, can I do this with the headless install of Debian? I will definitely not install anything with a GUI for this.

Edit: I realized that I can install mesa-opencl-icd. Will this be enough or should I use beignet-opencl-icd?

Later later edit: I installed , but it seems Folding At Home does not have support for Intel Integrated graphic chips. I ended up installing both mesa-opencl-icd and beignet-opencl-icd, but it does not work.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

rexxster
Posts: 2
Joined: Fri Mar 20, 2020 7:44 pm
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by rexxster »


mad_ady
Posts: 8561
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by mad_ady »

Not sure how much performance you can squeeze out of the gpu, compared to cpu. Anyway - is there a way to stop/start the f@h client via cron?

tmihai20
Posts: 229
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, Go, H2, N2 (4GB)
Location: Romania
Has thanked: 34 times
Been thanked: 9 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by tmihai20 »

Intel integrated graphics GPU are not supported because they are not good enough and mesa-opencl-icd contains the openCL library (ocl-icd-opencl-dev is a developer library).
@mad_ady: what do you mean by cron? It should be possible to have a cron job that just stops and starts the service via systemd whenever you want:

sudo systemctl stop FAHClient
sudo systemctl start FAHClient

I was only able to start/stop the service via root.
These users thanked the author tmihai20 for the post:
mad_ady (Sun Mar 22, 2020 5:18 pm)
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

mad_ady
Posts: 8561
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by mad_ady »

Thanks! I was unaware of the systemd service, only of the gui client. I can put my work pc to work

MarkOct18
Posts: 3
Joined: Sun Oct 21, 2018 5:11 am
languages_spoken: english
ODROIDs: None currently. That's why I am joining.
Has thanked: 0
Been thanked: 0
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by MarkOct18 »

mad_ady: I want to use an odroid n2 for 2 things, one to run Koki and the other is to run Folding at HOme, 24/7/365. I need some advice. Yours is the only post I can find that discusses f@h, this forum. Or pretty much anywhere else on the net.

mad_ady
Posts: 8561
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by mad_ady »

I've looked a bit and it doesn't seem f@h has any arm/arm64 linux clients. Even if they did it's not a guarantee they could run covid19 jobs.
But they seem to have an android client. Try to install an android n2 image and install kodi and fah and let us know how it goes.

tmihai20
Posts: 229
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, Go, H2, N2 (4GB)
Location: Romania
Has thanked: 34 times
Been thanked: 9 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by tmihai20 »

I did not find any information about an arm64 client as well. I was only able to find THIS information on their forums. Android seems to be the best choice now.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

mad_ady
Posts: 8561
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by mad_ady »

It looks like FAH has run out of work units for the moment...

Code: Select all

******************************* Date: 2020-03-29 *******************************
08:16:38:WU01:FS00:Connecting to 65.254.110.245:8080
08:16:39:WARNING:WU01:FS00:Failed to get assignment from '65.254.110.245:8080': Empty work server assignment
08:16:39:WU01:FS00:Connecting to 18.218.241.186:80
08:16:39:WARNING:WU01:FS00:Failed to get assignment from '18.218.241.186:80': Empty work server assignment
08:16:39:ERROR:WU01:FS00:Exception: Could not get an assignment
******************************* Date: 2020-03-29 *******************************
14:16:38:WU01:FS00:Connecting to 65.254.110.245:8080
14:16:39:WARNING:WU01:FS00:Failed to get assignment from '65.254.110.245:8080': Empty work server assignment
14:16:39:WU01:FS00:Connecting to 18.218.241.186:80
14:16:39:WARNING:WU01:FS00:Failed to get assignment from '18.218.241.186:80': Empty work server assignment
14:16:39:ERROR:WU01:FS00:Exception: Could not get an assignment


tmihai20
Posts: 229
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, Go, H2, N2 (4GB)
Location: Romania
Has thanked: 34 times
Been thanked: 9 times
Contact:

Re: [Not supported] Enable/install OpenCL for Folding At Home

Post by tmihai20 »

F@H crunches a lot on GPU these days. My GPU was running F@H until a few minutes ago (now I have some tasks on the CPU cores). It looks like GPUs are preferred because of their computing power.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest