FAHClient crashing & GPU not recognized

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, FAHC Science Team

Post Reply
estiar
Posts: 4
Joined: Thu Oct 13, 2022 1:48 am

FAHClient crashing & GPU not recognized

Post by estiar »

Trying to get FAH working on my linux computer (Ubuntu 20.04 LTS)
I have an AMD graphics card, but the client does not recognize it. The client also fails on startup. Here's my output

Code: Select all

Starting fahclient ... 01:46:30:Downloading GPUs.txt from assign1.foldingathome.org:80
01:46:30:Connecting to assign1.foldingathome.org:80
01:46:31:WARNING:While updating GPUs.txt from assign1.foldingathome.org:80: Failed to open 'GPUs.txt.bak': Failed to open 'GPUs.txt.bak': Permission denied: iostream error: Permission denied
01:46:31:Downloading GPUs.txt from assign2.foldingathome.org:80
01:46:31:Connecting to assign2.foldingathome.org:80
01:46:31:WARNING:While updating GPUs.txt from assign2.foldingathome.org:80: Failed to open 'GPUs.txt.bak': Failed to open 'GPUs.txt.bak': Permission denied: iostream error: Permission denied
01:46:31:Downloading GPUs.txt from assign3.foldingathome.org:80
01:46:31:Connecting to assign3.foldingathome.org:80
01:46:32:WARNING:While updating GPUs.txt from assign3.foldingathome.org:80: Failed to open 'GPUs.txt.bak': Failed to open 'GPUs.txt.bak': Permission denied: iostream error: Permission denied
01:46:32:Downloading GPUs.txt from assign4.foldingathome.org:80
01:46:32:Connecting to assign4.foldingathome.org:80
01:46:32:WARNING:While updating GPUs.txt from assign4.foldingathome.org:80: Failed to open 'GPUs.txt.bak': Failed to open 'GPUs.txt.bak': Permission denied: iostream error: Permission denied
01:46:32:******************************* libFAH ********************************
01:46:32:       Date: Oct 20 2020
01:46:32:       Time: 20:36:39
01:46:32:   Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
01:46:32:     Branch: master
01:46:32:   Compiler: GNU 8.3.0
01:46:32:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
01:46:32:             -fdata-sections -O3 -funroll-loops -fno-pie
01:46:32:   Platform: linux2 5.8.0-1-amd64
01:46:32:       Bits: 64
01:46:32:       Mode: Release
01:46:32:****************************** FAHClient ******************************
01:46:32:    Version: 7.6.21
01:46:32:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
01:46:32:  Copyright: 2020 foldingathome.org
01:46:32:   Homepage: https://foldingathome.org/
01:46:32:       Date: Oct 20 2020
01:46:32:       Time: 20:39:00
01:46:32:   Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
01:46:32:     Branch: master
01:46:32:   Compiler: GNU 8.3.0
01:46:32:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
01:46:32:             -fdata-sections -O3 -funroll-loops -fno-pie
01:46:32:   Platform: linux2 5.8.0-1-amd64
01:46:32:       Bits: 64
01:46:32:       Mode: Release
01:46:32:       Args: /etc/fahclient/config.xml --run-as fahclient
01:46:32:             --pid-file=/var/run/fahclient.pid --daemon
01:46:32:     Config: /etc/fahclient/config.xml
01:46:32:******************************** CBang ********************************
01:46:32:       Date: Oct 20 2020
01:46:32:       Time: 18:37:59
01:46:32:   Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
01:46:32:     Branch: master
01:46:32:   Compiler: GNU 8.3.0
01:46:32:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
01:46:32:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
01:46:32:   Platform: linux2 5.8.0-1-amd64
01:46:32:       Bits: 64
01:46:32:       Mode: Release
01:46:32:******************************* System ********************************
01:46:32:        CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
01:46:32:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 12
01:46:32:       CPUs: 8
01:46:32:     Memory: 46.97GiB
01:46:32:Free Memory: 14.95GiB
01:46:32:    Threads: POSIX_THREADS
01:46:32: OS Version: 5.15
01:46:32:Has Battery: false
01:46:32: On Battery: false
01:46:32: UTC Offset: -5
01:46:32:        PID: 38336
01:46:32:        CWD: /var/lib/fahclient
01:46:32:         OS: Linux 5.15.0-48-generic x86_64
01:46:32:    OS Arch: AMD64
01:46:32:       GPUs: 0
01:46:32:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
01:46:32:             libcuda.so: cannot open shared object file: No such file or
01:46:32:             directory
01:46:32:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
01:46:32:             libOpenCL.so: cannot open shared object file: No such file or
01:46:32:             directory
01:46:32:***********************************************************************
01:46:32:<config>
01:46:32:  <!-- Client Control -->
01:46:32:  <fold-anon v='true'/>
01:46:32:
01:46:32:  <!-- Folding Slot Configuration -->
01:46:32:  <gpu v='false'/>
01:46:32:
01:46:32:  <!-- Process Control -->
01:46:32:  <fork v='true'/>
01:46:32:  <pid v='true'/>
01:46:32:  <respawn v='true'/>
01:46:32:  <service v='true'/>
01:46:32:
01:46:32:  <!-- User Information -->
01:46:32:  <team v='263467'/>
01:46:32:  <user v='Estiar'/>
01:46:32:
01:46:32:  <!-- Folding Slots -->
01:46:32:</config>
01:46:33:Child exited with return code 1
01:46:34:Child exited with return code 1
01:46:35:Child exited with return code 1
01:46:37:Child exited with return code 1
01:46:38:Child exited with return code 1
01:46:38:ERROR:Respawning too fast. Exiting.
FAIL
Any clues on how to fix this?
PaulTV
Posts: 210
Joined: Mon Jan 25, 2021 4:53 pm
Location: Netherlands

