Stop or pause BOINC at next checkpoint.

Message boards : Number crunching : Stop or pause BOINC at next checkpoint.

To post messages, you must log in.

AuthorMessage
Keith T.
Avatar

Send message
Joined: 1 Mar 07
Posts: 58
Credit: 31,205
RAC: 114
Message 39117 - Posted: 7 Apr 2007, 13:47:06 UTC

I've seen this thread for Linux, but is anything similar possible for Windows?

Keith
ID: 39117 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1663
Credit: 78,310,281
RAC: 36,314
Message 39132 - Posted: 7 Apr 2007, 23:06:16 UTC

an option to shutdown after checkpoint would be nice! I remember back in the day when RM's UDMon allowed that...
ID: 39132 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Christoph

Send message
Joined: 10 Dec 05
Posts: 57
Credit: 1,512,386
RAC: 0
Message 39138 - Posted: 8 Apr 2007, 7:18:08 UTC

I'm trying to write a little app which does the same as River's bash script. But I think the best would be if the BOINC developers could implement such a feature in the BOINC client.
ID: 39138 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Keith T.
Avatar

Send message
Joined: 1 Mar 07
Posts: 58
Credit: 31,205
RAC: 114
Message 39143 - Posted: 8 Apr 2007, 11:08:49 UTC

Thanks for the replies, another possible nice feature (to some) would be if BOINC or Rosetta could have an option to play an audible warning or pop-up a message box when a checkpoint is reached. This feature would need to be configurable by the user as many would not want it, but some would.

I have also seen that "more frequent checkpoints" is in progress in RALPH, I hope it arrives soon.

Keith.
ID: 39143 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1663
Credit: 78,310,281
RAC: 36,314
Message 39145 - Posted: 8 Apr 2007, 12:01:17 UTC - in response to Message 39143.  

Thanks for the replies, another possible nice feature (to some) would be if BOINC or Rosetta could have an option to play an audible warning or pop-up a message box when a checkpoint is reached. This feature would need to be configurable by the user as many would not want it, but some would.

Just an option to run a program or file at checkpoint would be enough - then users could select a shutdown/standby/hibernate script, audio file, or anything else...
ID: 39145 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Christoph

Send message
Joined: 10 Dec 05
Posts: 57
Credit: 1,512,386
RAC: 0
Message 39154 - Posted: 8 Apr 2007, 12:41:54 UTC
Last modified: 8 Apr 2007, 12:45:57 UTC

I've written a little tool, called stopatcheckpoint :P. You can download it here. You can start the batch file to shutdown your computer if the result 0 checkpoints. Feel free to edit the batch file and replace the shutdown with something other. You get the result id for any running workunit by calling "sacp.exe" without parameters. Make sure you specify the path to client_state.xml (in your BOINC directory) if sacp.exe can't find it. There are a few other options, just call "sacp.exe /?" and a little help is shown.
ID: 39154 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile River~~
Avatar

Send message
Joined: 15 Dec 05
Posts: 761
Credit: 285,578
RAC: 0
Message 39244 - Posted: 10 Apr 2007, 19:41:59 UTC - in response to Message 39154.  

I've written a little tool, called stopatcheckpoint :P...


Nice one - thanks! Thanks for picking up on my idea and running with it. I'll be using your implementation on my winboxes :)

I've posted a cross link from the Linux thread to here.

R~~
ID: 39244 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
MikeMarsUK

Send message
Joined: 15 Jan 06
Posts: 121
Credit: 2,637,872
RAC: 0
Message 39252 - Posted: 10 Apr 2007, 23:13:07 UTC


There is a debug setting you can use to get Boinc to display the checkpoints in the messages tab.

5.8.15 - <task_debug>
5.8.16 - <checkpoint_debug>

These are configured via cc_config.xml (see Ageless's FAQ on the main Boinc forum for more details).

Be aware that some projects (for example, Einstein) will generate huge amounts of text from some debug settings.

ID: 39252 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1663
Credit: 78,310,281
RAC: 36,314
Message 41276 - Posted: 21 May 2007, 22:59:05 UTC

Hi christoph

I've just run the util on a PC that i'm setting up. Only problem is the exe is looking for BOINC in c:program filesboinc while mine's installed to h:boinc

Any chance you could make it configurable?

cheers!
Danny
ID: 41276 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Christoph

Send message
Joined: 10 Dec 05
Posts: 57
Credit: 1,512,386
RAC: 0
Message 41303 - Posted: 22 May 2007, 15:17:43 UTC - in response to Message 41276.  
Last modified: 22 May 2007, 15:19:07 UTC

Hi christoph

I've just run the util on a PC that i'm setting up. Only problem is the exe is looking for BOINC in c:program filesboinc while mine's installed to h:boinc

Any chance you could make it configurable?

cheers!
Danny

Hi,

it's already configurable! (run "sacp.exe /?")

Make sure you specify the path to client_state.xml (in your BOINC directory) if sacp.exe can't find it.


sacp.exe /P "H:BOINCclient_state.xml" /R ...

But it seems the app is still very buggy, especially when a workunit finishes. I'm trying to sort out this problem.
ID: 41303 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Stop or pause BOINC at next checkpoint.



©2020 University of Washington
https://www.bakerlab.org