Is OpenCL Necessary?
Posted: Mon Jun 07, 2021 8:09 pm
So FAHClient finds the GPU and it finds CUDA, but not OpenCL. But /etc/init.d/FAHClient start I think it is complains about respawning too fast, and FAHClient complains about some database being locked. It all exits in a couple minutes.
I have no idea what's happening. I had thought OpenCL was a second-choice kinda thing vs CUDA, but maybe it's necessary to have in order to run at all.
Can anybody help?
t
It's Ubuntu Server 20, fresh install.
I see this in my tty window
and this in /var/lib/fahclient/log.txt
The following packages are installed. I guess they're all necessary. I see a mention of OpenGL but not OpenCL.
If I need another package, which one? I do NOT want X Windows on the machine. Already did one reinstall to get rid of that noise.
I have no idea what's happening. I had thought OpenCL was a second-choice kinda thing vs CUDA, but maybe it's necessary to have in order to run at all.
Can anybody help?
t
It's Ubuntu Server 20, fresh install.
I see this in my tty window
Code: Select all
trl@svr2:/etc/fahclient$ sudo /etc/init.d/FAHClient start
Starting fahclient ... 19:37:34:Read GPUs.txt
19:37:34:******************************* libFAH ********************************
19:37:34: Date: Oct 20 2020
19:37:34: Time: 20:36:39
19:37:34: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
19:37:34: Branch: master
19:37:34: Compiler: GNU 8.3.0
19:37:34: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
19:37:34: -fdata-sections -O3 -funroll-loops -fno-pie
19:37:34: Platform: linux2 5.8.0-1-amd64
19:37:34: Bits: 64
19:37:34: Mode: Release
19:37:34:****************************** FAHClient ******************************
19:37:34: Version: 7.6.21
19:37:34: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
19:37:34: Copyright: 2020 foldingathome.org
19:37:34: Homepage: https://foldingathome.org/
19:37:34: Date: Oct 20 2020
19:37:34: Time: 20:39:00
19:37:34: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
19:37:34: Branch: master
19:37:34: Compiler: GNU 8.3.0
19:37:34: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
19:37:34: -fdata-sections -O3 -funroll-loops -fno-pie
19:37:34: Platform: linux2 5.8.0-1-amd64
19:37:34: Bits: 64
19:37:34: Mode: Release
19:37:34: Args: /etc/fahclient/config.xml --run-as fahclient
19:37:34: --pid-file=/var/run/fahclient.pid --daemon
19:37:34: Config: /etc/fahclient/config.xml
19:37:34:******************************** CBang ********************************
19:37:34: Date: Oct 20 2020
19:37:34: Time: 18:37:59
19:37:34: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
19:37:34: Branch: master
19:37:34: Compiler: GNU 8.3.0
19:37:34: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
19:37:34: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
19:37:34: Platform: linux2 5.8.0-1-amd64
19:37:34: Bits: 64
19:37:34: Mode: Release
19:37:34:******************************* System ********************************
19:37:34: CPU: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
19:37:34: CPU ID: GenuineIntel Family 6 Model 23 Stepping 6
19:37:34: CPUs: 8
19:37:34: Memory: 49.03GiB
19:37:34: Free Memory: 618.70MiB
19:37:34: Threads: POSIX_THREADS
19:37:34: OS Version: 5.4
19:37:34: Has Battery: false
19:37:34: On Battery: false
19:37:34: UTC Offset: 0
19:37:34: PID: 39194
19:37:34: CWD: /var/lib/fahclient
19:37:34: OS: Linux 5.4.0-74-generic x86_64
19:37:34: OS Arch: AMD64
19:37:34: GPUs: 1
19:37:34: GPU 0: Bus:2 Slot:0 Func:0 NVIDIA:7 GP106 [GeForce GTX 1060 3GB] 3935
19:37:34:CUDA Device 0: Platform:0 Device:0 Bus:2 Slot:0 Compute:6.1 Driver:11.2
19:37:34: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
19:37:34: libOpenCL.so: cannot open shared object file: No such file or
19:37:34: directory
19:37:34:***********************************************************************
19:37:34:<config>
19:37:34: <!-- Client Control -->
19:37:34: <fold-anon v='true'/>
19:37:34:
19:37:34: <!-- HTTP Server -->
19:37:34: <allow v='192.168.0.0/24'/>
19:37:34:
19:37:34: <!-- Process Control -->
19:37:34: <fork v='true'/>
19:37:34: <pid v='true'/>
19:37:34: <respawn v='true'/>
19:37:34: <service v='true'/>
19:37:34:
19:37:34: <!-- Remote Command Server -->
19:37:34: <password v='*****'/>
19:37:34:
19:37:34: <!-- Slot Control -->
19:37:34: <power v='full'/>
19:37:34:
19:37:34: <!-- User Information -->
19:37:34: <team v='nnnnn'/>
19:37:34: <user v='xxxxx'/>
19:37:34:
19:37:34: <!-- Web Server -->
19:37:34: <web-allow v='192.168.0.0/24'/>
19:37:34:
19:37:34: <!-- Folding Slots -->
19:37:34: <slot id='0' type='GPU'/>
19:37:34: <slot id='1' type='CPU'>
19:37:34: <cpus v='4'/>
19:37:34: </slot>
19:37:34:</config>
OK
trl@svr2:/etc/fahclient$ 19:38:04:Child exited with return code 1
19:38:34:Child exited with return code 1
19:39:04:Child exited with return code 1
19:39:34:Child exited with return code 1
19:40:04:Child exited with return code 1
19:40:04:ERROR:Respawning too fast. Exiting.
Code: Select all
perfect replica of the above, plus
19:39:34:Trying to access database...
19:40:04:ERROR:Exception: Error executing: 'PRAGMA synchronous=NORMAL': database is locked
If I need another package, which one? I do NOT want X Windows on the machine. Already did one reinstall to get rid of that noise.
Code: Select all
libnvidia-cfg1-460 460.80-0ubuntu0.20.04.2 K-O NVIDIA binary OpenGL/GLX configuration library
libnvidia-compute-460 460.80-0ubuntu0.20.04.2 K-O NVIDIA libcompute package
nvidia-dkms-460 460.80-0ubuntu0.20.04.2 K-O NVIDIA DKMS package
nvidia-kernel-common-460 460.80-0ubuntu0.20.04.2 K-O Shared files used with the kernel module
nvidia-kernel-source-460 460.80-0ubuntu0.20.04.2 K-O NVIDIA kernel source package
nvidia-utils-460 460.80-0ubuntu0.20.04.2 K-O NVIDIA driver support binaries