boinc.exe command line options

Ertugrul Gokcen
Ertugrul Gokcen
Joined: 22 Jan 05
Posts: 15
Credit: 28,823
RAC: 0
Topic 190091


Hi,

I have two questions about command line options for boinc.exe:

- Can I pass more than one option to boinc.exe, i.e., is "boinc.exe -redirectio -return_results_immediately" a valid command?

- Which options does Boinc Manager pass to boinc.exe during startup? Is there a configuration file where this can be seen or set?

Client: 5.2.5
OS: Windows XP SP2

Thanks in advance,

Ertugrul.

Walt Gribben
Walt Gribben
Joined: 20 Feb 05
Posts: 219
Credit: 1,645,393
RAC: 0

boinc.exe command line options

Boinc Manager passes "-redirectio" when it starts BOINC, thats hardcoded in the program so it won't be easy to change.

When starting BOINC yourself, you can pass as many command line parameters as will fit, but you have to stay within the limits imposed by the operating system. But even though it accepts -return_results_immediately, I don't believe it works. The flag gets set in the program, but other that its not used . At least not in 5.2.

BOINC 4.45 has a bug where it does report results immediately. If thats want you want, you could run that version. It doesn't have the "account manager" interface or the new "Attach Project" wizard where it creates the account and attaches to a project, but those are more for new users.

Walt

Ertugrul Gokcen
Ertugrul Gokcen
Joined: 22 Jan 05
Posts: 15
Credit: 28,823
RAC: 0

RE: .... When starting

Message 18855 in response to message 18854

Quote:

....

When starting BOINC yourself, you can pass as many command line parameters as will fit, but you have to stay within the limits imposed by the operating system. But even though it accepts -return_results_immediately, I don't believe it works. The flag gets set in the program, but other that its not used . At least not in 5.2.

....

Walt

No, it doesn't work, and I don't have any specific motive to use it; I was just playing with the flags. But I still wonder why that flag is still available even though it doesn't work at all. Is it going to be obsolete, and kept for backwards compatibility? Just curious...

Ertugrul.

John McLeod VII
John McLeod VII
Moderator
Joined: 10 Nov 04
Posts: 547
Credit: 632,255
RAC: 0

RE: RE: .... When

Message 18856 in response to message 18855

Quote:
Quote:

....

When starting BOINC yourself, you can pass as many command line parameters as will fit, but you have to stay within the limits imposed by the operating system. But even though it accepts -return_results_immediately, I don't believe it works. The flag gets set in the program, but other that its not used . At least not in 5.2.

....

Walt

No, it doesn't work, and I don't have any specific motive to use it; I was just playing with the flags. But I still wonder why that flag is still available even though it doesn't work at all. Is it going to be obsolete, and kept for backwards compatibility? Just curious...

Ertugrul.


It is useful for some debugging. I am willing to bet that it works in a debug build.

Walt Gribben
Walt Gribben
Joined: 20 Feb 05
Posts: 219
Credit: 1,645,393
RAC: 0

RE: RE: RE: .... When

Message 18857 in response to message 18856

Quote:
Quote:
Quote:

....

When starting BOINC yourself, you can pass as many command line parameters as will fit, but you have to stay within the limits imposed by the operating system. But even though it accepts -return_results_immediately, I don't believe it works. The flag gets set in the program, but other that its not used . At least not in 5.2.

....

Walt

No, it doesn't work, and I don't have any specific motive to use it; I was just playing with the flags. But I still wonder why that flag is still available even though it doesn't work at all. Is it going to be obsolete, and kept for backwards compatibility? Just curious...

Ertugrul.


It is useful for some debugging. I am willing to bet that it works in a debug build.

John, I'd take your bet but its too much like stealing :) Could use the money though.

-return_results_immediately doesn't work, even in a debug build. I believe it went away when BOINC switched over to libcurl.

It was even more useful for dial-up users, people with bad ISPs and when you're attached to projects that stay down longer than your "connect every" interval. I had the last two and started using it after losing over a weeks work. It uploaded but didn't report. (My ISP tells me it takes a week to dispatch a tech to fix cable internet problems)

So why doesn't BOINC automatically report results when network preferences are set to "use my dial-up and VPN connection"?

[edit] I checked the source for 5.2.6, the only place return_results_immediately is used is in function parse_cmdline().

And "use my dial-up and VPN connection" is set in the Boinc Manager "Commands" menu.

Walt

Ertugrul Gokcen
Ertugrul Gokcen
Joined: 22 Jan 05
Posts: 15
Credit: 28,823
RAC: 0

The same issue is being


The same issue is being discussed in S@H fora, so as I wrote in that thread, I think the BOINC community needs to hear an official statement as to whether this flag (return_results_immediately) is here to stay, i.e., it was omitted temporarily, or going to be obsolete.

Ertugrul.

Keck_Komputers
Keck_Komputers
Joined: 18 Jan 05
Posts: 376
Credit: 5,744,455
RAC: 0

RE: The same issue is

Message 18859 in response to message 18858

Quote:


The same issue is being discussed in S@H fora, so as I wrote in that thread, I think the BOINC community needs to hear an official statement as to whether this flag (return_results_immediately) is here to stay, i.e., it was omitted temporarily, or going to be obsolete.

Ertugrul.


That flag has been depreciated since about version 2.xx. Just took a little while to actually remove it.

BOINC WIKI

BOINCing since 2002/12/8

Walt Gribben
Walt Gribben
Joined: 20 Feb 05
Posts: 219
Credit: 1,645,393
RAC: 0

RE: RE: The same issue

Message 18860 in response to message 18859

Quote:
Quote:


The same issue is being discussed in S@H fora, so as I wrote in that thread, I think the BOINC community needs to hear an official statement as to whether this flag (return_results_immediately) is here to stay, i.e., it was omitted temporarily, or going to be obsolete.

Ertugrul.


That flag has been depreciated since about version 2.xx. Just took a little while to actually remove it.

The flag is documented in the command line options here. Doesn't say anything about it being deprecated. [EDIT] And the page was last updated yesterday.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.