Re:Folding@home now has 400k users fighting coronavirus
by tomchuk on Friday March 20, 2020 @01:43PM
(#22639568)
As mentioned, you'll need to ensure your /etc/fahclient/client.xml includes:
<config>
<!-- Folding Slots -->
<slot id='0' type='CPU'/>
<slot id='1' type='GPU'/>
</config>
If you check your logs in /var/lib/fahclient/logs, you'll probably see something like: CUDA Device 0: Platform:0 Device:0 Bus:51 Slot:0 Compute:7.5 Driver:10.2
OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
libOpenCL.so: cannot open shared object file: No such file or
directory
Take that missing library over to the Ubuntu Package Search[0] and it will lead you to ocl-icd-opencl-dev apt install ocl-icd-opencl-dev
Restart fahclient and you should see something like: CUDA Device 0: Platform:0 Device:0 Bus:51 Slot:0 Compute:7.5 Driver:10.2
OpenCL Device 0: Platform:0 Device:0 Bus:51 Slot:0 Compute:1.2 Driver:440.64
[0] https://packages.ubuntu.com/search?suite=bionic&arch=amd64&m...
Re:Folding@home now has 400k users fighting coronavirus
by inamberclad on Friday March 20, 2020 @03:49PM
(#22640958)
This doesn't fix the problem, since ocl-icd* and nvidia-libopencl* provide libOpenCL.so.1 and FAHClient looks for libOpenCL.so, so you need to add a symlink, in the same directory.
Re:Folding@home now has 400k users fighting coronavirus
by ojii on Friday March 20, 2020 @12:33PM
(#22638926)
I think I got it to work by editing the config file at /etc/fahclient/config.xml and adding: <slot id='1' type='GPU'/>, then restarting the client. Took me some googling and trial and error though, so I agree this should be made clearer.
Re:Folding@home now has 400k users fighting coronavirus
by zlynx on Friday March 20, 2020 @12:32PM
(#22638918)
I followed every instruction to configure ROCM and OpenCL in Ubuntu 18 with my Vega 56 card. All the samples and such work but Folding@Home refuses to believe its there. It might be nice if someone at FAH actually tried using it on Linux.
I would also like a FAQ.
Re:Folding@home now has 400k users fighting coronavirus
by flo123456 on Friday March 20, 2020 @01:07PM
(#22639238)
Useful documentation would also be good.
Re:Folding@home now has 400k users fighting coronavirus
by inamberclad on Friday March 20, 2020 @03:48PM
(#22640948)
You have to symlink from libOpenCL.so.1 to libOpenCL.so, then restart and it should find your GPU.
Re:Folding@home now has 400k users fighting coronavirus
by jbreitbart on Friday March 20, 2020 @01:37PM
(#22639524)
I had to run
$ sudo apt install nvidia-opencl-dev
and than manually add a GPU slot to F@H.
Edit: I’d be glad to be proven wrong with a link to an FAQ or some part of the docs.