How to pass arg for boinc.exe via boincmgr launch properly?

Message boards : Questions and problems : How to pass arg for boinc.exe via boincmgr launch properly?
Message board moderation

To post messages, you must log in.

AuthorMessage
Raistmer

Send message
Joined: 9 Apr 06
Posts: 302
Message 31782 - Posted: 26 Mar 2010, 18:47:25 UTC

OS starts BOINC via boincmgr.exe /a /s
I want to pass additional argument to boinc client (--skip_cpu_benchmarks ). How to do this at boot time?

ID: 31782 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 31783 - Posted: 26 Mar 2010, 19:31:58 UTC - in response to Message 31782.  

Not via BOINC Manager (BM). I don't know why, but most of the arguments don't work through BM.

May I first ask why you don't want to run benchmarks?
Whatever the answer, a batch file is the way.

First make sure BM doesn't start at boot-up. Either change HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley\BOINC Manager\DisableAutoStart to 1, or BOINC Manager->Advanced view->Options->Uncheck "Run Manager at login?"->OK.
Next change HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley\BOINC Manager\AutomaticallyShutdownClient to 0 (zero).

Then make a batch file with in it:
@ECHO OFF
\path\to\BOINC executable directory\boinc.exe --skip_cpu_benchmarks --detach
\path\to\BOINC executable directory\boincmgr.exe

--detach will close the command line window, but will leave the client running.

Save the file and add a shortcut to it to your Windows StartUp folder.
ID: 31783 · Report as offensive
Raistmer

Send message
Joined: 9 Apr 06
Posts: 302
Message 31784 - Posted: 26 Mar 2010, 21:56:10 UTC - in response to Message 31783.  
Last modified: 26 Mar 2010, 22:01:14 UTC

Thanks.
I want to disable benchmarks cause they are plain waste of computational time on my host. I participate in projects that don't need benchmarks.
Also I want to see uninterrupted run for ATI AstroPulse I developing now. AP tasks very rare these days and when even single task I managed to get was restarted because of benchmarking... it's annoying.

[Probably I could just edit registry entry that runs boincmgr.exe replacing boincmgr with boinc.exe with corresponding keys]

BTW, is it possible to put this and other command-line options in config file or they should always be specified as command line arguments only?
ID: 31784 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 31785 - Posted: 26 Mar 2010, 22:23:40 UTC - in response to Message 31784.  

Thanks.
I want to disable benchmarks cause they are plain waste of computational time on my host. I participate in projects that don't need benchmarks.
Also I want to see uninterrupted run for ATI AstroPulse I developing now. AP tasks very rare these days and when even single task I managed to get was restarted because of benchmarking... it's annoying.

[Probably I could just edit registry entry that runs boincmgr.exe replacing boincmgr with boinc.exe with corresponding keys]

BTW, is it possible to put this and other command-line options in config file or they should always be specified as command line arguments only?

Boinc 6.10.43 doesn't clear GPU memory during benchmarks, app just pauses while benchmark done.

Claggy
ID: 31785 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 31786 - Posted: 26 Mar 2010, 23:37:21 UTC - in response to Message 31784.  

BTW, is it possible to put this and other command-line options in config file or they should always be specified as command line arguments only?

Nope, they are only available from the command line.
ID: 31786 · Report as offensive

Message boards : Questions and problems : How to pass arg for boinc.exe via boincmgr launch properly?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.