Re: FAHClient crashing & GPU not recognized

Post by PaulTV »

Welcome to the forum!

It looks like you may have two different problems here.

First that failed to open of GPUs.txt.bak: are you running FAH as a different user than root, and does that user own (recursively) /var/lib/fahclient?

Then as for the graphics card. What kind do you have? The card needs to support FP64 in hardware, and OpenCL 1.2, seriously old cards won't match all that. Did you install the official AMD drivers? The ones included with Ubuntu likely won't work with FAH. I don't have AMD myself, but for NVIdia it's the same. If you install the AMD drivers, you may want to have dkms installed first, so that kernel modules are updated when you update the kernel.
Image

Ryzen 9800X3D / RTX 4090 / Windows 11
Ryzen 5600X / RTX 3070 Ti / Ubuntu 22.04
Ryzen 5600 / RTX 3060 Ti / Windows 11
Joe_H
Site Admin
Posts: 7936
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: FAHClient crashing & GPU not recognized

Post by Joe_H »

The initial errors look like your system is not connected to the internet at the point that the client started. The client does need an active internet connection to get the GPUs.txt file from the servers first.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
estiar
Posts: 4
Joined: Thu Oct 13, 2022 1:48 am

Re: FAHClient crashing & GPU not recognized

Post by estiar »

PaulTV wrote: Thu Oct 13, 2022 5:45 am
First that failed to open of GPUs.txt.bak: are you running FAH as a different user than root, and does that user own (recursively) /var/lib/fahclient?
I ran it as root and it runs, but only on the CPU. I got this error for the GPU. It detects it so that's an improvement!

Code: Select all

0:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:3:0 Navi 10 [Radeon RX 5600 OEM/5600 XT/5700/5700 XT].  Disabling
/var/lib/fahclient/ doesn't have anything in it and it's permissions are rwx rwx r-x, so I don't see any problems with permissions. It's owned by root though, but I don't think I'm supposed to change that.
PaulTV wrote: Thu Oct 13, 2022 5:45 am Then as for the graphics card. What kind do you have? The card needs to support FP64 in hardware, and OpenCL 1.2, seriously old cards won't match all that. Did you install the official AMD drivers? The ones included with Ubuntu likely won't work with FAH. I don't have AMD myself, but for NVIdia it's the same. If you install the AMD drivers, you may want to have dkms installed first, so that kernel modules are updated when you update the kernel.
I have a Radeon RX 5700 XT, which isn't exactly an old GPU. It's from the same generation as the NVidia 20 series.
I'll hunt for some drivers that support OpenCL1.2. I think I'm using open source drivers, so that might be the issue.
estiar
Posts: 4
Joined: Thu Oct 13, 2022 1:48 am

Re: FAHClient crashing & GPU not recognized

Post by estiar »

Joe_H wrote: Thu Oct 13, 2022 7:03 am The initial errors look like your system is not connected to the internet at the point that the client started. The client does need an active internet connection to get the GPUs.txt file from the servers first.
I managed to get GPUs.txt. It should be under /root/ right?
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: FAHClient crashing & GPU not recognized

