| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 17
|
|
| Author |
|
|
Sekerob
Ace Cruncher Joined: Jul 24, 2005 Post Count: 20043 Status: Offline |
Well, you enter initially the desired parms via the GUI, then rename the file to global_throttle_on.xml. You amend the parms again via the GUI and copy the file to a second set you call global_throttle_off.xml. The task scheduler is used to copy these files at the right time or via a shortcut over the global_prefs_override.xml and the boinccmd to read the values in.
----------------------------------------Not satisfactory to code-beautifiers, but functional.
WCG
Please help to make the Forums an enjoyable experience for All! |
||
|
|
E. Frijters
Senior Cruncher The Netherlands Joined: Apr 26, 2007 Post Count: 228 Status: Offline Project Badges:
|
Sounds like a plan!
---------------------------------------- Thanks Rob!
Former grid.org slave
![]() ![]() |
||
|
|
E. Frijters
Senior Cruncher The Netherlands Joined: Apr 26, 2007 Post Count: 228 Status: Offline Project Badges:
|
Problem resolved.
----------------------------------------It works just like you described, Rob!
Former grid.org slave
![]() ![]() |
||
|
|
Sekerob
Ace Cruncher Joined: Jul 24, 2005 Post Count: 20043 Status: Offline |
Great, please then edit opening post title and insert [RESOLVED].
----------------------------------------Happy crunching.
WCG
Please help to make the Forums an enjoyable experience for All! |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hi, I would like to create desktop shortcuts (.bat,etc.) for high and low CPU load. But I do not know how. I undestand that I should replace global_prefs_override.xml but how?
|
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hello alienhan1,
BOINC is not designed to be controlled by batch files. You can set general preferences on the web site in My Grid, or you can set preferences for a single computer that is stored in a file on that computer's disk drive by using Advanced - Preferences in BOINC Manager. You could create copies of that local BOINC preferences file and switch them in and out, but you would still have to bring up BOINC Manager and tell it to read in the preferences file. You are trying to do something that BOINC is not designed for so anything you program will be an ugly kludge, unless you do some really serious programming using the remote procedure messaging protocol that BOINC does implement. Sorry, Lawrence |
||
|
|
Ingleside
Veteran Cruncher Norway Joined: Nov 19, 2005 Post Count: 974 Status: Offline Project Badges:
|
Hello alienhan1, BOINC is not designed to be controlled by batch files. You can set general preferences on the web site in My Grid, or you can set preferences for a single computer that is stored in a file on that computer's disk drive by using Advanced - Preferences in BOINC Manager. You could create copies of that local BOINC preferences file and switch them in and out, but you would still have to bring up BOINC Manager and tell it to read in the preferences file. Use BOINC Manager... To read-in the global_prefs_override.xml, you can use boinccmd, as is already mentioned multiple times already in this thread... alienhan1, if you read the thread, the procedure of how to do this is mentioned, but granted across multiple posts, and also doesn't include an explisit batch-file. Just to collect all info in one post, do: 1: In BOINC Manager, set the various "HIGH"-preferences you'll want to use in the GUI. 2: Copy global_prefs_override.xml and call the copy global_prefs_override_HIGH.xml (put it in the BOINC data-directory) 3: In BOINC Manager, set the various "LOW"-preferences you'll want to use in the GUI. 4: Copy global_prefs_override.xml and call the copy global_prefs_override_LOW.xml After creating the HIGH and LOW override-preferences, you'll need 2 batch-files. If assumes default Vista or win7-directory, this would be: HIGH.cmd copy "c:\programdata\boinc\global_prefs_override_HIGH.xml" "c:\programdata\boinc\global_prefs_override.xml" Similarly, you'll have LOW.cmd copy "c:\programdata\boinc\global_prefs_override_LOW.xml" "c:\programdata\boinc\global_prefs_override.xml" Place some shortcuts to HIGH.cmd and LOW.cmd therever you wants, and you can easily switch. Can also schedule switching... BTW, also remember, you'll need to set "Run based on preferences" for this to work. If you're not using default location of BOINC data-directory, change all occorrences of c:\programdata\boinc\ as neccessary, and similarly if you're not using default BOINC-program-directory, change c:\program files\boinc\ as neccessary... ![]() "I make so many mistakes. But then just think of all the mistakes I don't make, although I might." [Edit 2 times, last edit by Ingleside at Jul 27, 2010 10:42:03 PM] |
||
|
|
|