![]() |
|
|
#144 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
The reason I requested the balance work after assign is to also ensure the duplicate check is done and any duplicates are removed. If for some reason the balancer determines that it doesn't need to do anything, can you still have the duplicate remover run?
|
|
|
|
|
#145 |
|
Aug 2012
New Hampshire
23·101 Posts |
The BalanceWork function can be passed a "difference" value of 0 which will cause it to run all the way through even though nothing may be out of balance. That will cause the duplicate tests to be performed and duplicates ejected from the work plan.
Last fiddled with by swl551 on 2013-01-03 at 08:57 |
|
|
|
|
#146 |
|
Aug 2012
New Hampshire
14508 Posts |
New feature since beta 1
Ability to stage work in bulk and have it drained only when GHZDaysToDo drops below threshold. In addition the number of factor rows to assign out in one event can be controlled. In the process thread AutoAssignWork occurs before AutoBalanceWork so balancing of newly assigned work can occur in harmony with assigning work if you have AutoBalanceWork turned on. The last feature is the ability to execute a custom program prior to assigning of work. The call to the custom program is a blocking call and the exit code is retrieved. If the custom program fails to start an exception is thrown and the AutoAssignWork will *not* complete. If the exit code is non-zero the MISFIT alert panel is shown with the error and AutoAssignWork will complete. The value of this system is to keep your workToDo lean and provide an external method of loading MISFITworkToDo.txt Designed by FLASHJH Get from http://www.mersenneforum.org/misfit Last fiddled with by swl551 on 2013-01-05 at 21:13 |
|
|
|
|
#147 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
|
|
|
|
|
#148 |
|
Aug 2012
New Hampshire
23·101 Posts |
This is all we had 6 months ago... (screenshot of first public release)
Proving that necessity is the mother of invention. Mostly proving that FLASHJH wants to dominate the world! Thanks to everyone who has helped guide MISFIT along. |
|
|
|
|
#149 | |
|
"Mr. Meeseeks"
Jan 2012
California, USA
23·271 Posts |
Quote:
|
|
|
|
|
|
#150 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
Pinky: "Gee, Brain, what do you want to do tonight?" The Brain: "The same thing we do every night, Pinky—try to
|
|
|
|
|
#151 |
|
Aug 2012
New Hampshire
80810 Posts |
Finally ready to code up the last major feature. Everything is in place and the final build out should be simple.
See screenshot, focus on the NEW section and feel free to comment. Thanks Scott |
|
|
|
|
#152 |
|
Aug 2012
7 Posts |
Great, now I can just set my trial factoring to run and pretty much forget it's there unless I want to see how far up we've come in the stats. (or I get a stalled instance email)
Love it!
|
|
|
|
|
#153 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
I have it configured, but I don't think it's running the external file. How will I know if it's running or that it is trying to run the program? Is there a way to force it to run so I can test it out and make sure it's working before I leave it to run automatically?
|
|
|
|
|
#154 | |
|
Aug 2012
New Hampshire
23×101 Posts |
Quote:
Code:
if (Convert.ToInt32(this.GHZDaysWorkToDo) < globals.cfg.settingAssignWorkWhenGHZdaysToDoDropsBelow)
{
try
{
if (globals.cfg.settingPreWorkAssignCommand.Length > 0)
{
Process P = new Process();
P.StartInfo.RedirectStandardError = true;
P.StartInfo.UseShellExecute = false;
P.StartInfo.FileName = globals.cfg.settingPreWorkAssignCommand;
P.Start();
// Do not wait for the child process to exit before
// reading to the end of its redirected error stream.
// Read the error stream first and then wait.
string error = P.StandardError.ReadToEnd();
P.WaitForExit();
if (P.ExitCode != 0)
PopSafeErrorForm(P.StartInfo.FileName + " returned error " + P.ExitCode.ToString());
}
MergeWork(false, globals.cfg.settingMaxAssignmentsPerAutoAssignEvent);
}
catch (Exception E)
{
PopSafeErrorForm("Error during AssignWorkViaAutomation\r\n" + E.Message);
}
}
Last fiddled with by swl551 on 2013-01-07 at 02:09 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| questions about misfit | jschwar313 | MISFIT | 1 | 2016-02-02 00:32 |
| Help with Misfit | TheMawn | MISFIT | 18 | 2015-06-21 22:00 |
| Misfit feature request. | Aramis Wyler | MISFIT | 15 | 2015-03-04 21:13 |
| MISFIT 2.9 | swl551 | MISFIT | 44 | 2014-12-15 12:46 |
| MISFIT for MFAKTx | swl551 | MISFIT | 186 | 2014-02-05 23:27 |