Not getting WUs in 8.1.11 Beta

Moderators: Site Moderators, FAHC Science Team

JL_678
Posts: 37
Joined: Sun Jan 22, 2023 3:18 am

Re: Not getting WUs in 8.1.11 Beta

Post by JL_678 »

calxalot wrote: Thu Jan 26, 2023 4:01 am
Port 443 is already forwarded to a different host for https access
That sounds proxy-like to me.
Typically a proxy is impacting outbound connections. (e.g. client -> proxy -> Internet). This is why browsers need to know about them. Port forwarding is the opposite. Public Internet -> Router -> Local server.

Typically the only reason to use port forwarding is to expose an internal server to the public Internet. In general this is a bad idea unless you know what you are doing.
JL_678
Posts: 37
Joined: Sun Jan 22, 2023 3:18 am

Re: Not getting WUs in 8.1.11 Beta

Post by JL_678 »

Sure, no problem. I stopped the v8 beta server due to the WU issue. I will restart it today and attach the requested log lines with level 3 verbosity. Note that this system is running the standard (e.g. non-debug) build.
JL_678
Posts: 37
Joined: Sun Jan 22, 2023 3:18 am

Re: Not getting WUs in 8.1.11 Beta

Post by JL_678 »

I could not figure out the best way to post the log since it is lengthy and so I uploaded it to https://textdoc.co/9PWJvE8n3Mwu5aXB. Hopefully this is readable. Please let me know if you have any issues accessing this or if you would like any additional data.

TIA!
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Not getting WUs in 8.1.11 Beta

Post by calxalot »

I think maybe there’s just no WUs available for cpu:1.

Can you try setting CPUs to 2?
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Not getting WUs in 8.1.11 Beta

Post by calxalot »

Since this is not the service client, you should remove the log and log-rotate-dir options.
JL_678
Posts: 37
Joined: Sun Jan 22, 2023 3:18 am

Re: Not getting WUs in 8.1.11 Beta

Post by JL_678 »

Wow so adding a second CPU in the GUI seemed to solve the "No WU" problem as it found one and started working. Great! I am curious why.

I still don't see any entries in the "cause" box and so would still love to figure out how to resolve that.

Oh and removing the log entries from config.xml makes it stop logging when running from CLI and so I left those in.

We are making excellent progress. Thank you!
JL_678
Posts: 37
Joined: Sun Jan 22, 2023 3:18 am

Re: Not getting WUs in 8.1.11 Beta

Post by JL_678 »

Unexpected update -- The cause list just populated! I have no idea why as I have done nothing except early today when I changed the CPU 2.
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Not getting WUs in 8.1.11 Beta

Post by calxalot »

Removing the log options should have made the client create log.txt in the PWD instead of in /var/log/fah-client
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Not getting WUs in 8.1.11 Beta

Post by calxalot »

WUs have minimum and maximum cpus set by the researcher. Cpu 1 is probably deemed unable to complete work in time.
JL_678
Posts: 37
Joined: Sun Jan 22, 2023 3:18 am

Re: Not getting WUs in 8.1.11 Beta

Post by JL_678 »

Thank you for the log details and CPU clarification.

If 1 CPU will rarely work, should the client even allow that as an option? Is there some other limit that? At a minimum, it should be documented.
theschles
Posts: 5
Joined: Mon Mar 30, 2020 2:13 am

Re: Not getting WUs in 8.1.11 Beta

Post by theschles »

I have a different situation:

If I run `fah-client` in MacOS Ventura via `launchctl load`, it pulls in my config file without me needing to specify it in the `.plist` file...and then just sits there doing nothing after loading up everything -- normal log output about config file, computer details, etc. No WUs worked on. It also throws a fit about me attempting to connect to the web control:

