Page 1 of 2

Flags

Posted: Thu Feb 07, 2008 9:04 pm
by Uturnaroun
I noticed in the FAQ on the site, it mentions a few times about using flags in the console clients. How exactly do you type in the flags though?

Re: Flags

Posted: Thu Feb 07, 2008 9:56 pm
by uncle fuzzy
Right click the shortcut for the client, click Properties. In the Target line of the Properties popup, put the curser at the right end of the line and type a space, then a dash, then the flag you want to use. For multiple flags, add another space and another dash and another flag.

"C:\folding\fah6-win-x86-console.exe" -verbosity 9 -forceasm -local -advmethods

Re: Flags

Posted: Thu Feb 07, 2008 9:59 pm
by uncle_fungus
uncle fuzzy wrote:Right click the shortcut for the client, click Properties. In the Target line of the Properties popup, put the curser at the right end of the line and type a space, then a dash, then the flag you want to use. For multiple flags, add another space and another dash and another flag.

"C:\folding\fah6-win-x86-console.exe" -verbosity 9 -forceasm -local -advmethods
One other thing. Make sure that the flags are put outside the quotes around the path.

Re: Flags

Posted: Fri Feb 08, 2008 1:26 am
by noorman
.

In most cases, these flags are called 'switches'.

They 're used to tell a program to take this or that in to account or f.e. do this or that to a certain degree, like the -verbosity switch followed by a number.
It tells FaH to give info on what it 's doing and the number indicates how much it needs to output (to screen/session window & to the log file) ...


.

Re: Flags

Posted: Fri Feb 08, 2008 1:53 am
by MstrBlstr
May be helpful.

How do I know what the client flags (-switches) are and what they do?

See the "See Also" links at the bottom of the page for further details.

Re: Flags

Posted: Thu Feb 14, 2008 8:14 pm
by Uturnaroun
Ok, thanks everyone.

Re: Flags

Posted: Thu Feb 14, 2008 9:23 pm
by 7im
MstrBlstr wrote:May be helpful.

How do I know what the client flags (-switches) are and what they do?

See the "See Also" links at the bottom of the page for further details.
Hey, good example. And a well written wiki wentry woo. ;)

Re: Flags

Posted: Fri Feb 15, 2008 6:18 am
by MstrBlstr
Yes it was, on both counts. Even for a "rough draft". ;)

Re: Flags

Posted: Fri Feb 15, 2008 8:11 pm
by 7im
A rough draft is when the bar wench doesn't tilt the stein enough. ;)

Re: Flags

Posted: Thu Feb 21, 2008 3:57 am
by Akuma16
Uturnaroun wrote:I noticed in the FAQ on the site, it mentions a few times about using flags in the console clients. How exactly do you type in the flags though?
I've often wondered, does the graphical client respond to the same set of flags? For example, I would like to use the advmethods flag with my GUI clients.

Re: Flags

Posted: Thu Feb 21, 2008 4:27 am
by MstrBlstr
I believe that it does. But there should also be an option in the configuration options that would do the same thing.

To change the GUI client settings, right click on the red protein in the sys. tray, select configure, and find the line that says something about running advmethods, place a check mark in that box, save.

I only run one GUI client, and it is not handy ATM. I could check it tomorrow sometime though to be more precise.

Re: Flags

Posted: Thu Feb 21, 2008 6:52 am
by 7im
Yes, you can use the same switches with the GUI as with the console client.

BigWU is an option in the GUI configuration, but not advmethods (v5.x). To run adv, you'd need to add the switch to the shortcut that launches the client.

Re: Flags

Posted: Tue Feb 26, 2008 3:39 am
by Phred15
of the 8 to 10 times I've tried to use the -oneunit flag it has only worked once. This is running the client in a command window and not as a service which will restart the the command. I am going to have to shut down 3 smp clients tomorrow as I am leaving on vacation for a couple of months. I'll be giving it a try again then.

Re: Flags

Posted: Tue Feb 26, 2008 3:53 am
by uncle fuzzy
A refresher.
1- stop the client
2- right click your start shortcut and click properties
3- in the Target line, at the right end, add a space, a dash, and oneunit, click OK
4- restart the client
5- look for this in the command window/FAHlog:

Code: Select all

Launch directory: C:\Documents and Settings\Owner\Desktop\2nd cpu
Executable: C:\Documents and Settings\Owner\Desktop\2nd cpu\fah6-win-x86-console.exe
Arguments: -local -verbosity 9 -forceasm -advmethods -oneunit 

Re: Flags

Posted: Tue Feb 26, 2008 7:15 pm
by bruce
uncle fuzzy wrote:A refresher. . .
6- Be aware of one known bug: The -oneunit flag only works if the WU finishes normally. If there is an error in the WU, the client will process the error and then download a new WU rather than stopping. (There's not much you can do about that but it's on the bug list.)
7- Be aware that the -oneunit flag is not useful with a service install. It's processed correctly and shuts down FAH, but Windows sees that the service has stopped and restarts it. You can either stop the service and use -oneunit interactively or you can change the properties of the service. (I don't expect this to be fixed. The batch client doesn't support command line switches and Stanford has no responsibility to deal with problems caused by 3rd party tools or by registry edits.)