Post by JimboPalmer »

You have an AMD card and CUDA is proprietary to Nvidia, so the CuDA part of that error is normal and not a show stopper.

If you give us a current log, we can make better guesses.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
estiar
Posts: 4
Joined: Thu Oct 13, 2022 1:48 am

Re: FAHClient crashing & GPU not recognized

Post by estiar »

JimboPalmer wrote: Fri Oct 14, 2022 2:09 am You have an AMD card and CUDA is proprietary to Nvidia, so the CuDA part of that error is normal and not a show stopper.

If you give us a current log, we can make better guesses.
What about OpenGL?

Code: Select all

03:30:00:Read GPUs.txt
03:30:00:******************************* libFAH ********************************
03:30:00:       Date: Oct 20 2020
03:30:00:       Time: 20:36:39
03:30:00:   Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
03:30:00:     Branch: master
03:30:00:   Compiler: GNU 8.3.0
03:30:00:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
03:30:00:             -fdata-sections -O3 -funroll-loops -fno-pie
03:30:00:   Platform: linux2 5.8.0-1-amd64
03:30:00:       Bits: 64
03:30:00:       Mode: Release
03:30:00:****************************** FAHClient ******************************
03:30:00:    Version: 7.6.21
03:30:00:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
03:30:00:  Copyright: 2020 foldingathome.org
03:30:00:   Homepage: https://foldingathome.org/
03:30:00:       Date: Oct 20 2020
03:30:00:       Time: 20:39:00
03:30:00:   Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
03:30:00:     Branch: master
03:30:00:   Compiler: GNU 8.3.0
03:30:00:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
03:30:00:             -fdata-sections -O3 -funroll-loops -fno-pie
03:30:00:   Platform: linux2 5.8.0-1-amd64
03:30:00:       Bits: 64
03:30:00:       Mode: Release
03:30:00:       Args: -v
03:30:00:     Config: /root/config.xml
03:30:00:******************************** CBang ********************************
03:30:00:       Date: Oct 20 2020
03:30:00:       Time: 18:37:59
03:30:00:   Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
03:30:00:     Branch: master
03:30:00:   Compiler: GNU 8.3.0
03:30:00:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
03:30:00:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
03:30:00:   Platform: linux2 5.8.0-1-amd64
03:30:00:       Bits: 64
03:30:00:       Mode: Release
03:30:00:******************************* System ********************************
03:30:00:        CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
03:30:00:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 12
03:30:00:       CPUs: 8
03:30:00:     Memory: 46.97GiB
03:30:00:Free Memory: 39.60GiB
03:30:00:    Threads: POSIX_THREADS
03:30:00: OS Version: 5.15
03:30:00:Has Battery: false
03:30:00: On Battery: false
03:30:00: UTC Offset: -5
03:30:00:        PID: 11468
03:30:00:        CWD: /root
03:30:00:         OS: Linux 5.15.0-50-generic x86_64
03:30:00:    OS Arch: AMD64
03:30:00:       GPUs: 1
03:30:00:      GPU 0: Bus:3 Slot:0 Func:0 AMD:6 Navi 10 [Radeon RX 5600 OEM/5600
03:30:00:             XT/5700/5700 XT]
03:30:00:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
03:30:00:             libcuda.so: cannot open shared object file: No such file or
03:30:00:             directory
03:30:00:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
03:30:00:             libOpenCL.so: cannot open shared object file: No such file or
03:30:00:             directory
03:30:00:***********************************************************************
03:30:00:<config>
03:30:00:  <!-- Client Control -->
03:30:00:  <client-threads v='6'/>
03:30:00:  <cycle-rate v='4'/>
03:30:00:  <cycles v='-1'/>
03:30:00:  <disable-sleep-when-active v='true'/>
03:30:00:  <exit-when-done v='false'/>
03:30:00:  <fold-anon v='false'/>
03:30:00:  <idle-seconds v='300'/>
03:30:00:  <open-web-control v='false'/>
03:30:00:  <update-gpus-txt v='true'/>
03:30:00:
03:30:00:  <!-- Configuration -->
03:30:00:  <config-rotate v='true'/>
03:30:00:  <config-rotate-dir v='configs'/>
03:30:00:  <config-rotate-max v='16'/>
03:30:00:
03:30:00:  <!-- Debugging -->
03:30:00:  <assignment-servers>
03:30:00:    assign1.foldingathome.org assign2.foldingathome.org assign3.foldingathome.org assign4.foldingathome.org 
03:30:00:  </assignment-servers>
03:30:00:  <auth-as v='true'/>
03:30:00:  <capture-directory v='capture'/>
03:30:00:  <capture-on-error v='false'/>
03:30:00:  <capture-packets v='false'/>
03:30:00:  <capture-requests v='false'/>
03:30:00:  <capture-responses v='false'/>
03:30:00:  <capture-sockets v='false'/>
03:30:00:  <debug-sockets v='false'/>
03:30:00:  <exception-locations v='true'/>
03:30:00:  <stack-traces v='false'/>
03:30:00:
03:30:00:  <!-- Error Handling -->
03:30:00:  <max-slot-errors v='10'/>
03:30:00:  <max-unit-errors v='5'/>
03:30:00:
03:30:00:  <!-- Folding Core -->
03:30:00:  <checkpoint v='15'/>
03:30:00:  <core-priority v='idle'/>
03:30:00:  <cpu-usage v='100'/>
03:30:00:  <gpu-usage v='100'/>
03:30:00:  <no-assembly v='false'/>
03:30:00:
03:30:00:  <!-- Folding Slot Configuration -->
03:30:00:  <cause v='ANY'/>
03:30:00:  <client-subtype v='LINUX'/>
03:30:00:  <client-type v='normal'/>
03:30:00:  <cpu-species v='X86_PENTIUM_II'/>
03:30:00:  <cpu-type v='AMD64'/>
03:30:00:  <cpus v='-1'/>
03:30:00:  <disable-viz v='false'/>
03:30:00:  <gpu v='true'/>
03:30:00:  <gpu-beta v='false'/>
03:30:00:  <max-packet-size v='normal'/>
03:30:00:  <os-species v='UNKNOWN'/>
03:30:00:  <os-type v='LINUX'/>
03:30:00:  <project-key v='0'/>
03:30:00:  <smp v='true'/>
03:30:00:
03:30:00:  <!-- GUI -->
03:30:00:  <gui-enabled v='true'/>
03:30:00:
03:30:00:  <!-- HTTP Server -->
03:30:00:  <allow v='127.0.0.1'/>
03:30:00:  <connection-timeout v='60'/>
03:30:00:  <deny v='0/0'/>
03:30:00:  <http-addresses v='0:7396'/>
03:30:00:  <https-addresses v=''/>
03:30:00:  <max-connect-time v='900'/>
03:30:00:  <max-connections v='800'/>
03:30:00:  <max-request-length v='52428800'/>
03:30:00:  <min-connect-time v='300'/>
03:30:00:
03:30:00:  <!-- Logging -->
03:30:00:  <log v='log.txt'/>
03:30:00:  <log-color v='true'/>
03:30:00:  <log-crlf v='false'/>
03:30:00:  <log-date v='false'/>
03:30:00:  <log-date-periodically v='21600'/>
03:30:00:  <log-domain v='false'/>
03:30:00:  <log-header v='true'/>
03:30:00:  <log-level v='true'/>
03:30:00:  <log-no-info-header v='true'/>
03:30:00:  <log-redirect v='false'/>
03:30:00:  <log-rotate v='true'/>
03:30:00:  <log-rotate-dir v='logs'/>
03:30:00:  <log-rotate-max v='16'/>
03:30:00:  <log-short-level v='false'/>
03:30:00:  <log-simple-domains v='true'/>
03:30:00:  <log-thread-id v='false'/>
03:30:00:  <log-thread-prefix v='true'/>
03:30:00:  <log-time v='true'/>
03:30:00:  <log-to-screen v='true'/>
03:30:00:  <log-truncate v='false'/>
03:30:00:  <verbosity v='3'/>
03:30:00:
03:30:00:  <!-- Network -->
03:30:00:  <proxy v=''/>
03:30:00:  <proxy-enable v='false'/>
03:30:00:  <proxy-pass v='*****'/>
03:30:00:  <proxy-user v=''/>
03:30:00:
03:30:00:  <!-- Process Control -->
03:30:00:  <child v='false'/>
03:30:00:  <daemon v='false'/>
03:30:00:  <fork v='false'/>
03:30:00:  <pid v='false'/>
03:30:00:  <pid-file v='FAHClient.pid'/>
03:30:00:  <respawn v='false'/>
03:30:00:  <service v='false'/>
03:30:00:
03:30:00:  <!-- Remote Command Server -->
03:30:00:  <command-address v='0.0.0.0'/>
03:30:00:  <command-allow-no-pass v='127.0.0.1'/>
03:30:00:  <command-deny-no-pass v='0/0'/>
03:30:00:  <command-enable v='true'/>
03:30:00:  <command-port v='36330'/>
03:30:00:
03:30:00:  <!-- Slot Control -->
03:30:00:  <auto-conf v='true'/>
03:30:00:  <idle v='false'/>
03:30:00:  <max-shutdown-wait v='60'/>
03:30:00:  <pause-on-battery v='true'/>
03:30:00:  <pause-on-start v='false'/>
03:30:00:  <paused v='false'/>
03:30:00:  <power v='medium'/>
03:30:00:
03:30:00:  <!-- User Information -->
03:30:00:  <machine-id v='0'/>
03:30:00:  <passkey v='*****'/>
03:30:00:  <team v='0'/>
03:30:00:  <user v='Anonymous'/>
03:30:00:
03:30:00:  <!-- Web Server -->
03:30:00:  <web-allow v='127.0.0.1'/>
03:30:00:  <web-deny v='0/0'/>
03:30:00:  <web-enable v='true'/>
03:30:00:
03:30:00:  <!-- Web Server Sessions -->
03:30:00:  <session-cookie v='sid'/>
03:30:00:  <session-lifetime v='86400'/>
03:30:00:  <session-timeout v='3600'/>
03:30:00:
03:30:00:  <!-- Work Unit Control -->
03:30:00:  <dump-after-deadline v='true'/>
03:30:00:  <max-queue v='16'/>
03:30:00:  <max-units v='0'/>
03:30:00:  <next-unit-percentage v='99'/>
03:30:00:  <stall-detection-enabled v='false'/>
03:30:00:  <stall-percent v='5'/>
03:30:00:  <stall-timeout v='1800'/>
03:30:00:
03:30:00:  <!-- Folding Slots -->
03:30:00:  <slot id='0' type='CPU'/>
03:30:00:  <slot id='1' type='GPU'>
03:30:00:    <pci-bus v='3'/>
03:30:00:    <pci-slot v='0'/>
03:30:00:  </slot>
03:30:00:</config>
03:30:00:Trying to access database...
03:30:00:Successfully acquired database lock
03:30:00:FS00:Initialized folding slot 00: cpu:6
03:30:00:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:3:0 Navi 10 [Radeon RX 5600 OEM/5600 XT/5700/5700 XT].  Disabling.
03:30:00:WU00:FS00:Starting
03:30:00:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /root/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 00 -suffix 01 -version 706 -lifeline 11468 -checkpoint 15 -np 6
03:30:00:WU00:FS00:Started FahCore on PID 11477
03:30:00:WU00:FS00:Core PID:11481
03:30:00:WU00:FS00:FahCore 0xa8 started
03:30:00:WU00:FS00:0xa8:*********************** Log Started 2022-10-14T03:30:00Z ***********************
03:30:00:WU00:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
03:30:00:WU00:FS00:0xa8:       Core: Gromacs
03:30:00:WU00:FS00:0xa8:       Type: 0xa8
03:30:00:WU00:FS00:0xa8:    Version: 0.0.12
03:30:00:WU00:FS00:0xa8:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
03:30:00:WU00:FS00:0xa8:  Copyright: 2020 foldingathome.org
03:30:00:WU00:FS00:0xa8:   Homepage: https://foldingathome.org/
03:30:00:WU00:FS00:0xa8:       Date: Jan 16 2021
03:30:00:WU00:FS00:0xa8:       Time: 19:24:44
03:30:00:WU00:FS00:0xa8:   Compiler: GNU 8.3.0
03:30:00:WU00:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
03:30:00:WU00:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
03:30:00:WU00:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
03:30:00:WU00:FS00:0xa8:       Bits: 64
03:30:00:WU00:FS00:0xa8:       Mode: Release
03:30:00:WU00:FS00:0xa8:       SIMD: avx2_256
03:30:00:WU00:FS00:0xa8:     OpenMP: ON
03:30:00:WU00:FS00:0xa8:       CUDA: OFF
03:30:00:WU00:FS00:0xa8:       Args: -dir 00 -suffix 01 -version 706 -lifeline 11477 -checkpoint 15 -np
03:30:00:WU00:FS00:0xa8:             6
03:30:00:WU00:FS00:0xa8:************************************ libFAH ************************************
03:30:00:WU00:FS00:0xa8:       Date: Jan 16 2021
03:30:00:WU00:FS00:0xa8:       Time: 19:21:38
03:30:00:WU00:FS00:0xa8:   Compiler: GNU 8.3.0
03:30:00:WU00:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
03:30:00:WU00:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
03:30:00:WU00:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
03:30:00:WU00:FS00:0xa8:       Bits: 64
03:30:00:WU00:FS00:0xa8:       Mode: Release
03:30:00:WU00:FS00:0xa8:************************************ CBang *************************************
03:30:00:WU00:FS00:0xa8:       Date: Jan 16 2021
03:30:00:WU00:FS00:0xa8:       Time: 19:21:24
03:30:00:WU00:FS00:0xa8:   Compiler: GNU 8.3.0
03:30:00:WU00:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
03:30:00:WU00:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
03:30:00:WU00:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
03:30:00:WU00:FS00:0xa8:       Bits: 64
03:30:00:WU00:FS00:0xa8:       Mode: Release
03:30:00:WU00:FS00:0xa8:************************************ System ************************************
03:30:00:WU00:FS00:0xa8:        CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
03:30:00:WU00:FS00:0xa8:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 12
03:30:00:WU00:FS00:0xa8:       CPUs: 8
03:30:00:WU00:FS00:0xa8:     Memory: 46.97GiB
03:30:00:WU00:FS00:0xa8:Free Memory: 39.59GiB
03:30:00:WU00:FS00:0xa8:    Threads: POSIX_THREADS
03:30:00:WU00:FS00:0xa8: OS Version: 5.15
03:30:00:WU00:FS00:0xa8:Has Battery: false
03:30:00:WU00:FS00:0xa8: On Battery: false
03:30:00:WU00:FS00:0xa8: UTC Offset: -5
03:30:00:WU00:FS00:0xa8:        PID: 11481
03:30:00:WU00:FS00:0xa8:        CWD: /root/work
03:30:00:WU00:FS00:0xa8:********************************************************************************
03:30:00:WU00:FS00:0xa8:Project: 18417 (Run 46, Clone 1, Gen 106)
03:30:00:WU00:FS00:0xa8:Unit: 0x00000000000000000000000000000000
03:30:00:WU00:FS00:0xa8:Digital signatures verified
03:30:00:WU00:FS00:0xa8:Calling: mdrun -c frame106.gro -s frame106.tpr -x frame106.xtc -cpi state.cpt -cpt 15 -nt 6 -ntmpi 1
03:30:00:WU00:FS00:0xa8:Steps: first=1060000000 total=1070000000
03:30:02:WU00:FS00:0xa8:Completed 77420 out of 10000000 steps (0%)
Log as requested or are you looking for something else?
I also got FAHControl running. Wish there was a good APT repository instead of having to hunt around forums
Joe_H
Site Admin
Posts: 7936
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: FAHClient crashing & GPU not recognized

