Release: Folding@Home Docker


Recommended Posts

10 minutes ago, PSYCHOPATHiO said:

is there a way to set the affinity to what core or how many cores I need it to utilize?

Edit the template and pin it to certain CPUs.  Or play with the slider bar to set how it runs.  Or set it's priority via this to let other cpu hungry apps have priority  (Plex / Jellyfin).  Or any combination of the above.  

  • Thanks 2
Link to comment
2 hours ago, Squid said:

Edit the template and pin it to certain CPUs.  Or play with the slider bar to set how it runs.  Or set it's priority via this to let other cpu hungry apps have priority  (Plex / Jellyfin).  Or any combination of the above.  

Using the priority via parameters seems to have a much nice outcome than the "light" workload setting, as it rotates between cores/threads.

Light (alone) just smashes the same half of my CPU core set.

Edited by tjb_altf4
Link to comment
On 3/13/2020 at 3:24 PM, tknx said:

Getting two issues:

 

1. The web interface constantly reloads. No idea how to fix that.

 

2. In logs:

 


21:24:00:WU00:FS00:Connecting to 65.254.110.245:8080
21:24:00:WU00:FS00:Assigned to work server 128.252.203.10
21:24:01:WU00:FS00:Requesting new work unit for slot
[91m21:24:01:ERROR:WU00:FS00:Exception: Option 'gpu-index' has no default and is not set.[0m

 

The constant reloading is also fixed by clearing cache and cookies. I find it best to access the web UI from an incognito / private browsing tab every time. It will still act up eventually, but when it does, close the tab and access it again from a new one. Incognito tabs start without any cookies.

Link to comment
1 hour ago, cyberspectre said:

The constant reloading is also fixed by clearing cache and cookies. I find it best to access the web UI from an incognito / private browsing tab every time. It will still act up eventually, but when it does, close the tab and access it again from a new one. Incognito tabs start without any cookies.

The windows client also does the same thing

Link to comment

I've managed to get the WebUI working, but it keeps saying 'Could not get an assignment'.  Any ideas what's wrong?  I've opened all ports on pfsense

 

08:48:01:************************* Folding@home Client *************************
08:48:01: Website: https://foldingathome.org/
08:48:01: Copyright: (c) 2009-2018 foldingathome.org
08:48:01: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:48:01: Args: --config /config/config.xml
08:48:01: Config: /config/config.xml
08:48:01:******************************** Build ********************************
08:48:01: Version: 7.5.1

08:48:01: Date: May 11 2018
08:48:01: Time: 19:59:04
08:48:01: Repository: Git
08:48:01: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
08:48:01: Branch: master
08:48:01: Compiler: GNU 6.3.0 20170516
08:48:01: Options: -std=gnu++98 -O3 -funroll-loops
08:48:01: Platform: linux2 4.14.0-3-amd64
08:48:01: Bits: 64
08:48:01: Mode: Release
08:48:01:******************************* System ********************************
08:48:01: CPU: AMD Ryzen Threadripper 2950X 16-Core Processor

08:48:01: CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
08:48:01: CPUs: 32
08:48:01: Memory: 125.85GiB
08:48:01:Free Memory: 987.81MiB
08:48:01: Threads: POSIX_THREADS
08:48:01: OS Version: 4.19

08:48:01:Has Battery: false
08:48:01: On Battery: false
08:48:01: UTC Offset: 0
08:48:01: PID: 27
08:48:01: CWD: /config
08:48:01: OS: Linux 4.19.98-Unraid x86_64
08:48:01: OS Arch: AMD64
08:48:01: GPUs: 0
08:48:01: CUDA: Not detected: cuInit() returned 100
08:48:01: OpenCL: Not detected: clGetPlatformIDs() returned -1001
08:48:01:***********************************************************************
08:48:01:<config>
08:48:01: <!-- Client Control -->
08:48:01: <fold-anon v='true'/>

:
08:48:01: <!-- Folding Slot Configuration -->
08:48:01: <gpu v='false'/>

:
08:48:01: <!-- HTTP Server -->
08:48:01: <allow v='192.168.30.0/24'/>

:
08:48:01: <!-- Remote Command Server -->
08:48:01: <password v='********'/>

:
08:48:01: <!-- Slot Control -->
08:48:01: <power v='FULL'/>

:
08:48:01: <!-- User Information -->
08:48:01: <team v='227802'/>
08:48:01: <user v='DZMM'/>

:
08:48:01: <!-- Web Server -->
08:48:01: <web-allow v='192.168.30.1/24'/>

:
08:48:01: <!-- Folding Slots -->
08:48:01: <slot id='0' type='CPU'/>
08:48:01:</config>
08:48:01:Trying to access database...
08:48:01:Successfully acquired database lock
08:48:01:Enabled folding slot 00: READY cpu:32
08:48:01:WU00:FS00:Connecting to 65.254.110.245:8080
[93m08:48:02:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m

08:48:02:WU00:FS00:Connecting to 18.218.241.186:80
[93m08:48:03:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m

[91m08:48:03:ERROR:WU00:FS00:Exception: Could not get an assignment[0m

08:48:04:WU00:FS00:Connecting to 65.254.110.245:8080
[93m08:48:04:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m

08:48:04:WU00:FS00:Connecting to 18.218.241.186:80
[93m08:48:05:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m

[91m08:48:05:ERROR:WU00:FS00:Exception: Could not get an assignment[0m

08:49:04:WU00:FS00:Connecting to 65.254.110.245:8080
08:49:04:WU00:FS00:Connecting to 65.254.110.245:8080
[93m08:49:04:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m

08:49:04:WU00:FS00:Connecting to 18.218.241.186:80
[93m08:49:05:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m

[91m08:49:05:ERROR:WU00:FS00:Exception: Could not get an assignment[0m

 

Link to comment

Installed it yesterday and it was working fine all day

Today i noticed it was doing nothing

Searching the logs i see:

Quote

[93m10:59:14:WARNING:WU01:FS00:Failed to get assignment from '<different ips>': No WUs available for this configuration[0m
[91m10:59:14:ERROR:WU01:FS00:Exception: Could not get an assignment[0m

Its just repeating that, got it to do something restarting the docker but was soon doing nothing again
Is there something wrong (or actually just nothing for it to do?

Link to comment
On 1/18/2015 at 4:57 AM, MTA99 said:

 

The docs are missing a closing / on the <smp> tag but this works for me (on an octacore Avoton)

 

 


<!-- CPU Use -->
  <power v='medium'/> 
  
  <!-- Folding Slots -->
  <smp v="true"/>
  <cpus v="4"/>
 

 

 

Thanks again Capt

Did this stick across a container restart for you?  It doesn't for me.

Edited by shaunmccloud
Link to comment
3 hours ago, CHBMB said:

If you're using this with GPU passthrough

 


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

  <!-- Folding Slot Configuration -->
  <gpu v='true'/>

  <!-- HTTP Server -->
  #Following allows access from local network
  <allow v='192.168.0.0/24'/>

  <!-- Remote Command Server -->
  #Change password for remote access
  <password v='PASSWORD'/>

  <!-- User Information -->
  #Change Team Number and Username if desired. Currently folding for UnRAID team!
  <team v='227802'/> <!-- Your team number (Team UnRAID is # 227802)-->
  <user v='chbmb'/> <!-- Enter your user name here -->
  <passkey v=''/> <!-- 32 hexadecimal characters if provided (Get one here: http://fah-web.stanford.edu/cgi-bin/getpasskey.py)-->

  <!-- Web Server -->
  #Following allows access from local network
  <web-allow v='192.168.0.0/24'/>

  <!-- CPU Use -->
  <power v='medium'/> 
  
  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
  <slot id='1' type='GPU'/>
</config>

 

Thank you so much for this - got mine working - now just waiting for an assignment

 

Link to comment
5 hours ago, CHBMB said:

If you're using this with GPU passthrough

 


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

  <!-- Folding Slot Configuration -->
  <gpu v='true'/>

  <!-- HTTP Server -->
  #Following allows access from local network
  <allow v='192.168.0.0/24'/>

  <!-- Remote Command Server -->
  #Change password for remote access
  <password v='PASSWORD'/>

  <!-- User Information -->
  #Change Team Number and Username if desired. Currently folding for UnRAID team!
  <team v='227802'/> <!-- Your team number (Team UnRAID is # 227802)-->
  <user v='chbmb'/> <!-- Enter your user name here -->
  <passkey v=''/> <!-- 32 hexadecimal characters if provided (Get one here: http://fah-web.stanford.edu/cgi-bin/getpasskey.py)-->

  <!-- Web Server -->
  #Following allows access from local network
  <web-allow v='192.168.0.0/24'/>

  <!-- CPU Use -->
  <power v='medium'/> 
  
  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
  <slot id='1' type='GPU'/>
</config>

 

I have two GPU's in my server.  How do i pick which GPU to pass to the docker?  No matter what I do it picks the wrong one.

Link to comment
7 hours ago, CHBMB said:

If you're using this with GPU passthrough

 


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

  <!-- Folding Slot Configuration -->
  <gpu v='true'/>

  <!-- HTTP Server -->
  #Following allows access from local network
  <allow v='192.168.0.0/24'/>

  <!-- Remote Command Server -->
  #Change password for remote access
  <password v='PASSWORD'/>

  <!-- User Information -->
  #Change Team Number and Username if desired. Currently folding for UnRAID team!
  <team v='227802'/> <!-- Your team number (Team UnRAID is # 227802)-->
  <user v='chbmb'/> <!-- Enter your user name here -->
  <passkey v=''/> <!-- 32 hexadecimal characters if provided (Get one here: http://fah-web.stanford.edu/cgi-bin/getpasskey.py)-->

  <!-- Web Server -->
  #Following allows access from local network
  <web-allow v='192.168.0.0/24'/>

  <!-- CPU Use -->
  <power v='medium'/> 
  
  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
  <slot id='1' type='GPU'/>
</config>

 

I have this set, but my GPU is doing nothing. Any ideas?

Link to comment

 

HI, i have lot of error on my log file :

 

 

06:57:21: <!-- Folding Slots -->
06:57:21: <slot id='0' type='CPU'/>
06:57:21: <slot id='1' type='GPU'/>
06:57:21:</config>
06:57:21:Trying to access database...
06:57:21:Successfully acquired database lock
06:57:21:Enabled folding slot 00: READY cpu:6
06:57:21:Enabled folding slot 01: READY gpu:0:GP106GL [Quadro P2200]
06:57:21:WU01:FS01:Starting
06:57:21:WU01:FS01:Running FahCore: /opt/fah/usr/bin/FAHCoreWrapper /config/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 705 -lifeline 27 -checkpoint 15 -gpu-vendor nvidia -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu 0
06:57:21:WU01:FS01:Started FahCore on PID 37
06:57:21:WU01:FS01:Core PID:41
06:57:21:WU01:FS01:FahCore 0x22 started
06:57:21:WU01:FS01:0x22:*********************** Log Started 2020-03-16T06:57:21Z ***********************
06:57:21:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
06:57:21:WU01:FS01:0x22: Type: 0x22
06:57:21:WU01:FS01:0x22: Core: Core22
06:57:21:WU01:FS01:0x22: Website: https://foldingathome.org/
06:57:21:WU01:FS01:0x22: Copyright: (c) 2009-2018 foldingathome.org
06:57:21:WU01:FS01:0x22: Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
06:57:21:WU01:FS01:0x22: <rafal.wiewiora@choderalab.org>
06:57:21:WU01:FS01:0x22: Args: -dir 01 -suffix 01 -version 705 -lifeline 37 -checkpoint 15
06:57:21:WU01:FS01:0x22: -gpu-vendor nvidia -opencl-platform 0 -opencl-device 0 -cuda-device
06:57:21:WU01:FS01:0x22: 0 -gpu 0
06:57:21:WU01:FS01:0x22: Config: <none>
06:57:21:WU01:FS01:0x22:************************************ Build *************************************
06:57:21:WU01:FS01:0x22: Version: 0.0.2
06:57:21:WU01:FS01:0x22: Date: Dec 6 2019
06:57:21:WU01:FS01:0x22: Time: 21:20:17
06:57:21:WU01:FS01:0x22: Repository: Git
06:57:21:WU01:FS01:0x22: Revision: f87d92b58abdf7e6bf2e173cfbc4dc3e837c7042
06:57:21:WU01:FS01:0x22: Branch: core22
06:57:21:WU01:FS01:0x22: Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
06:57:21:WU01:FS01:0x22: Options: -std=gnu++98 -O3 -funroll-loops
06:57:21:WU01:FS01:0x22: Platform: linux2 4.9.87-linuxkit-aufs
06:57:21:WU01:FS01:0x22: Bits: 64
06:57:21:WU01:FS01:0x22: Mode: Release
06:57:21:WU01:FS01:0x22:************************************ System ************************************
06:57:21:WU01:FS01:0x22: CPU: AMD Ryzen 5 2400G with Radeon Vega Graphics
06:57:21:WU01:FS01:0x22: CPU ID: AuthenticAMD Family 23 Model 17 Stepping 0
06:57:21:WU01:FS01:0x22: CPUs: 8
06:57:21:WU01:FS01:0x22: Memory: 13.71GiB
06:57:21:WU01:FS01:0x22:Free Memory: 5.42GiB
06:57:21:WU01:FS01:0x22: Threads: POSIX_THREADS
06:57:21:WU01:FS01:0x22: OS Version: 4.19
06:57:21:WU01:FS01:0x22:Has Battery: false
06:57:21:WU01:FS01:0x22: On Battery: false
06:57:21:WU01:FS01:0x22: UTC Offset: 0
06:57:21:WU01:FS01:0x22: PID: 41
06:57:21:WU01:FS01:0x22: CWD: /config/work
06:57:21:WU01:FS01:0x22: OS: Linux 4.19.107-Unraid x86_64
06:57:21:WU01:FS01:0x22: OS Arch: AMD64
06:57:21:WU01:FS01:0x22:********************************************************************************
06:57:21:WU01:FS01:0x22:Project: 11752 (Run 0, Clone 1235, Gen 1)
06:57:21:WU01:FS01:0x22:Unit: 0x000000048ca304e75e6a806098f7db69
06:57:21:WU01:FS01:0x22:Digital signatures verified
06:57:21:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
06:57:21:WU01:FS01:0x22:Version 0.0.2
06:57:22:WU00:FS00:Connecting to 65.254.110.245:8080
[93m06:57:24:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
06:57:24:WU00:FS00:Connecting to 18.218.241.186:80
[93m06:57:25:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m06:57:25:ERROR:WU00:FS00:Exception: Could not get an assignment[0m
06:57:26:WU00:FS00:Connecting to 65.254.110.245:8080
[93m06:57:28:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
06:57:28:WU00:FS00:Connecting to 18.218.241.186:80
[93m06:57:29:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m06:57:29:ERROR:WU00:FS00:Exception: Could not get an assignment[0m
06:57:30:WU01:FS01:0x22:Completed 0 out of 1000000 steps (0%)
06:57:30:WU01:FS01:0x22:Temperature control disabled. Requirements: single Nvidia GPU, tmax must be < 110 and twait >= 900
06:58:26:WU00:FS00:Connecting to 65.254.110.245:8080
[93m06:58:27:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
06:58:27:WU00:FS00:Connecting to 18.218.241.186:80
[93m06:58:28:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m06:58:28:ERROR:WU00:FS00:Exception: Could not get an assignment[0m
07:00:03:WU00:FS00:Connecting to 65.254.110.245:8080
[93m07:00:04:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
07:00:04:WU00:FS00:Connecting to 18.218.241.186:80
[93m07:00:05:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m07:00:05:ERROR:WU00:FS00:Exception: Could not get an assignment[0m
07:01:28:WU01:FS01:0x22:Completed 10000 out of 1000000 steps (1%)
07:02:41:WU00:FS00:Connecting to 65.254.110.245:8080
[93m07:02:42:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration[0m
07:02:42:WU00:FS00:Connecting to 18.218.241.186:80
[93m07:02:43:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration[0m
[91m07:02:43:ERROR:WU00:FS00:Exception: Could not get an assignment[0m

Quote

 

 

Link to comment

the 2 servers are idle, something is wrong as I have tried everything to make it work, as most of the posts above "No WUs available for this configuration" "Could not get an assignment"

The passkey doesnt seem to work or send and email with the key, probably overloaded.

<passkey v=''/> <!-- 32 hexadecimal characters if provided (Get one here: http://fah-web.stanford.edu/cgi-bin/getpasskey.py)-->

 

any workarounds or solutions?

Edited by PSYCHOPATHiO
Link to comment
2 hours ago, PSYCHOPATHiO said:

the 2 servers are idle, something is wrong as I have tried everything to make it work, as most of the posts above "No WUs available for this configuration" "Could not get an assignment"

The passkey doesnt seem to work or send and email with the key, probably overloaded.

<passkey v=''/> <!-- 32 hexadecimal characters if provided (Get one here: http://fah-web.stanford.edu/cgi-bin/getpasskey.py)-->

 

any workarounds or solutions?

Passkey will come eventually, I had mine turn up 12-24 hours later... servers are being crushed with requests from new folders... which is fantastic.

Same applies with handing out WU, they simply are struggling to keep up.

  • Like 2
Link to comment
21:46:07:WU02:FS00:0xa7:Completed 1 out of 125000 steps (0%)
21:46:32:WU00:FS00:Cleaning up
21:46:32:ERROR:WU00:FS00:Exception: Failed to remove directory './work/00': boost::filesystem::remove: Directory not empty: "./work/00"
21:47:56:WU01:FS01:0x22:Completed 80000 out of 1000000 steps (8%)
21:48:10:WU00:FS00:Cleaning up
21:48:10:ERROR:WU00:FS00:Exception: Failed to remove directory './work/00': boost::filesystem::remove: Directory not empty: "./work/00"
21:49:58:WU02:FS00:0xa7:Completed 1250 out of 125000 steps (1%)
21:50:47:WU00:FS00:Cleaning up
21:50:47:ERROR:WU00:FS00:Exception: Failed to remove directory './work/00': boost::filesystem::remove: Directory not empty: "./work/00"
21:51:36:WU01:FS01:0x22:Completed 90000 out of 1000000 steps (9%)
21:53:53:WU02:FS00:0xa7:Completed 2500 out of 125000 steps (2%)
21:55:01:WU00:FS00:Cleaning up
21:55:01:ERROR:WU00:FS00:Exception: Failed to remove directory './work/00': boost::filesystem::remove: Directory not empty: "./work/00"
21:55:16:WU01:FS01:0x22:Completed 100000 out of 1000000 steps (10%)
21:57:36:WU02:FS00:0xa7:Completed 3750 out of 125000 steps (3%)
21:59:33:WU01:FS01:0x22:Completed 110000 out of 1000000 steps (11%)
22:01:30:WU02:FS00:0xa7:Completed 5000 out of 125000 steps (4%)
22:01:53:WU00:FS00:Cleaning up
22:01:53:ERROR:WU00:FS00:Exception: Failed to remove directory './work/00': boost::filesystem::remove: Directory not empty: "./work/00"
22:03:14:WU01:FS01:0x22:Completed 120000 out of 1000000 steps (12%)
22:05:21:WU02:FS00:0xa7:Completed 6250 out of 125000 steps (5%)
22:06:54:WU01:FS01:0x22:Completed 130000 out of 1000000 steps (13%)
22:09:10:WU02:FS00:0xa7:Completed 7500 out of 125000 steps (6%)
22:10:35:WU01:FS01:0x22:Completed 140000 out of 1000000 steps (14%)
22:12:58:WU00:FS00:Cleaning up
22:12:58:ERROR:WU00:FS00:Exception: Failed to remove directory './work/00': boost::filesystem::remove: Directory not empty: "./work/00"
22:13:02:WU02:FS00:0xa7:Completed 8750 out of 125000 steps (7%)

I keep getting the following error is this a permission issue and if so how can I allow FAH to delete these directory's?

Link to comment
root@Zeus:/mnt/user/appdata/FoldingAtHome/work# ls -alh
total 56K
drwxr-xr-x 1 nobody users   78 Mar 16 22:45 ./
drwxrwxrwx 1 nobody users  107 Mar 16 20:21 ../
drwxr-xr-x 1 nobody users   42 Mar 16 23:12 00/
drwxr-xr-x 1 nobody users  224 Mar 16 23:14 01/
drwxr-xr-x 1 nobody users 4.0K Mar 16 23:24 02/
-rw-r--r-- 1 nobody users  32K Mar 16 23:25 client.db
-rw-r--r-- 1 nobody users  17K Mar 16 23:25 client.db-journal

This does not seem right..?

Just deleted the folder using krusader but no clue if it will return after next WU finishes.

Edited by Bleak
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.