```

Code: Select all

02:20:11:I1:****************************** CBang ******************************
02:20:11:I1:       Date: Jan 15 2023
02:20:11:I1:       Time: 07:21:34
02:20:11:I1:   Revision: 1f108404084dfa81521efa8ec2ac094d9ba7d3c3
02:20:11:I1:     Branch: master
02:20:11:I1:   Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
02:20:11:I1:    Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
02:20:11:I1:             -arch x86_64 -arch arm64 -mmacosx-version-min=10.13 -fPIC
02:20:11:I1:   Platform: darwin 21.6.0
02:20:11:I1:       Bits: 64
02:20:11:I1:       Mode: Release
02:20:11:I1:***************************** System ******************************
02:20:11:I1:        CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
02:20:11:I1:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
02:20:11:I1:       CPUs: 8
02:20:11:I1:     Memory: 16.00GiB
02:20:11:I1:Free Memory: 380.55MiB
02:20:11:I1:    Threads: POSIX_THREADS
02:20:11:I1: OS Version: 13.1
02:20:11:I1:Has Battery: true
02:20:11:I1: On Battery: false
02:20:11:I1: UTC Offset: -8
02:20:11:I1:        PID: 19570
02:20:11:I1:        CWD: /Library/Application Support/FAHClient
02:20:11:I1:       Exec: /usr/local/bin/fah-client
02:20:11:I1:*********************** Folding@home Client ***********************
02:20:11:I1:    Version: 8.1.11
02:20:11:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
02:20:11:I1:        Org: foldingathome.org
02:20:11:I1:  Copyright: 2023 foldingathome.org
02:20:11:I1:   Homepage: https://foldingathome.org/
02:20:11:I1:    License: https://www.gnu.org/licenses/gpl-3.0.txt
02:20:11:I1:       Date: Jan 16 2023
02:20:11:I1:       Time: 08:11:52
02:20:11:I1:   Revision: 3393b2293516db81c590fc15ea65cf662f3125e9
02:20:11:I1:     Branch: master
02:20:11:I1:   Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
02:20:11:I1:    Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
02:20:11:I1:             -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
02:20:11:I1:   Platform: darwin 21.6.0
02:20:11:I1:       Bits: 64
02:20:11:I1:       Mode: Release
02:20:11:I1:     Config: /Library/Application Support/FAHClient/config.xml
02:20:11:I1:*******************************************************************
02:20:11:I2:<config>
02:20:11:I2:  <!-- HTTP Server -->
02:20:11:I2:  <allow v='127.0.0.1 10.0.0.0/8 192.168.0.0/16 172.16.0.0/12 169.254.0.0/16'/>
02:20:11:I2:  <deny>
02:20:11:I2:    0/0
02:20:11:I2:  </deny>
02:20:11:I2:  <http-addresses v='0.0.0.0:7396'/>
02:20:11:I2:
02:20:11:I2:  <!-- Project Settings -->
02:20:11:I2:  <cause v='COVID_19'/>
02:20:11:I2:
02:20:11:I2:  <!-- User Information -->
02:20:11:I2:  <passkey v='*****'/>
02:20:11:I2:  <user v='Philip_Schlesinger'/>
02:20:11:I2:</config>
02:20:12:I1:Opening Database
02:20:12:I1:Listening for HTTP on 0.0.0.0:7396
02:20:12:I3:id = nNXodF69104rOfH6lJCA+VFIVLCaWkGbz0k7Z40GcjM=
02:20:12:I3:Loaded 0 wus.
02:20:12:I3:Adding GPU gpu:00:02:00
02:20:12:I3:Adding GPU gpu:01:00:00
02:20:12:I3:gpus = {
02:20:12:I3:  "gpu:00:02:00": {"type": "intel", "description": "KBL GT2 [HD Graphics 630]"},
02:20:12:I3:  "gpu:01:00:00": {"type": "amd", "description": "Baffin [Radeon RX 460/560D]"}
02:20:12:I3:}
02:20:41:I1:CON5:< 127.0.0.1:54967 OPTIONS /ping?_=1674872441587&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:41:W :REQ5:127.0.0.1:54967:Access denied by Origin
02:20:41:I1:REQ5:> HTTP/1.1 401 HTTP_UNAUTHORIZED
02:20:41:I1:CON4:< 127.0.0.1:54966 GET /ping?_=1674872441587&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:41:I1:REQ4:> HTTP/1.1 404 HTTP_NOT_FOUND
02:20:43:I1:CON5:< 127.0.0.1:54967 OPTIONS /ping?_=1674872441588&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:43:W :REQ5:127.0.0.1:54967:Access denied by Origin
02:20:43:I1:REQ5:> HTTP/1.1 401 HTTP_UNAUTHORIZED
02:20:43:I1:CON6:< 127.0.0.1:54968 GET /ping?_=1674872441588&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:43:I1:REQ6:> HTTP/1.1 404 HTTP_NOT_FOUND
02:20:45:I1:CON5:< 127.0.0.1:54967 OPTIONS /ping?_=1674872441589&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:45:W :REQ5:127.0.0.1:54967:Access denied by Origin
02:20:45:I1:REQ5:> HTTP/1.1 401 HTTP_UNAUTHORIZED
02:20:45:I1:CON7:< 127.0.0.1:54969 GET /ping?_=1674872441589&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:45:I1:REQ7:> HTTP/1.1 404 HTTP_NOT_FOUND
02:20:47:I1:CON5:< 127.0.0.1:54967 OPTIONS /ping?_=1674872441590&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:47:W :REQ5:127.0.0.1:54967:Access denied by Origin
02:20:47:I1:REQ5:> HTTP/1.1 401 HTTP_UNAUTHORIZED
02:20:47:I1:CON8:< 127.0.0.1:54970 GET /ping?_=1674872441590&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:47:I1:REQ8:> HTTP/1.1 404 HTTP_NOT_FOUND
02:20:49:I1:CON5:< 127.0.0.1:54967 OPTIONS /ping?_=1674872441591&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:49:W :REQ5:127.0.0.1:54967:Access denied by Origin
02:20:49:I1:REQ5:> HTTP/1.1 401 HTTP_UNAUTHORIZED
02:20:49:I1:CON9:< 127.0.0.1:54971 GET /ping?_=1674872441591&callback=jQuery190004452897213942264_1674872441586 HTTP/1.1
02:20:49:I1:REQ9:> HTTP/1.1 404 HTTP_NOT_FOUND
```

