Command line client

Message boards : Number crunching : Command line client
Message board moderation

To post messages, you must log in.

AuthorMessage
CarlSagan

Send message
Joined: 20 May 99
Posts: 3
Credit: 22,006
RAC: 0
United States
Message 28114 - Posted: 19 Sep 2004, 19:43:54 UTC

Is there a command line client for BOINC like I use for my setiathome crunching?
ID: 28114 · Report as offensive
Profile Sir Ulli
Volunteer tester
Avatar

Send message
Joined: 21 Oct 99
Posts: 2246
Credit: 6,136,250
RAC: 0
Germany
Message 28119 - Posted: 19 Sep 2004, 19:56:35 UTC

Hi Mr CarlSagan :)

http://www.fas.org/sagan.htm

go to your BOINC Directory

open a cmd window

Boinc_cli.exe -install

then go to services MMC (control panel - admin tools - services)
find BOINC
Open Properties
set to auto
and start

also Crunching for [url=http://setiweb.ssl.berkeley.edu/forum_thread.php?id=3067]S@h Berkeley's Staff Friends Club m7 ©

ID: 28119 · Report as offensive
CarlSagan

Send message
Joined: 20 May 99
Posts: 3
Credit: 22,006
RAC: 0
United States
Message 28130 - Posted: 19 Sep 2004, 20:12:52 UTC - in response to Message 28119.  

Yea, my setiwork is a tribute to him. Thank you for the info.

> Hi Mr CarlSagan :)
>
> http://www.fas.org/sagan.htm
>
> go to your BOINC Directory
>
> open a cmd window
>
> Boinc_cli.exe -install
>
> then go to services MMC (control panel - admin tools - services)
> find BOINC
> Open Properties
> set to auto
> and start
>
> also Crunching for [url=http://contact-themovie.warnerbros.com/]
ID: 28130 · Report as offensive
Profile Lobstah24
Avatar

Send message
Joined: 1 Nov 02
Posts: 30
Credit: 7,852,431
RAC: 0
United States
Message 28132 - Posted: 19 Sep 2004, 20:26:29 UTC

All of this is after installing it the regular way and letting it update as req'd using the GUI version...correct?
L24
ID: 28132 · Report as offensive
Profile Sir Ulli
Volunteer tester
Avatar

Send message
Joined: 21 Oct 99
Posts: 2246
Credit: 6,136,250
RAC: 0
Germany
Message 28142 - Posted: 19 Sep 2004, 21:09:11 UTC

>All of this is after installing it the regular way and letting it update as req'd >using the GUI version...correct?
>L24

yes and just make sure you NEVER run the GUI and the CLI at the same time...... DISASTER every time.

also Crunching for [url=http://setiweb.ssl.berkeley.edu/forum_thread.php?id=3067]S@h Berkeley's Staff Friends Club m7 ©
ID: 28142 · Report as offensive
EclipseHA

Send message
Joined: 28 Jul 99
Posts: 1018
Credit: 530,719
RAC: 0
United States
Message 28230 - Posted: 20 Sep 2004, 1:54:55 UTC - in response to Message 28119.  

> Hi Mr CarlSagan :)
>
> http://www.fas.org/sagan.htm
>
> go to your BOINC Directory
>
> open a cmd window
>
> Boinc_cli.exe -install
>
> then go to services MMC (control panel - admin tools - services)
> find BOINC
> Open Properties
> set to auto
> and start


Actually, this is more than just running the CLI... This is installing it as a service. Last I heard, this didn't work real well...

All you need to do to run the cli is to open a cmd window, change to the boinc directory, and run boinc_cli (I use the -return_results_immediately parameter so that results get reported to the scheduler right away, and don't end up sitting in the "ready to Report" state until the next WU is done)
ID: 28230 · Report as offensive
Cameron
Avatar

Send message
Joined: 27 Nov 02
Posts: 110
Credit: 5,082,471
RAC: 17
Australia
Message 115729 - Posted: 28 May 2005, 14:25:25 UTC

I would like to know what switches/flags are valid for the CLI?

(as there does not appear to be a readme file or similar that documents these as with seti classic)

I would like to load at start up and run in the background on a windows box
ID: 115729 · Report as offensive
Ron Roe
Volunteer tester

Send message
Joined: 28 Feb 02
Posts: 156
Credit: 24,124
RAC: 0
United States
Message 115736 - Posted: 28 May 2005, 15:32:41 UTC - in response to Message 115729.  
Last modified: 28 May 2005, 15:35:51 UTC

I would like to know what switches/flags are valid for the CLI?

(as there does not appear to be a readme file or similar that documents these as with seti classic)

I would like to load at start up and run in the background on a windows box


The following comes from the boinc.exe itself:

C:\\Program Files\\BOINC>boinc -help
Usage: boinc [options]
    -help                          show options
    -version                       show version info
    -exit_when_idle                Get/process/report work, then exit
    -show_projects                 show attached projects
    -return_results_immediately    contact server when have results
    -detach_project                detach from a project
    -reset_project                 reset (clear) a project
    -attach_project                attach to a project
    -update_prefs                  contact a project to update preferences
    -run_cpu_benchmarks            run the CPU benchmarks
    -check_all_logins              for idle detection, check remote logins too
    -allow_remote_gui_rpc          allow remote GUI RPC connections
    -redirectio                    redirect stdout and stderr to log files
    -dir                           use given dir as BOINC home

C:\\Program Files\\BOINC>
ID: 115736 · Report as offensive
Profile David@home
Volunteer tester
Avatar

Send message
Joined: 16 Jan 03
Posts: 755
Credit: 5,040,916
RAC: 28
United Kingdom
Message 115802 - Posted: 28 May 2005, 19:22:44 UTC
Last modified: 28 May 2005, 19:41:43 UTC

Hi,

Jim provided me with some help at

[url=http://setiweb.ssl.berkeley.edu/forum_thread.php?id=15004#115446
]http://setiweb.ssl.berkeley.edu/forum_thread.php?id=15004#115446[/url]


In short you can run BOINC via the BOINC Mgr, or as a CLI or as a Service.

I have been using the CLI verison via Boinc.exe for a couple of days now and use the command line options -return_results_immediately and -redirectio. This is ideal for me as I want to get the results returned as soon as possible.

You can create a shortcut to Boinc.exe and add these command line options, or you can use a simple VB Script. I wrote this little piece of VB Script so that the boinc.exe window is totally hidden. I monitor progress using BoincLogX and fire up BoincMgr or BoincView occasionally to have a look at progress. The key is that boinc.exe keeps on running in the background to schedule the seti@home and any other project clients.

If you wish to run the CLI and totally hide the boinc window then simply save this as a vbs file e.g. call it boinchide.vbs. If you have any security program that stops VBS from running you will have to authorize the script.


' run boinc scheduler hidden

const boinccmd = """c:\\program files\\boincboinc.exe """
const boincopts = " -return_results_immediately -redirectio"

Set oShell = CreateObject("WScript.Shell")
rc = oShell.Run(boinccmd & boincopts, 0, False)







ID: 115802 · Report as offensive
Profile AthlonRob
Volunteer developer
Avatar

Send message
Joined: 18 May 99
Posts: 378
Credit: 7,041
RAC: 0
United States
Message 115827 - Posted: 28 May 2005, 20:26:43 UTC

Additionally, with version 4.44 and up, there's a commandline version of the boinc manager of sorts, a commandline tool to send commands to the running core client.
Rob
ID: 115827 · Report as offensive
Cameron
Avatar

Send message
Joined: 27 Nov 02
Posts: 110
Credit: 5,082,471
RAC: 17
Australia
Message 116138 - Posted: 29 May 2005, 13:21:58 UTC

Thanks for the info
ID: 116138 · Report as offensive

Message boards : Number crunching : Command line client


 
©2024 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.