GCC-9 upgrades break folding
Posted: Fri May 15, 2020 7:05 am
I drive an Antix linux, a rolling release. After the most recent update/upgrade, folding stopped working.
GCC-8 was upgraded to GCC-9, but the FAHClient was unable to use GCC-9. Everything just came to a halt, with error messages about "no opencl device" and "no opencl defined" along with a couple of others. It took a good bit of searching to figure out why I suddenly had no opencl devices.
If you are hit with GCC upgrades, the simplest solution is to install the update-alternatives package from your distro, then "install" both GCC and G++ into update-alternatives. Then choose to use GCC-8 rather than GCC-9. The help page that proved to be most valuable to me: https://askubuntu.com/questions/1028601 ... untu-18-04 You can actually copy/paste commands from that page into your own terminal, change the versions as necessary, then enter the commands. Or, to be safer, c/p into a text editor, do the editing necessary, then enter the commands into your root terminal.
Note that this doesn't appear to be a FAH problem, exactly. The problem is that nVidia looks for a particular GCC during installation, and refuses to install if it doesn't find a matching GCC. You may force install from the .run file, with --override, but folding won't work, and I suspect any other applications trying to use opencl will also fail.
Just ensure that the nVidia driver can access the compiler it is looking for, and the problem is solved.
GCC-8 was upgraded to GCC-9, but the FAHClient was unable to use GCC-9. Everything just came to a halt, with error messages about "no opencl device" and "no opencl defined" along with a couple of others. It took a good bit of searching to figure out why I suddenly had no opencl devices.
If you are hit with GCC upgrades, the simplest solution is to install the update-alternatives package from your distro, then "install" both GCC and G++ into update-alternatives. Then choose to use GCC-8 rather than GCC-9. The help page that proved to be most valuable to me: https://askubuntu.com/questions/1028601 ... untu-18-04 You can actually copy/paste commands from that page into your own terminal, change the versions as necessary, then enter the commands. Or, to be safer, c/p into a text editor, do the editing necessary, then enter the commands into your root terminal.
Note that this doesn't appear to be a FAH problem, exactly. The problem is that nVidia looks for a particular GCC during installation, and refuses to install if it doesn't find a matching GCC. You may force install from the .run file, with --override, but folding won't work, and I suspect any other applications trying to use opencl will also fail.
Just ensure that the nVidia driver can access the compiler it is looking for, and the problem is solved.