Force FAHControl to abandon current unit?
Moderators: Site Moderators, FAHC Science Team
Force FAHControl to abandon current unit?
Hi all,
I've been happily contributing since 2008, mostly on Linux systems, in a screen session using fah6, which has worked quite well.
Recently installed V7 client, with the attendant FAHControl, FAHClient and FAHViewer, all working very nicely so far.
Today, a Linux box crashed, and I restored it from a clonezllla image from 24 hours ago, which already had the above client, control and viewer modules installed. The problem is, it is now processing a work-unit that was already processed and uploaded, so it's wasting its time.
Is there a way to force it to abandon the current work-unit and start working on a new one? The ETA on the current one is about 22 hours, so it's not too big a deal, but I'd like to know if I can stop it and start a new one.
Thanks!
I've been happily contributing since 2008, mostly on Linux systems, in a screen session using fah6, which has worked quite well.
Recently installed V7 client, with the attendant FAHControl, FAHClient and FAHViewer, all working very nicely so far.
Today, a Linux box crashed, and I restored it from a clonezllla image from 24 hours ago, which already had the above client, control and viewer modules installed. The problem is, it is now processing a work-unit that was already processed and uploaded, so it's wasting its time.
Is there a way to force it to abandon the current work-unit and start working on a new one? The ETA on the current one is about 22 hours, so it's not too big a deal, but I'd like to know if I can stop it and start a new one.
Thanks!
Re: Force FAHControl to abandon current unit?
The official answer is to use the --dump N command string at startup time. This presumes that you're enough of a linux guru to understand how to (re-)start FAHClient with a command-line parameter string (and which is probably a challenge for the novice).
https://fah-web.stanford.edu/projects/F ... ncesV6ToV7
They didn't intend to make it too easy to do.
There are other cheap-and-dirty methods that many people use such as destroying the data that's needed to process the WU.
https://fah-web.stanford.edu/projects/F ... ncesV6ToV7
They didn't intend to make it too easy to do.
There are other cheap-and-dirty methods that many people use such as destroying the data that's needed to process the WU.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Posts: 38
- Joined: Wed Feb 13, 2013 6:55 am
- Hardware configuration: CPU:4 AMD Phenom II X4 910 @ 2.6GHz
CPU:2 Intel Core Duo T2600 @ 2.13GHz
CPU:4 Intel Core i5
CPU:4 Intel Core i5 M520 2.40 GHz
CPU:8 Intel Core i7-2600K @ 3.40GHz
CPU:8 Intel Core i7-3720QM @ 2.6GHz
CPU:7 Intel Core i7-3770 @ 3.40GHz
CPU:8 Intel Core i7-3820QM @ 2.7GHz
CPU:12 Intel Core i7-3930K @ 3.20GHz
CPU:10 Intel Core i7-3960X Hexa-Core 3.3GHz
CPU:10 Intel Core i7-3960X Hexa-Core 3.3GHz
CPU:2 Intel Pentium® D @ 2.80GHz
CPU:30 Intel XEON CPU E5-2687W @3.1GHz (2x)
GPU NVIDIA GT 640
GPU NVIDIA GT218 [NVS 3100M]
GPU NVIDIA GTX 570 HD EVGA
GPU NVIDIA GTX 660 Ti Zotac
GPU NVIDIA GTX 660 Ti Zotac
GPU NVIDIA GTX 660 Ti Zotac
GPU NVIDIA GTX 660 Ti Zotac
GPU NVIDIA GTX 680 EVGA
GPU NVIDIA GTX 680 EVGA
GPU NVIDIA GTX 680 GeForce
GPU NVIDIA GTX 680 GeForce
GPU NVIDIA GTX 680 GeForce
GPU NVIDIA GTX 680 GIGABYTE
GPU NVIDIA GTX 680 GIGABYTE
GPU NVIDIA GTX Titan EVGA
GPU NVIDIA GTX Titan EVGA
GPU NVIDIA Tesla K20c - Location: Minnesota
Re: Force FAHControl to abandon current unit?
I suspect the simplest is to delete the slot from the advanced / configure screen of the fahcontrol interface and then simply add the slot back in. That should dump the data and down load a new one very easily.
N0OA
N0OA
-
- Site Moderator
- Posts: 2850
- Joined: Mon Jul 18, 2011 4:44 am
- Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4 - Location: Western Washington
Re: Force FAHControl to abandon current unit?
+1 on that.N0OA wrote:I suspect the simplest is to delete the slot from the advanced / configure screen of the fahcontrol interface and then simply add the slot back in. That should dump the data and down load a new one very easily.
N0OA
If you've got any custom slot settings, you wouldn't want to lose them while doing this, so be sure to write them down and reenter them of course.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
-
- Posts: 10179
- Joined: Thu Nov 29, 2007 4:30 pm
- Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
- Location: Arizona
- Contact:
Re: Force FAHControl to abandon current unit?
Delete a slot, add a slot, reconfigure all my settings... Ya that sounds so much easier than a one liner in a command prompt.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Re: Force FAHControl to abandon current unit?
Thanks so much, folks,
Attempted this:
sudo service FAHClient stop
(client stopped OK)
sudo service FAHClient --dump all
sudo service FAHClient start
No errors, so I thought I must have done it right, but FAHClient showed it picked up the same WU right where it left off.
So I went with the second advice, in FAHClontrol, configure>slots, deleted the slot, saved, recreated it, saved, and now FAHControl shows a different procject ID with progress-bar at 0% and a different ETA.
Thanks again!
Attempted this:
sudo service FAHClient stop
(client stopped OK)
sudo service FAHClient --dump all
sudo service FAHClient start
No errors, so I thought I must have done it right, but FAHClient showed it picked up the same WU right where it left off.
So I went with the second advice, in FAHClontrol, configure>slots, deleted the slot, saved, recreated it, saved, and now FAHControl shows a different procject ID with progress-bar at 0% and a different ETA.
Thanks again!
-
- Posts: 10179
- Joined: Thu Nov 29, 2007 4:30 pm
- Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
- Location: Arizona
- Contact:
Re: Force FAHControl to abandon current unit?
The notes in the chart linked above say the WU is not immediately dumped after using the dump command. There is a short delay while the work server is contacted.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Tell me and I forget. Teach me and I remember. Involve me and I learn.
-
- Site Admin
- Posts: 7937
- 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: Force FAHControl to abandon current unit?
The hard part in using the dump command from the command line is not entering a "one liner", but getting all of the paths correct. I went through this trying to dump a WU from a service setup on OS X, the default paths for FAHClient run from the command line are not the same as when set up as a service. Having looked at the Linux logs, the same applies for those OS's. The command either needs to be run from the right directory, or the paths have to be specified correctly on the command line. I found it much easier to recreate a folding slot in FAHControl.7im wrote:Delete a slot, add a slot, reconfigure all my settings... Ya that sounds so much easier than a one liner in a command prompt.
Now, if the folding was done from the command from the start, then the relative paths are all the same when trying to use --dump from the command line. Then it is an easy one liner, no stopping and starting of the service, etc.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
-
- Posts: 10179
- Joined: Thu Nov 29, 2007 4:30 pm
- Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
- Location: Arizona
- Contact:
Re: Force FAHControl to abandon current unit?
Just curious, how long did it take for your client to dump the work unit? Or was it immediate?
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Tell me and I forget. Teach me and I remember. Involve me and I learn.
-
- Site Admin
- Posts: 7937
- 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: Force FAHControl to abandon current unit?
No more than 5 to 10 seconds total plus upload time. It took nearly 2 hours to figure out the correct absolute paths and relative paths to use in the command line since the executable and data directories are different.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3