On the other hand, if I run `fah-client --config /path/to/config.xml` directly from the command line, it works as expected! I get WUs. It works on them. I can access web control.

```

Code: Select all

02:25:08:I1:****************************** CBang ******************************
02:25:08:I1:       Date: Jan 15 2023
02:25:08:I1:       Time: 07:21:34
02:25:08:I1:   Revision: 1f108404084dfa81521efa8ec2ac094d9ba7d3c3
02:25:08:I1:     Branch: master
02:25:08:I1:   Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
02:25:08:I1:    Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
02:25:08:I1:             -arch x86_64 -arch arm64 -mmacosx-version-min=10.13 -fPIC
02:25:08:I1:   Platform: darwin 21.6.0
02:25:08:I1:       Bits: 64
02:25:08:I1:       Mode: Release
02:25:08:I1:***************************** System ******************************
02:25:08:I1:        CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
02:25:08:I1:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
02:25:08:I1:       CPUs: 8
02:25:08:I1:     Memory: 16.00GiB
02:25:08:I1:Free Memory: 548.41MiB
02:25:08:I1:    Threads: POSIX_THREADS
02:25:08:I1: OS Version: 13.1
02:25:08:I1:Has Battery: true
02:25:08:I1: On Battery: false
02:25:08:I1: UTC Offset: -8
02:25:08:I1:        PID: 20273
02:25:08:I1:        CWD: /Users/phil
02:25:08:I1:       Exec: /usr/local/bin/fah-client
02:25:08:I1:*********************** Folding@home Client ***********************
02:25:08:I1:    Version: 8.1.11
02:25:08:I1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
02:25:08:I1:        Org: foldingathome.org
02:25:08:I1:  Copyright: 2023 foldingathome.org
02:25:08:I1:   Homepage: https://foldingathome.org/
02:25:08:I1:    License: https://www.gnu.org/licenses/gpl-3.0.txt
02:25:08:I1:       Date: Jan 16 2023
02:25:08:I1:       Time: 08:11:52
02:25:08:I1:   Revision: 3393b2293516db81c590fc15ea65cf662f3125e9
02:25:08:I1:     Branch: master
02:25:08:I1:   Compiler: GNU Apple LLVM 14.0.0 (clang-1400.0.29.202)
02:25:08:I1:    Options: -std=c++17 -fsigned-char -stdlib=libc++ -O3 -funroll-loops -fno-pie
02:25:08:I1:             -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
02:25:08:I1:   Platform: darwin 21.6.0
02:25:08:I1:       Bits: 64
02:25:08:I1:       Mode: Release
02:25:08:I1:       Args: --config /Library/Application Support/FAHClient/config.xml
02:25:08:I1:     Config: /Library/Application Support/FAHClient/config.xml
02:25:08:I1:*******************************************************************
02:25:08:I2:<config>
02:25:08:I2:  <!-- HTTP Server -->
02:25:08:I2:  <allow v='127.0.0.1 10.0.0.0/8 192.168.0.0/16 172.16.0.0/12 169.254.0.0/16'/>
02:25:08:I2:  <deny>
02:25:08:I2:    0/0
02:25:08:I2:  </deny>
02:25:08:I2:  <http-addresses v='0.0.0.0:7396'/>
02:25:08:I2:
02:25:08:I2:  <!-- Project Settings -->
02:25:08:I2:  <cause v='COVID_19'/>
02:25:08:I2:
02:25:08:I2:  <!-- User Information -->
02:25:08:I2:  <passkey v='*****'/>
02:25:08:I2:  <user v='Philip_Schlesinger'/>
02:25:08:I2:</config>
02:25:09:I1:Opening Database
02:25:09:I1:Listening for HTTP on 0.0.0.0:7396
02:25:09:I3:id = 0AwgV457mtQzHlOFr5QpJi3WPZPZ62K1brIEr7YXKTs=
02:25:09:I3:Loading work unit 1 to group '' with ID Hg8hnWIRrroyoAU_7fHRUGzrwCHBIyqpP5r_sGdBdpQ
02:25:09:I3:Loaded 1 wus.
02:25:09:I3:Adding GPU gpu:00:02:00
02:25:09:I3:Adding GPU gpu:01:00:00
02:25:09:I3:gpus = {
02:25:09:I3:  "gpu:00:02:00": {"type": "intel", "description": "KBL GT2 [HD Graphics 630]"},
02:25:09:I3:  "gpu:01:00:00": {"type": "amd", "description": "Baffin [Radeon RX 460/560D]"}
02:25:09:I3:}
02:25:09:I1:Loaded cores/fahcore-a8-osx-64bit-avx2_256-0.0.12/FahCore_a8
02:25:09:I1::WU1:CORE 100%
02:25:09:I3::WU1:Running FahCore: /Users/phil/cores/fahcore-a8-osx-64bit-avx2_256-0.0.12/FahCore_a8 -dir Hg8hnWIRrroyoAU_7fHRUGzrwCHBIyqpP5r_sGdBdpQ -suffix 01 -version 8.1.11 -lifeline 20273 -np 7
02:25:09:I3::WU1:Started FahCore on PID 20278
02:25:09:I1::WU1:*********************** Log Started 2023-01-28T02:25:09Z ***********************
02:25:09:I1::WU1:************************** Gromacs Folding@home Core ***************************
02:25:09:I1::WU1:       Core: Gromacs
02:25:09:I1::WU1:       Type: 0xa8
02:25:09:I1::WU1:    Version: 0.0.12
02:25:09:I1::WU1:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
02:25:09:I1::WU1:  Copyright: 2020 foldingathome.org
02:25:09:I1::WU1:   Homepage: https://foldingathome.org/
02:25:09:I1::WU1:       Date: Jan 16 2021
02:25:09:I1::WU1:       Time: 21:26:21
02:25:09:I1::WU1:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
02:25:09:I1::WU1:     Branch: master
02:25:09:I1::WU1:   Compiler: GNU Apple LLVM 12.0.0 (clang-1200.0.32.28)
02:25:09:I1::WU1:    Options: -faligned-new -std=c++14 -fsigned-char -stdlib=libc++ -O3
02:25:09:I1::WU1:             -funroll-loops -fno-pie -mmacosx-version-min=10.7
02:25:09:I1::WU1:   Platform: darwin 20.2.0
02:25:09:I1::WU1:       Bits: 64
02:25:09:I1::WU1:       Mode: Release
02:25:09:I1::WU1:       SIMD: avx2_256
02:25:09:I1::WU1:     OpenMP: ON
02:25:09:I1::WU1:       CUDA: OFF
02:25:09:I1::WU1:       Args: -dir Hg8hnWIRrroyoAU_7fHRUGzrwCHBIyqpP5r_sGdBdpQ -suffix 01
02:25:09:I1::WU1:             -version 8.1.11 -lifeline 20273 -np 7
02:25:09:I1::WU1:************************************ libFAH ************************************
02:25:09:I1::WU1:       Date: Jan 16 2021
02:25:09:I1::WU1:       Time: 21:21:45
02:25:09:I1::WU1:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
02:25:09:I1::WU1:     Branch: master
02:25:09:I1::WU1:   Compiler: GNU Apple LLVM 12.0.0 (clang-1200.0.32.28)
02:25:09:I1::WU1:    Options: -faligned-new -std=c++14 -fsigned-char -stdlib=libc++ -O3
02:25:09:I1::WU1:             -funroll-loops -fno-pie -mmacosx-version-min=10.7
02:25:09:I1::WU1:   Platform: darwin 20.2.0
02:25:09:I1::WU1:       Bits: 64
02:25:09:I1::WU1:       Mode: Release
02:25:09:I1::WU1:************************************ CBang *************************************
02:25:09:I1::WU1:       Date: Jan 16 2021
02:25:09:I1::WU1:       Time: 21:21:02
02:25:09:I1::WU1:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
02:25:09:I1::WU1:     Branch: master
02:25:09:I1::WU1:   Compiler: GNU Apple LLVM 12.0.0 (clang-1200.0.32.28)
02:25:09:I1::WU1:    Options: -faligned-new -std=c++14 -fsigned-char -stdlib=libc++ -O3
02:25:09:I1::WU1:             -funroll-loops -fno-pie -mmacosx-version-min=10.7 -fPIC
02:25:09:I1::WU1:   Platform: darwin 20.2.0
02:25:09:I1::WU1:       Bits: 64
02:25:09:I1::WU1:       Mode: Release
02:25:09:I1::WU1:************************************ System ************************************
02:25:09:I1::WU1:        CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
02:25:09:I1::WU1:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
02:25:09:I1::WU1:       CPUs: 8
02:25:09:I1::WU1:     Memory: 16.00GiB
02:25:09:I1::WU1:Free Memory: 530.24MiB
02:25:09:I1::WU1:    Threads: POSIX_THREADS
02:25:09:I1::WU1: OS Version: 13.1
02:25:09:I1::WU1:Has Battery: true
02:25:09:I1::WU1: On Battery: false
02:25:09:I1::WU1: UTC Offset: -8
02:25:09:I1::WU1:        PID: 20278
02:25:09:I1::WU1:        CWD: /Users/phil/work
02:25:09:I1::WU1:********************************************************************************
02:25:09:I1::WU1:Project: 19209 (Run 28, Clone 4, Gen 131)
02:25:09:I1::WU1:Unit: 0x00000000000000000000000000000000
02:25:09:I1::WU1:Digital signatures verified
02:25:09:I1::WU1:Calling: mdrun -c frame131.gro -s frame131.tpr -x frame131.xtc -cpi state.cpt -cpt 5 -nt 7 -ntmpi 1
02:25:09:I1::WU1:Steps: first=65500000 total=66000000
02:25:14:I1::WU1:Completed 29436 out of 500000 steps (5%)
```

Help?
Last edited by Joe_H on Sun Jan 29, 2023 9:26 pm, edited 1 time in total.
Reason: added code tags to log
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Not getting WUs in 8.1.11 Beta

Post by calxalot »

If you use the standard installer, you shouldn't be having trouble.
You should not normally be using launchctl.
And if you don't use "sudo launchctl ..." you are not running the client in the right context.
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Not getting WUs in 8.1.11 Beta

Post by calxalot »

Please create a new thread and explain what you're trying to do that is non-standard.
theschles
Posts: 5
Joined: Mon Mar 30, 2020 2:13 am

Re: Not getting WUs in 8.1.11 Beta

Post by theschles »

calxalot wrote: Sat Jan 28, 2023 3:43 am If you use the standard installer, you shouldn't be having trouble.
You should not normally be using launchctl.
And if you don't use "sudo launchctl ..." you are not running the client in the right context.
Sorry, wasn't specific. Yes, using `sudo launchctl`.
calxalot wrote: Sat Jan 28, 2023 3:44 am Please create a new thread and explain what you're trying to do that is non-standard.
Roger that.
Post Reply