Page 1 of 2

Can't get GPU running on Linux Mint 21.1

Posted: Sat Apr 22, 2023 3:33 pm
by rjeber
Hi, bit of a newbe here hoping someone can help.
I have FAH running on my new computer which has a Radeon 6500XT graphics card. Installed FAH and it runs on 18 of my 20 CPUs but it won't run on the GPU. It would seem to be that the problem lies with OpenCL, I am assuming that CUDA is only required for NVIDEA cards. Log attached:

Code: Select all

*********************** Log Started 2023-04-22T14:51:48Z ***********************
14:51:48:******************************* libFAH ********************************
14:51:48:       Date: Oct 20 2020
14:51:48:       Time: 20:36:39
14:51:48:   Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
14:51:48:     Branch: master
14:51:48:   Compiler: GNU 8.3.0
14:51:48:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
14:51:48:             -fdata-sections -O3 -funroll-loops -fno-pie
14:51:48:   Platform: linux2 5.8.0-1-amd64
14:51:48:       Bits: 64
14:51:48:       Mode: Release
14:51:48:****************************** FAHClient ******************************
14:51:48:    Version: 7.6.21
14:51:48:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
14:51:48:  Copyright: 2020 foldingathome.org
14:51:48:   Homepage: https://foldingathome.org/
14:51:48:       Date: Oct 20 2020
14:51:48:       Time: 20:39:00
14:51:48:   Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
14:51:48:     Branch: master
14:51:48:   Compiler: GNU 8.3.0
14:51:48:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
14:51:48:             -fdata-sections -O3 -funroll-loops -fno-pie
14:51:48:   Platform: linux2 5.8.0-1-amd64
14:51:48:       Bits: 64
14:51:48:       Mode: Release
14:51:48:       Args: --child /etc/fahclient/config.xml --run-as fahclient
14:51:48:             --pid-file=/var/run/fahclient.pid --daemon
14:51:48:     Config: /etc/fahclient/config.xml
14:51:48:******************************** CBang ********************************
14:51:48:       Date: Oct 20 2020
14:51:48:       Time: 18:37:59
14:51:48:   Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
14:51:48:     Branch: master
14:51:48:   Compiler: GNU 8.3.0
14:51:48:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
14:51:48:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
14:51:48:   Platform: linux2 5.8.0-1-amd64
14:51:48:       Bits: 64
14:51:48:       Mode: Release
14:51:48:******************************* System ********************************
14:51:48:        CPU: 12th Gen Intel(R) Core(TM) i7-12700KF
14:51:48:     CPU ID: GenuineIntel Family 6 Model 151 Stepping 2
14:51:48:       CPUs: 20
14:51:48:     Memory: 7.57GiB
14:51:48:Free Memory: 4.21GiB
14:51:48:    Threads: POSIX_THREADS
14:51:48: OS Version: 5.15
14:51:48:Has Battery: false
14:51:48: On Battery: false
14:51:48: UTC Offset: 2
14:51:48:        PID: 5538
14:51:48:        CWD: /var/lib/fahclient
14:51:48:         OS: Linux 5.15.0-70-generic x86_64
14:51:48:    OS Arch: AMD64
14:51:48:       GPUs: 1
14:51:48:      GPU 0: Bus:3 Slot:0 Func:0 AMD:4 Navi 24 [Radeon RX 6400/6500XT]
14:51:48:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
14:51:48:             libcuda.so: cannot open shared object file: No such file or
14:51:48:             directory
14:51:48:     OpenCL: Not detected: clGetPlatformIDs() returned -1001
14:51:48:***********************************************************************
14:51:48:<config>
14:51:48:  <!-- Client Control -->
14:51:48:  <fold-anon v='true'/>
14:51:48:
14:51:48:  <!-- Folding Slot Configuration -->
14:51:48:  <cause v='CANCER'/>
14:51:48:
14:51:48:  <!-- User Information -->
14:51:48:  <team v='76140'/>
14:51:48:  <user v='russellz'/>
14:51:48:
14:51:48:  <!-- Folding Slots -->
14:51:48:  <slot id='0' type='CPU'/>
14:51:48:  <slot id='1' type='GPU'>
14:51:48:    <pci-bus v='3'/>
14:51:48:    <pci-slot v='0'/>
14:51:48:  </slot>
14:51:48:</config>
14:51:48:Trying to access database...
[91m14:52:18:ERROR:Exception: Error executing: 'PRAGMA synchronous=NORMAL': database is locked[0m
I have installed the latest versions of:

Code: Select all

ocl-icd-libopencl1
ocl-icd-libopencl1:i386
ocl-icd-opencl-dev
I have followed the instructions in the thread AMD GPU on Linux but the only effect seems to be that the "sudo /etc/init.d/FAHClient status" command now tells me that the FAHClient is not running while the web control shows it to be working (on CPUs only)!

Any suggestions gratefully received.

Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Sat Apr 22, 2023 4:20 pm
by toTOW

Code: Select all

14:51:48:Trying to access database...
14:52:18:ERROR:Exception: Error executing: 'PRAGMA synchronous=NORMAL': database is locked
This message indicates that two clients are running ... a reboot of the whole system should help.

Re: Can't get GPU running on Linux Mint 21.1

Posted: Sun Apr 23, 2023 9:38 am
by rjeber
Thanks toTOW.

OK; reboot done
Web control can't connect to client, no new log file so client not running
sudo /etc/init.d/FAHClient start gives "Starting fahclient ... OK" but
sudo /etc/init.d/FAHClient status says fahclient is not running
Last time I must have believed it and tried starting it again, I didn't this time
Web control shows that folding is working on CPUs but GPU folding slot DISABLED
New log file follows;

Code: Select all

*********************** Log Started 2023-04-23T09:15:44Z ***********************
09:15:44:******************************* libFAH ********************************
09:15:44:       Date: Oct 20 2020
09:15:44:       Time: 20:36:39
09:15:44:   Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
09:15:44:     Branch: master
09:15:44:   Compiler: GNU 8.3.0
09:15:44:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
09:15:44:             -fdata-sections -O3 -funroll-loops -fno-pie
09:15:44:   Platform: linux2 5.8.0-1-amd64
09:15:44:       Bits: 64
09:15:44:       Mode: Release
09:15:44:****************************** FAHClient ******************************
09:15:44:    Version: 7.6.21
09:15:44:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
09:15:44:  Copyright: 2020 foldingathome.org
09:15:44:   Homepage: https://foldingathome.org/
09:15:44:       Date: Oct 20 2020
09:15:44:       Time: 20:39:00
09:15:44:   Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
09:15:44:     Branch: master
09:15:44:   Compiler: GNU 8.3.0
09:15:44:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
09:15:44:             -fdata-sections -O3 -funroll-loops -fno-pie
09:15:44:   Platform: linux2 5.8.0-1-amd64
09:15:44:       Bits: 64
09:15:44:       Mode: Release
09:15:44:       Args: --child /etc/fahclient/config.xml --run-as fahclient
09:15:44:             --pid-file=/var/run/fahclient.pid --daemon
09:15:44:     Config: /etc/fahclient/config.xml
09:15:44:******************************** CBang ********************************
09:15:44:       Date: Oct 20 2020
09:15:44:       Time: 18:37:59
09:15:44:   Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
09:15:44:     Branch: master
09:15:44:   Compiler: GNU 8.3.0
09:15:44:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
09:15:44:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
09:15:44:   Platform: linux2 5.8.0-1-amd64
09:15:44:       Bits: 64
09:15:44:       Mode: Release
09:15:44:******************************* System ********************************
09:15:44:        CPU: 12th Gen Intel(R) Core(TM) i7-12700KF
09:15:44:     CPU ID: GenuineIntel Family 6 Model 151 Stepping 2
09:15:44:       CPUs: 20
09:15:44:     Memory: 7.57GiB
09:15:44:Free Memory: 4.82GiB
09:15:44:    Threads: POSIX_THREADS
09:15:44: OS Version: 5.15
09:15:44:Has Battery: false
09:15:44: On Battery: false
09:15:44: UTC Offset: 2
09:15:44:        PID: 3685
09:15:44:        CWD: /var/lib/fahclient
09:15:44:         OS: Linux 5.15.0-70-generic x86_64
09:15:44:    OS Arch: AMD64
09:15:44:       GPUs: 1
09:15:44:      GPU 0: Bus:3 Slot:0 Func:0 AMD:4 Navi 24 [Radeon RX 6400/6500XT]
09:15:44:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
09:15:44:             libcuda.so: cannot open shared object file: No such file or
09:15:44:             directory
09:15:44:     OpenCL: Not detected: clGetPlatformIDs() returned -1001
09:15:44:***********************************************************************
09:15:44:<config>
09:15:44:  <!-- Client Control -->
09:15:44:  <fold-anon v='true'/>
09:15:44:
09:15:44:  <!-- Folding Slot Configuration -->
09:15:44:  <cause v='CANCER'/>
09:15:44:
09:15:44:  <!-- User Information -->
09:15:44:  <team v='76140'/>
09:15:44:  <user v='russellz'/>
09:15:44:
09:15:44:  <!-- Folding Slots -->
09:15:44:  <slot id='0' type='CPU'/>
09:15:44:  <slot id='1' type='GPU'>
09:15:44:    <pci-bus v='3'/>
09:15:44:    <pci-slot v='0'/>
09:15:44:  </slot>
09:15:44:</config>
09:15:44:Trying to access database...
09:15:44:Successfully acquired database lock
09:15:44:FS00:Initialized folding slot 00: cpu:18
[93m09:15:44:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:3:0 Navi 24 [Radeon RX 6400/6500XT].  Disabling.[0m
09:15:44:WU01:FS00:Starting
09:15:44:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 01 -suffix 01 -version 706 -lifeline 3685 -checkpoint 15 -np 18
09:15:44:WU01:FS00:Started FahCore on PID 3694
09:15:44:WU01:FS00:Core PID:3698
09:15:44:WU01:FS00:FahCore 0xa8 started
09:15:45:WU01:FS00:0xa8:*********************** Log Started 2023-04-23T09:15:44Z ***********************
09:15:45:WU01:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
09:15:45:WU01:FS00:0xa8:       Core: Gromacs
09:15:45:WU01:FS00:0xa8:       Type: 0xa8
09:15:45:WU01:FS00:0xa8:    Version: 0.0.12
09:15:45:WU01:FS00:0xa8:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
09:15:45:WU01:FS00:0xa8:  Copyright: 2020 foldingathome.org
09:15:45:WU01:FS00:0xa8:   Homepage: https://foldingathome.org/
09:15:45:WU01:FS00:0xa8:       Date: Jan 16 2021
09:15:45:WU01:FS00:0xa8:       Time: 19:24:44
09:15:45:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
09:15:45:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
09:15:45:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
09:15:45:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
09:15:45:WU01:FS00:0xa8:       Bits: 64
09:15:45:WU01:FS00:0xa8:       Mode: Release
09:15:45:WU01:FS00:0xa8:       SIMD: avx2_256
09:15:45:WU01:FS00:0xa8:     OpenMP: ON
09:15:45:WU01:FS00:0xa8:       CUDA: OFF
09:15:45:WU01:FS00:0xa8:       Args: -dir 01 -suffix 01 -version 706 -lifeline 3694 -checkpoint 15 -np
09:15:45:WU01:FS00:0xa8:             18
09:15:45:WU01:FS00:0xa8:************************************ libFAH ************************************
09:15:45:WU01:FS00:0xa8:       Date: Jan 16 2021
09:15:45:WU01:FS00:0xa8:       Time: 19:21:38
09:15:45:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
09:15:45:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
09:15:45:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
09:15:45:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
09:15:45:WU01:FS00:0xa8:       Bits: 64
09:15:45:WU01:FS00:0xa8:       Mode: Release
09:15:45:WU01:FS00:0xa8:************************************ CBang *************************************
09:15:45:WU01:FS00:0xa8:       Date: Jan 16 2021
09:15:45:WU01:FS00:0xa8:       Time: 19:21:24
09:15:45:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
09:15:45:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
09:15:45:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
09:15:45:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
09:15:45:WU01:FS00:0xa8:       Bits: 64
09:15:45:WU01:FS00:0xa8:       Mode: Release
09:15:45:WU01:FS00:0xa8:************************************ System ************************************
09:15:45:WU01:FS00:0xa8:        CPU: 12th Gen Intel(R) Core(TM) i7-12700KF
09:15:45:WU01:FS00:0xa8:     CPU ID: GenuineIntel Family 6 Model 151 Stepping 2
09:15:45:WU01:FS00:0xa8:       CPUs: 20
09:15:45:WU01:FS00:0xa8:     Memory: 7.57GiB
09:15:45:WU01:FS00:0xa8:Free Memory: 4.82GiB
09:15:45:WU01:FS00:0xa8:    Threads: POSIX_THREADS
09:15:45:WU01:FS00:0xa8: OS Version: 5.15
09:15:45:WU01:FS00:0xa8:Has Battery: false
09:15:45:WU01:FS00:0xa8: On Battery: false
09:15:45:WU01:FS00:0xa8: UTC Offset: 2
09:15:45:WU01:FS00:0xa8:        PID: 3698
09:15:45:WU01:FS00:0xa8:        CWD: /var/lib/fahclient/work
09:15:45:WU01:FS00:0xa8:********************************************************************************
09:15:45:WU01:FS00:0xa8:Project: 19421 (Run 21, Clone 35, Gen 2)
09:15:45:WU01:FS00:0xa8:Unit: 0x00000000000000000000000000000000
09:15:45:WU01:FS00:0xa8:Digital signatures verified
09:15:45:WU01:FS00:0xa8:Calling: mdrun -c frame2.gro -s frame2.tpr -x frame2.xtc -cpi state.cpt -cpt 15 -nt 18 -ntmpi 1
09:15:45:WU01:FS00:0xa8:Steps: first=2500000 total=3750000
09:15:46:WU01:FS00:0xa8:Completed 36022 out of 1250000 steps (2%)
09:15:48:7:127.0.0.1:New Web session
09:15:55:WU01:FS00:0xa8:Completed 37500 out of 1250000 steps (3%)
09:17:13:WU01:FS00:0xa8:Completed 50000 out of 1250000 steps (4%)
09:18:30:WU01:FS00:0xa8:Completed 62500 out of 1250000 steps (5%)
09:19:48:WU01:FS00:0xa8:Completed 75000 out of 1250000 steps (6%)
09:19:58:16:127.0.0.1:New Web session
09:21:06:WU01:FS00:0xa8:Completed 87500 out of 1250000 steps (7%)
09:22:25:WU01:FS00:0xa8:Completed 100000 out of 1250000 steps (8%)
09:23:44:WU01:FS00:0xa8:Completed 112500 out of 1250000 steps (9%)
09:25:03:WU01:FS00:0xa8:Completed 125000 out of 1250000 steps (10%)
and config.xml in case that helps;

Code: Select all

<config>
  <!-- Client Control -->
  <fold-anon v='true'/>

  <!-- Folding Slot Configuration -->
  <cause v='CANCER'/>

  <!-- User Information -->
  <team v='76140'/>
  <user v='russellz'/>

  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
  <slot id='1' type='GPU'>
    <pci-bus v='3'/>
    <pci-slot v='0'/>
  </slot>
</config>
Log file still reports OpenCL not detected.

Thanks,
Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Sun Apr 23, 2023 9:49 am
by calxalot
You probably need to add groups render and/or video to user fahclient.

Someone else might post the commands.

Since you have a user and team, you should remove fold-anon from config.xml.

Re: Can't get GPU running on Linux Mint 21.1

Posted: Sun Apr 23, 2023 10:05 am
by toTOW
And you have a CPU with big.LITTLE architecture, you should set your CPU slot thread setting to match the number of performance cores that your CPU has.

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 8:45 am
by rjeber
Thanks calxalot,
fahclient was already a member of render but not video> I have added it to video. I have also removed fold-anon.
Unfortunately still no change. fahclient has to be started from the command line and status reports that it is not running even though web control shows it to be working but GPU still DISABLED.latest log follows showing "OpenCL: Not detected: clGetPlatformIDs() returned -1001"

Code: Select all

*********************** Log Started 2023-04-24T08:27:33Z ***********************
08:27:33:******************************* libFAH ********************************
08:27:33:       Date: Oct 20 2020
08:27:33:       Time: 20:36:39
08:27:33:   Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
08:27:33:     Branch: master
08:27:33:   Compiler: GNU 8.3.0
08:27:33:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
08:27:33:             -fdata-sections -O3 -funroll-loops -fno-pie
08:27:33:   Platform: linux2 5.8.0-1-amd64
08:27:33:       Bits: 64
08:27:33:       Mode: Release
08:27:33:****************************** FAHClient ******************************
08:27:33:    Version: 7.6.21
08:27:33:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:27:33:  Copyright: 2020 foldingathome.org
08:27:33:   Homepage: https://foldingathome.org/
08:27:33:       Date: Oct 20 2020
08:27:33:       Time: 20:39:00
08:27:33:   Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
08:27:33:     Branch: master
08:27:33:   Compiler: GNU 8.3.0
08:27:33:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
08:27:33:             -fdata-sections -O3 -funroll-loops -fno-pie
08:27:33:   Platform: linux2 5.8.0-1-amd64
08:27:33:       Bits: 64
08:27:33:       Mode: Release
08:27:33:       Args: --child /etc/fahclient/config.xml --run-as fahclient
08:27:33:             --pid-file=/var/run/fahclient.pid --daemon
08:27:33:     Config: /etc/fahclient/config.xml
08:27:33:******************************** CBang ********************************
08:27:33:       Date: Oct 20 2020
08:27:33:       Time: 18:37:59
08:27:33:   Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
08:27:33:     Branch: master
08:27:33:   Compiler: GNU 8.3.0
08:27:33:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
08:27:33:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
08:27:33:   Platform: linux2 5.8.0-1-amd64
08:27:33:       Bits: 64
08:27:33:       Mode: Release
08:27:33:******************************* System ********************************
08:27:33:        CPU: 12th Gen Intel(R) Core(TM) i7-12700KF
08:27:33:     CPU ID: GenuineIntel Family 6 Model 151 Stepping 2
08:27:33:       CPUs: 20
08:27:33:     Memory: 7.57GiB
08:27:33:Free Memory: 5.06GiB
08:27:33:    Threads: POSIX_THREADS
08:27:33: OS Version: 5.15
08:27:33:Has Battery: false
08:27:33: On Battery: false
08:27:33: UTC Offset: 2
08:27:33:        PID: 2750
08:27:33:        CWD: /var/lib/fahclient
08:27:33:         OS: Linux 5.15.0-70-generic x86_64
08:27:33:    OS Arch: AMD64
08:27:33:       GPUs: 1
08:27:33:      GPU 0: Bus:3 Slot:0 Func:0 AMD:4 Navi 24 [Radeon RX 6400/6500XT]
08:27:33:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
08:27:33:             libcuda.so: cannot open shared object file: No such file or
08:27:33:             directory
08:27:33:     OpenCL: Not detected: clGetPlatformIDs() returned -1001
08:27:33:***********************************************************************
08:27:33:<config>
08:27:33:  <!-- Folding Slot Configuration -->
08:27:33:  <cause v='CANCER'/>
08:27:33:
08:27:33:  <!-- User Information -->
08:27:33:  <team v='76140'/>
08:27:33:  <user v='russellz'/>
08:27:33:
08:27:33:  <!-- Folding Slots -->
08:27:33:  <slot id='0' type='CPU'/>
08:27:33:  <slot id='1' type='GPU'>
08:27:33:    <pci-bus v='3'/>
08:27:33:    <pci-slot v='0'/>
08:27:33:  </slot>
08:27:33:</config>
08:27:33:Trying to access database...
08:27:33:Successfully acquired database lock
08:27:33:FS00:Initialized folding slot 00: cpu:18
[93m08:27:33:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:3:0 Navi 24 [Radeon RX 6400/6500XT].  Disabling.[0m
08:27:33:WU01:FS00:Starting
08:27:33:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 01 -suffix 01 -version 706 -lifeline 2750 -checkpoint 15 -np 18
08:27:33:WU01:FS00:Started FahCore on PID 2759
08:27:33:WU01:FS00:Core PID:2763
08:27:33:WU01:FS00:FahCore 0xa8 started
08:27:34:WU01:FS00:0xa8:*********************** Log Started 2023-04-24T08:27:33Z ***********************
08:27:34:WU01:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
08:27:34:WU01:FS00:0xa8:       Core: Gromacs
08:27:34:WU01:FS00:0xa8:       Type: 0xa8
08:27:34:WU01:FS00:0xa8:    Version: 0.0.12
08:27:34:WU01:FS00:0xa8:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:27:34:WU01:FS00:0xa8:  Copyright: 2020 foldingathome.org
08:27:34:WU01:FS00:0xa8:   Homepage: https://foldingathome.org/
08:27:34:WU01:FS00:0xa8:       Date: Jan 16 2021
08:27:34:WU01:FS00:0xa8:       Time: 19:24:44
08:27:34:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
08:27:34:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
08:27:34:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
08:27:34:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
08:27:34:WU01:FS00:0xa8:       Bits: 64
08:27:34:WU01:FS00:0xa8:       Mode: Release
08:27:34:WU01:FS00:0xa8:       SIMD: avx2_256
08:27:34:WU01:FS00:0xa8:     OpenMP: ON
08:27:34:WU01:FS00:0xa8:       CUDA: OFF
08:27:34:WU01:FS00:0xa8:       Args: -dir 01 -suffix 01 -version 706 -lifeline 2759 -checkpoint 15 -np
08:27:34:WU01:FS00:0xa8:             18
08:27:34:WU01:FS00:0xa8:************************************ libFAH ************************************
08:27:34:WU01:FS00:0xa8:       Date: Jan 16 2021
08:27:34:WU01:FS00:0xa8:       Time: 19:21:38
08:27:34:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
08:27:34:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
08:27:34:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
08:27:34:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
08:27:34:WU01:FS00:0xa8:       Bits: 64
08:27:34:WU01:FS00:0xa8:       Mode: Release
08:27:34:WU01:FS00:0xa8:************************************ CBang *************************************
08:27:34:WU01:FS00:0xa8:       Date: Jan 16 2021
08:27:34:WU01:FS00:0xa8:       Time: 19:21:24
08:27:34:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
08:27:34:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
08:27:34:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
08:27:34:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
08:27:34:WU01:FS00:0xa8:       Bits: 64
08:27:34:WU01:FS00:0xa8:       Mode: Release
08:27:34:WU01:FS00:0xa8:************************************ System ************************************
08:27:34:WU01:FS00:0xa8:        CPU: 12th Gen Intel(R) Core(TM) i7-12700KF
08:27:34:WU01:FS00:0xa8:     CPU ID: GenuineIntel Family 6 Model 151 Stepping 2
08:27:34:WU01:FS00:0xa8:       CPUs: 20
08:27:34:WU01:FS00:0xa8:     Memory: 7.57GiB
08:27:34:WU01:FS00:0xa8:Free Memory: 5.06GiB
08:27:34:WU01:FS00:0xa8:    Threads: POSIX_THREADS
08:27:34:WU01:FS00:0xa8: OS Version: 5.15
08:27:34:WU01:FS00:0xa8:Has Battery: false
08:27:34:WU01:FS00:0xa8: On Battery: false
08:27:34:WU01:FS00:0xa8: UTC Offset: 2
08:27:34:WU01:FS00:0xa8:        PID: 2763
08:27:34:WU01:FS00:0xa8:        CWD: /var/lib/fahclient/work
08:27:34:WU01:FS00:0xa8:********************************************************************************
08:27:34:WU01:FS00:0xa8:Project: 19421 (Run 72, Clone 44, Gen 2)
08:27:34:WU01:FS00:0xa8:Unit: 0x00000000000000000000000000000000
08:27:34:WU01:FS00:0xa8:Digital signatures verified
08:27:34:WU01:FS00:0xa8:Calling: mdrun -c frame2.gro -s frame2.tpr -x frame2.xtc -cpi state.cpt -cpt 15 -nt 18 -ntmpi 1
08:27:34:WU01:FS00:0xa8:Steps: first=2500000 total=3750000
08:27:35:WU01:FS00:0xa8:Completed 716001 out of 1250000 steps (57%)
08:27:36:10:127.0.0.1:New Web session
08:28:32:WU01:FS00:0xa8:Completed 725000 out of 1250000 steps (58%)
Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 8:48 am
by rjeber
Thanks toTOW
toTOW wrote: Sun Apr 23, 2023 10:05 am And you have a CPU with big.LITTLE architecture, you should set your CPU slot thread setting to match the number of performance cores that your CPU has.
Could you explain how I do that? Should I be doing something similar for GPU slots?

Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 8:54 am
by calxalot
You might need to install a bunch of gpu drivers to get OpenCL working.
If an expert doesn't chime in soon, you should browse other posts in this section.

(viewforum.php?f=81)

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 8:59 am
by calxalot
Most people use FAHControl to change cpus.
You probably don't have python2, so manual may be easier for you.

Your config.xml would need something like

Code: Select all

  <slot id='0' type='CPU'>
    <cpus v='12'/>
  </slot>
Don't change cpus for GPU slots.

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 9:06 am
by calxalot
For python3 FAHControl, this should work to build and run:

Code: Select all

sudo apt-get install -y python3-stdeb python3-gi python3-all python3-six debhelper dh-python gir1.2-gtk-3.0

git clone https://github.com/cdberkstresser/fah-control.git

cd fah-control

python3 setup.py build

./FAHControl
worked for me on ubuntu 22.04.1 in vmware

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 10:33 am
by rjeber
Thanks for that calxalot, it works just fine on Linux Mint Cinnamon 21.1
Still can't get GPU working. It must be something to do with OpenCL.

Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 7:08 pm
by rjeber
I've tried reinstalling the AMD GPU driver and find the installation fails due to the lack of a public key, must have missed that first time round:

Code: Select all

russell@russell-Intel-Z690:~/Downloads$ amdgpu-install --opencl=rocr
[sudo] password for russell:          
Get:1 http://dl.google.com/linux/earth/deb stable InRelease [1 807 B]
Ign:2 https://mirror.crexio.com/linuxmint/packages vera InRelease              
Hit:3 https://mirror.crexio.com/linuxmint/packages vera Release                
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:5 http://ubuntu.univ-reims.fr/ubuntu jammy InRelease                       
Get:6 http://ubuntu.univ-reims.fr/ubuntu jammy-updates InRelease [119 kB]
Get:7 http://ubuntu.univ-reims.fr/ubuntu jammy-backports InRelease [108 kB]    
Err:1 http://dl.google.com/linux/earth/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
Hit:8 https://repo.radeon.com/amdgpu/5.4.3/ubuntu jammy InRelease
Hit:9 https://repo.radeon.com/rocm/apt/5.4.3 jammy InRelease
Reading package lists... Done
W: GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
E: The repository 'http://dl.google.com/linux/earth/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
Any ideas how to fix this?

Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Mon Apr 24, 2023 10:24 pm
by calxalot
Maybe try this, including switching to systemd service.

viewtopic.php?t=39331

Re: Can't get GPU running on Linux Mint 21.1

Posted: Tue Apr 25, 2023 7:42 am
by rjeber
Sorry, I don't know what I am supposed to do with the fah.service code section. Can you enlighten me please?

Russell

Re: Can't get GPU running on Linux Mint 21.1

Posted: Tue Apr 25, 2023 7:59 am
by calxalot
It is the contents of a file you create with

Code: Select all

sudo nano /etc/systemd/system/fah.service