mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > MISFIT

Closed Thread
 
Thread Tools
Old 2013-01-03, 04:21   #144
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

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?
flashjh is offline  
Old 2013-01-03, 08:43   #145
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by flashjh View Post
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?
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
swl551 is offline  
Old 2013-01-05, 21:05   #146
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

11001010002 Posts
Default 2.3.0 beta 2 is out there

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
swl551 is offline  
Old 2013-01-06, 00:30   #147
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by swl551 View Post
Designed by FLASHJH
Implemented by swl551

I'll work on testing later tonight. Thanks for working on this.
flashjh is offline  
Old 2013-01-06, 03:31   #148
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default The archaic 1.6

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.
Attached Thumbnails
Click image for larger version

Name:	mfaktapp.JPG
Views:	72
Size:	31.0 KB
ID:	9095  
swl551 is offline  
Old 2013-01-06, 04:01   #149
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Quote:
Originally Posted by swl551 View Post
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.
Wow, has it already been half a year? Nice!
kracker is offline  
Old 2013-01-06, 04:21   #150
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

100011000112 Posts
Default

Pinky: "Gee, Brain, what do you want to do tonight?" The Brain: "The same thing we do every night, Pinky—try to take over the world! find the next Mersenne prime!"
flashjh is offline  
Old 2013-01-06, 16:39   #151
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default The final feature of 2.3... AutoWorkFetch from GIMPS

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
Attached Thumbnails
Click image for larger version

Name:	AutoWorkFetch.PNG
Views:	87
Size:	56.2 KB
ID:	9097  
swl551 is offline  
Old 2013-01-06, 17:07   #152
JMLX
 
Aug 2012

1112 Posts
Default Set it and forget it!

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!
JMLX is offline  
Old 2013-01-07, 01:52   #153
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

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?
flashjh is offline  
Old 2013-01-07, 02:05   #154
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by flashjh View Post
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?
If the process does not start, meaning it cannot execute the external program, MISFIT will throw an exception and the Alert Panel will be displayed. There is no way to force it to execute beyond setting the conditions. Lower the Update Interval to 5 mins and at least you won't have to wait long to see what happens.

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
swl551 is offline  
Closed Thread



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

All times are UTC. The time now is 08:28.


Tue Jul 27 08:28:27 UTC 2021 up 4 days, 2:57, 0 users, load averages: 1.92, 1.80, 1.77

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

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.
A copy of the license is included in the FAQ.