Post by Joe_H »

GPU folding uses OpenCL, not OpenGL. It is used on AMD and Intel GPUs for processing. OpenCL is also used with the Kepler generation of GPUs as they do not support a high enough CUDA version to work with the libraries compiled into the folding core to support as many generations of Nvidia cards as possible.

You will need the AMD proprietary drivers and OpenCL support installed to fold on your GPU. There is this topic on getting the drivers setup for Linux - viewtopic.php?t=33353. Hopefully it can give you some usable directions.

One of the issues you are running into is that the V7 folding client software was originally programmed for Ubuntu 16 LTS and 18 LTS. Development of V8 was started on in 2019, but suspended due to COVID. Some bug fixes and minor updates were done to the V7 client. And some people updated the open source code for FAHControl to work with Python 3. That is not part of the regular download from the F@h servers. Another group created a Snap package for the client software as well. Work on V8 has resumed, it should be coming out for beta testing sometime in the next year. Much of it should be open source.

On Linux you will also run into another issue with the installer and more recent versions of Linux. By design the client is supposed to install and run under a non-privileged user - fahclient - but changes in Linux result in that not working correctly on install and running under root instead. There have been some posts in the past on how to fix that up for some Linux distros.

One note about posting your log. Please leave the verbosity setting at the default of 3, higher settings do not provide useful debugging information for an installed setup.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply