Deleting WU?

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
Kyan
Posts: 5
Joined: Thu Mar 26, 2020 3:09 pm

Deleting WU?

Post by Kyan »

I received a WU which I am confident will not finish before the Expiration Time. I'd like to delete it so someone with a better computer can finish it faster, but I can't figure out how to do so.

I tried:
- Going into /Library/Application Support/FAHClient/work and deleting the WU data but that did nothing.
- Typing FAHClient --dump 02 which gave me the following response:

01:09:34:Read GPUs.txt
01:09:34:******************************* libFAH ********************************
01:09:34: Date: Oct 20 2020
01:09:34: Time: 13:36:42
01:09:34: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
01:09:34: Branch: master
01:09:34: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
01:09:34: Options: -std=c++11 -fsigned-char -O3 -funroll-loops
01:09:34: -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
01:09:34: Platform: darwin 19.2.0
01:09:34: Bits: 64
01:09:34: Mode: Release
01:09:34:****************************** FAHClient ******************************
01:09:34: Version: 7.6.21
01:09:34: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
01:09:34: Copyright: 2020 foldingathome.org
01:09:34: Homepage: https://foldingathome.org/
01:09:34: Date: Oct 20 2020
01:09:34: Time: 13:39:56
01:09:34: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
01:09:34: Branch: master
01:09:34: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
01:09:34: Options: -std=c++11 -fsigned-char -O3 -funroll-loops
01:09:34: -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
01:09:34: Platform: darwin 19.2.0
01:09:34: Bits: 64
01:09:34: Mode: Release
01:09:34: Args: --dump 02
01:09:34: Config: /Users/ps/config.xml
01:09:34:******************************** CBang ********************************
01:09:34: Date: Oct 20 2020
01:09:34: Time: 11:39:07
01:09:34: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
01:09:34: Branch: master
01:09:34: Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
01:09:34: Options: -std=c++11 -fsigned-char -O3 -funroll-loops
01:09:34: -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
01:09:34: -fPIC
01:09:34: Platform: darwin 19.2.0
01:09:34: Bits: 64
01:09:34: Mode: Release
01:09:34:******************************* System ********************************
01:09:34: CPU: VirtualApple @ 2.50GHz
01:09:34: CPU ID: GenuineIntel Family 6 Model 44 Stepping 0
01:09:34: CPUs: 8
01:09:34: Memory: 8.00GiB
01:09:34:Free Memory: 264.62MiB
01:09:34: Threads: POSIX_THREADS
01:09:34: OS Version: 10.16
01:09:34:Has Battery: true
01:09:34: On Battery: false
01:09:34: UTC Offset: 8
01:09:34: PID: 39798
01:09:34: CWD: /Users/ps
01:09:34: OS: Darwin 20.4.0 x86_64
01:09:34: OS Arch: AMD64
01:09:34: GPUs: 1
01:09:34: GPU 0: Bus:0 Slot:0 Func:0 AMD:5 Hawaii [Radeon R9 200 Series]
01:09:34: CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
01:09:34: dlopen(libcuda.dylib, 1): no suitable image found. Did find:
01:09:34: file system relative paths not allowed in hardened programs
01:09:34: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
01:09:34: dlopen(libOpenCL.dylib, 1): no suitable image found. Did find:
01:09:34: file system relative paths not allowed in hardened programs
01:09:34:***********************************************************************
01:09:34:<config>
01:09:34: <!-- Folding Slots -->
01:09:34: <slot id='0' type='CPU'/>
01:09:34:</config>
01:09:34:Trying to access database...
01:09:34:Successfully acquired database lock
01:09:34:FS00:Initialized folding slot 00: cpu:4
01:09:34:ERROR:Exception: Could not bind socket to 0.0.0.0:7396: Address already in use
01:09:34:ERROR:Exception: Could not bind socket to 0.0.0.0:36330: Address already in use
01:09:34:Unit processing completed
01:09:35:Clean exit

What can I do now?
calxalot
Site Moderator
Posts: 886
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Deleting WU?

Post by calxalot »

You need to stop the running client

Code: Select all

sudo /bin/launchctl unload -w /Library/LaunchDaemons/org.foldingathome.fahclient.plist
Change directory

Code: Select all

cd /Library/Application\ Support/FAHClient
Dump as user nobody

Code: Select all

sudo -u nobody FAHClient --dump 02
Start the client

Code: Select all

sudo /bin/launchctl load -w /Library/LaunchDaemons/org.foldingathome.fahclient.plist
If you don't understand all the commands above, you should not use them and just let the work expire normally.

I used these, but did not have any work to dump. So YMMV.
Post Reply