How to properly shutdown the WinSMP client [ctrl+c]
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 6
- Joined: Sat Mar 22, 2008 11:06 am
- Hardware configuration: KRoM: AMD R9 5900 w/ RTX 3090 FE (Custom Liquid Cooled)
XERXES: AMD R7 3800X w/ RTX 3070 Ti FE (Custom Liquid Cooled)
PWDR PUFF: AMD R5 3600 w/ RTX3070-8G-EK (Custom Liquid Cooled) - Location: Montreal, QC CA
- Contact:
How to properly shutdown the WinSMP client [ctrl+c]
How do I shutdown the WinSMP when I need to restart/shutdown my computer, without jeopardizing the WU?
Xerxes_Phi | Team PATCH (64512)
People and Technology Coexisting Harmoniously
People and Technology Coexisting Harmoniously
-
- Posts: 6
- Joined: Sat Mar 22, 2008 11:06 am
- Hardware configuration: KRoM: AMD R9 5900 w/ RTX 3090 FE (Custom Liquid Cooled)
XERXES: AMD R7 3800X w/ RTX 3070 Ti FE (Custom Liquid Cooled)
PWDR PUFF: AMD R5 3600 w/ RTX3070-8G-EK (Custom Liquid Cooled) - Location: Montreal, QC CA
- Contact:
Re: How to properly shutdown the WinSMP client
Note: Please read the license agreement (fah.exe -license). Further
use of this software requires that you have read and accepted this agreement.
If you see this twice, MPI is working
If you see this twice, MPI is working
2 cores detected
No directory settings found in registry. Using current directory...
--- Opening Log file [March 23 21:47:48]
# SMP Client ##################################################################
###############################################################################
Folding@Home Client Version 5.91beta6
http://folding.stanford.edu
###############################################################################
###############################################################################
Launch directory: C:\Program Files (x86)\Folding@Home Windows SMP Client V1.01
Executable: C:\Program Files (x86)\Folding@Home Windows SMP Client V1.01\fah.exe
[21:47:48] - Ask before connecting: No
[21:47:48] - User name: Xerxes_Phi (Team 64512)
[21:47:48] - User ID: 26BFB4697A8DDCE4
[21:47:48] - Machine ID: 1
[21:47:48]
[21:47:48] Loaded queue successfully.
[21:47:48]
[21:47:48] + Processing work unit
[21:47:48] Core required: FahCore_a1.exe
[21:47:48] Core found.
[21:47:48] Working on Unit 01 [March 23 21:47:48]
[21:47:48] + Working ...
[21:47:48]
[21:47:48] *------------------------------*
[21:47:48] Folding@Home Gromacs SMP Core
[21:47:48] Version 1.74 (March 10, 2007)
[21:47:48]
[21:47:48] Preparing to commence simulation
[21:47:48] - Ensuring status. Please wait.
[21:48:05] - User disabled assembly optimizations.
[21:48:05] Examination of work files indicates 8 consecutive improper terminatio
ns of core.
[21:48:10] - Expanded 2426518 -> 12927353 (decompressed 532.7 percent)
[21:48:11]
[21:48:11] Project: 2653 (Run 29, Clone 178, Gen 79)
[21:48:11]
[21:48:11] Entering M.D.
use of this software requires that you have read and accepted this agreement.
If you see this twice, MPI is working
If you see this twice, MPI is working
2 cores detected
No directory settings found in registry. Using current directory...
--- Opening Log file [March 23 21:47:48]
# SMP Client ##################################################################
###############################################################################
Folding@Home Client Version 5.91beta6
http://folding.stanford.edu
###############################################################################
###############################################################################
Launch directory: C:\Program Files (x86)\Folding@Home Windows SMP Client V1.01
Executable: C:\Program Files (x86)\Folding@Home Windows SMP Client V1.01\fah.exe
[21:47:48] - Ask before connecting: No
[21:47:48] - User name: Xerxes_Phi (Team 64512)
[21:47:48] - User ID: 26BFB4697A8DDCE4
[21:47:48] - Machine ID: 1
[21:47:48]
[21:47:48] Loaded queue successfully.
[21:47:48]
[21:47:48] + Processing work unit
[21:47:48] Core required: FahCore_a1.exe
[21:47:48] Core found.
[21:47:48] Working on Unit 01 [March 23 21:47:48]
[21:47:48] + Working ...
[21:47:48]
[21:47:48] *------------------------------*
[21:47:48] Folding@Home Gromacs SMP Core
[21:47:48] Version 1.74 (March 10, 2007)
[21:47:48]
[21:47:48] Preparing to commence simulation
[21:47:48] - Ensuring status. Please wait.
[21:48:05] - User disabled assembly optimizations.
[21:48:05] Examination of work files indicates 8 consecutive improper terminatio
ns of core.
[21:48:10] - Expanded 2426518 -> 12927353 (decompressed 532.7 percent)
[21:48:11]
[21:48:11] Project: 2653 (Run 29, Clone 178, Gen 79)
[21:48:11]
[21:48:11] Entering M.D.
Xerxes_Phi | Team PATCH (64512)
People and Technology Coexisting Harmoniously
People and Technology Coexisting Harmoniously
Re: How to properly shutdown the WinSMP client
Hi Xerxes_Phi, welcome to the forum!Xerxes_Phi wrote:How do I shutdown the WinSMP when I need to restart/shutdown my computer, without jeopardizing the WU?
In the console window you press Ctrl+C, then you wait for the four Fah_cores to disappear (hopefully the mpiexec and smpd will also do so). It will probably take a few minutes. Then you restart/shut down.
-
- Posts: 522
- Joined: Mon Dec 03, 2007 4:33 am
- Location: Australia
Re: How to properly shutdown the WinSMP client
Welcome to the project Xerxes_Phi!
In addition to él Mero's response, please note that the WinSMP beta client has a known bug that prints out that the previous termination on the core was improper (#6 on the bugs list). As long as you see the message "Extra SSE boost OK." while the core starts up, you should be good. However, make sure that you use él Mero's instructions while shutting down as an improper shutdown can cause work to be lost.
In addition to él Mero's response, please note that the WinSMP beta client has a known bug that prints out that the previous termination on the core was improper (#6 on the bugs list). As long as you see the message "Extra SSE boost OK." while the core starts up, you should be good. However, make sure that you use él Mero's instructions while shutting down as an improper shutdown can cause work to be lost.
-
- Posts: 6
- Joined: Sat Mar 22, 2008 11:06 am
- Hardware configuration: KRoM: AMD R9 5900 w/ RTX 3090 FE (Custom Liquid Cooled)
XERXES: AMD R7 3800X w/ RTX 3070 Ti FE (Custom Liquid Cooled)
PWDR PUFF: AMD R5 3600 w/ RTX3070-8G-EK (Custom Liquid Cooled) - Location: Montreal, QC CA
- Contact:
Re: How to properly shutdown the WinSMP client
Thanks for the info.
That'll help a lot.
Cheers, guys~
That'll help a lot.
Cheers, guys~
Xerxes_Phi | Team PATCH (64512)
People and Technology Coexisting Harmoniously
People and Technology Coexisting Harmoniously
-
- Posts: 3
- Joined: Tue Mar 25, 2008 3:49 pm
- Location: Farnborough, Hants, UK
- Contact:
Re: How to properly shutdown the WinSMP client [ctrl+c]
Hail everyone!
First post here (Just joined Folding) and I've got another take on an earlier question:
I've chosen to use the single processor console client on my own machine (Win32 Console version 5.04b) and I'd like to ask if the same solution to the above question (Pressing [Ctrl]+C) can be used on what I'm running.
Additionally, is there a way that I can begin a "safe" shutdown from another process, maybe by creating a "flag" file? I'm planning to control my Folding client by using a VBScript (Which manages several user-level processes) and I'd rather shut down the client properly as opposed to simply "Killing" the process in VBScript.
Farewell, and thanks for thy help!
+++ DieselDragon +++
First post here (Just joined Folding) and I've got another take on an earlier question:
I presume the WinSMP client is the multi-processor console version?Xerxes_Phi wrote:How do I shutdown the WinSMP when I need to restart/shutdown my computer, without jeopardizing the WU?
I've chosen to use the single processor console client on my own machine (Win32 Console version 5.04b) and I'd like to ask if the same solution to the above question (Pressing [Ctrl]+C) can be used on what I'm running.
Additionally, is there a way that I can begin a "safe" shutdown from another process, maybe by creating a "flag" file? I'm planning to control my Folding client by using a VBScript (Which manages several user-level processes) and I'd rather shut down the client properly as opposed to simply "Killing" the process in VBScript.
Farewell, and thanks for thy help!
+++ DieselDragon +++
DieselDragon's points: 0 | Group: 0 (None) | Joined F@H: 25/03/2008CE - 15:30 GMT
Current F@H client: Aragorn - x86 Athlon64 2.3GHz single core, 512Mb RAM, MS WinXP SP2.
Current F@H client: Aragorn - x86 Athlon64 2.3GHz single core, 512Mb RAM, MS WinXP SP2.
Re: How to properly shutdown the WinSMP client [ctrl+c]
Hi DieselDragon, welcome to the forum!
Correct.DieselDragon wrote:I presume the WinSMP client is the multi-processor console version?
Absolutely.DieselDragon wrote:I've chosen to use the single processor console client on my own machine (Win32 Console version 5.04b) and I'd like to ask if the same solution to the above question (Pressing [Ctrl]+C) can be used on what I'm running.
Don't know.DieselDragon wrote:Additionally, is there a way that I can begin a "safe" shutdown from another process, maybe by creating a "flag" file? I'm planning to control my Folding client by using a VBScript (Which manages several user-level processes) and I'd rather shut down the client properly as opposed to simply "Killing" the process in VBScript.
-
- 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: How to properly shutdown the WinSMP client [ctrl+c]
Install the v5.04 console client as a service. Then stop and start the service in your scripts.
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.
-
- Posts: 3
- Joined: Tue Mar 25, 2008 3:49 pm
- Location: Farnborough, Hants, UK
- Contact:
Re: How to properly shutdown the WinSMP client [ctrl+c]
Hail 7im!
Normally, I'd control a child process using an object created as a WSH.Shell object, a bit like this:I'm not so sure about stopping a running process using this method (objFolding.Quit ought to work, I'd guess) as I only really use this sort of code to start processes and let them self-terminate. I really need to revise commands for controlling processes...But only after I've had some much needed sleep as I've been up all day and all night!
Farewell, and thanks again!
+++ DieselDragon +++
I suppose I could do, although I'm not currently used to starting and stopping services from scripts in such a manner. I generally prefer to deal with console level applications where I can, but mainly as a throwback to my DOS days!7im wrote:Install the v5.04 console client as a service. Then stop and start the service in your scripts.
Normally, I'd control a child process using an object created as a WSH.Shell object, a bit like this:
Code: Select all
Option Explicit
'Define initial vars and create the WSH.Shell object used to execute the program:
Dim objFolding
Set objFolding = CreateObject("WScript.Shell")
'To start the program, we'd use the Run command (Obviously! :-D):
Set objFolding = objFolding.Run "C:\Progra~1\Foldin~1\FaH_504b.exe"
'Then to stop the program, we could either do it nicely (Equivalent to the TERM command):
objFolding.Quit
'...Or without the above line, we could just call the following right away and destroy
' it's parent object in the blink of an eye! (Equivalent to the KILL command):
Set objFolding = Nothing
Farewell, and thanks again!
+++ DieselDragon +++
DieselDragon's points: 0 | Group: 0 (None) | Joined F@H: 25/03/2008CE - 15:30 GMT
Current F@H client: Aragorn - x86 Athlon64 2.3GHz single core, 512Mb RAM, MS WinXP SP2.
Current F@H client: Aragorn - x86 Athlon64 2.3GHz single core, 512Mb RAM, MS WinXP SP2.