Cmd line to suspend

Message boards : Number crunching : Cmd line to suspend

To post messages, you must log in.

AuthorMessage
Dave
Avatar

Send message
Joined: 29 Mar 02
Posts: 777
Credit: 25,001,396
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).

ID: 1100197 · Report as offensive
Profile Helli_retiered
Volunteer tester
Avatar

Send message
Joined: 15 Dec 99
Posts: 707
Credit: 108,785,585
RAC: 0
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
A loooong time ago: First Credits after SETI@home Restart

ID: 1100202 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 386,829
RAC: 41
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

ID: 1100207 · Report as offensive
Profile -= Vyper =-Project Donor
Volunteer tester
Avatar

Send message
Joined: 5 Sep 99
Posts: 1309
Credit: 451,773,272
RAC: 200,951
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

ID: 1100220 · Report as offensive
Dave
Avatar

Send message
Joined: 29 Mar 02
Posts: 777
Credit: 25,001,396
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.


ID: 1100242 · Report as offensive
Dave
Avatar

Send message
Joined: 29 Mar 02
Posts: 777
Credit: 25,001,396
RAC: 0
United Kingdom
Message 1100255 - Posted: 24 Apr 2011, 16:38:45 UTC

It's alright I've done it.

:D


ID: 1100255 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6103
Credit: 155,266,966
RAC: 49,755
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!

ID: 1100487 · Report as offensive

Message boards : Number crunching : Cmd line to suspend


 
©2016 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.