Cmd line to suspend


log in

Advanced search

Message boards : Number crunching : Cmd line to suspend

Author Message
Dave
Avatar
Send message
Joined: 29 Mar 02
Posts: 774
Credit: 23,193,139
RAC: 0
United Kingdom
Message 1100197 - Posted: 24 Apr 2011, 7:05:06 UTC

Good morning, happy Easter & welcome back Debbie.

...

Anyway, does anyone know if there is a cmd line to set BOINC to suspend? My idea is to add the line to a batch-file that I use to launch a game. Then there's no chance of science being lost due to computation errors during gaming (+ jerky framerates).

Profile HelliProject donor
Volunteer tester
Avatar
Send message
Joined: 15 Dec 99
Posts: 699
Credit: 85,785,593
RAC: 66,111
Germany
Message 1100202 - Posted: 24 Apr 2011, 7:54:07 UTC

Have you tried both <exclusive_....> Tags in cc_config.xml to stop crunching with the GPUs or CPUs or both
if you start an specific Application like a Game?

<exclusive_app>filename.exe</exclusive_app> BOINC will suspend computing whenever the executable is running (e.g., a game). Case is ignored in filenames. Multiple applications can be specified. <exclusive_gpu_app>important.exe</exclusive_gpu_app> BOINC will suspend use of GPUs whenever the executable is running.


cc_config options

Helli
____________

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 357,745
RAC: 38
Germany
Message 1100207 - Posted: 24 Apr 2011, 8:33:09 UTC - in response to Message 1100197.

And then there's boinccmd (the BOINC program directory needs to be in your path). Try

boinccmd --set_run_mode mode duration set run mode for given duration mode = always | auto | never
There should also be a command to suspend GPU processing only in newer versions than mine (5.10.45). Try
boinccmd --help

Gruß,
Gundolf
____________
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours

Profile -= Vyper =-Project donor
Volunteer tester
Avatar
Send message
Joined: 5 Sep 99
Posts: 1042
Credit: 306,749,616
RAC: 211,252
Sweden
Message 1100220 - Posted: 24 Apr 2011, 9:52:07 UTC

This are my lines of doing it.
A while back when boincmgr.exe and boinc.exe couldn't handle projects with a lots of download/uploads and workunits at the same time i couldn't even get boincmanager to do what i wanted because of the constant wait window appearing.

That's why i needed a cmdline to suspend it.

@ECHO OFF
cd "c:\program files\boinc"
boinccmd --host localhost --passwd xxxxxxx --project http://setiathome.berkeley.edu suspend
EXIT

Take care.

Kind regards Vyper
____________

_________________________________________________________________________
Addicted to SETI crunching!
Founder of GPU Users Group

Dave
Avatar
Send message
Joined: 29 Mar 02
Posts: 774
Credit: 23,193,139
RAC: 0
United Kingdom
Message 1100242 - Posted: 24 Apr 2011, 15:16:05 UTC

Copying-&-pasting the above gives "authorisation failure -155" (obviously I put my password in). Any ideas? Did cd\program files\boinc before as well btw.
____________

Dave
Avatar
Send message
Joined: 29 Mar 02
Posts: 774
Credit: 23,193,139
RAC: 0
United Kingdom
Message 1100255 - Posted: 24 Apr 2011, 16:38:45 UTC

It's alright I've done it.

:D
____________

Profile HAL9000
Volunteer tester
Avatar
Send message
Joined: 11 Sep 99
Posts: 4001
Credit: 110,129,769
RAC: 136,722
United States
Message 1100487 - Posted: 25 Apr 2011, 13:22:22 UTC - in response to Message 1100255.

It's alright I've done it.

:D

On a local host you don't need the host or password command. Also you only need to specify the project if you want to suspend that one project. Otherwise all projects will be suspended. You can read the full set of instructions here for all stuff you can do from the command line.
____________
SETI@home classic workunits: 93,865 CPU time: 863,447 hours

Join the BP6/VP6 User Group today!

Message boards : Number crunching : Cmd line to suspend

Copyright © 2014 University of California