![]() |
|
|
#78 | |
|
May 2007
Kansas; USA
101·103 Posts |
Quote:
![]() Clearly I'll change the MOB routine to run PRIMEM or PRIMEP instead of PRP, although that would only affect bases with large conjectures where PFGW doesn't find k-1 or k+1 to be trivially prime. But in the actual testing of k*b^n+/-1, I'll leave that as PRP, which clearly saves CPU time, and is all that is needed in 99%+ of all tests that are composite or found trivially prime (i.e. quickly proven) by PFGW. Another nice enhancement would be to run PRIMEM or PRIMEP after a PRP is found so that people don't have to prove the pfgw.log (PRPs) file after their testing is complete. Of course that means that the prime will show up in both pfgw.log (PRPs) and pfgw-prime.log (proven primes) but since we now have pl_prime.txt and all of those would be proven primes, the usual PFGW files could just be ignored. 3 questions for you: 1. Are the PRP functions the only areas that MUST be changed as a result of your script changes for 2.4.7? 2. Are there other changes that you would expect that might not have to be done? 3. Are all testing bugs worked out of 2.4.7? I want to make sure that I have the most recent stable version. To correctly fully test this would require that I find a PRP that is composite, which is not easy. Hopefully a few million k's of base 3 will do it with trial factoring set to 0%, i.e. using the -f0 PFGW switch. Now, there's another interesting enhancement: Write out a file of composite PRPs. I'll save that for some other time. Babbling again as usual... Gary Last fiddled with by gd_barnes on 2010-01-07 at 20:34 |
|
|
|
|
|
|
#79 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
2. I didn't touch any other functions/reserved words other than PRP, ISPRP, ISPRIME, PRIMEM, PRIMEC, and PRIMEP. 3. I am not aware of any bugs, but then again I just released the code today and I can only test so much on my own. For MOB, PRP will most likely return ISPRIME = 1 since the values are either trivially prime or composite. For the other test, I recommend using PRP first, then using PRIMEP/PRIMEM for a primality test. Anything that is PRP, but not prime should get kicked out to another file. Those cases need to be investigated by me and George. Doing this will mean that you only need to look at the pl_prime.txt file for primes and ignore the pfgw output files. As a forewarning, the next version of PFGW will automatically switch to the next larger FFT size if there is a roundoff or sumout error. I've been wanting to do that for a while. So far it seems to work well for PRP testing and GFN, but primality testing is a bit more complex. |
|
|
|
|
|
|
#80 |
|
May 2007
Kansas; USA
101·103 Posts |
Mark or whomever,
For ease of reference, can you provide me with direct links to the most recent Windows and Linux versions of PFGW 3.2.7? I'll use that for testing script changes per the above. I'll then change the direct links in the 1st post of the "PFGW 3.2.0 released" thread. My objective is to keep direct links to the most recently released bugfree version of PFGW quickly accessible there. Thanks, Gary Last fiddled with by gd_barnes on 2010-01-08 at 04:26 |
|
|
|
|
|
#81 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Here are the most recent released binaries for Windows and Linux:
Windows 3.2.7: http://openpfgw.svn.sourceforge.net/...p?revision=196 Linux 3.2.5: http://openpfgw.svn.sourceforge.net/...p?revision=184 You might need to get Mark to build Linux 3.2.7. It's easy to get to them from here: http://openpfgw.svn.sourceforge.net/viewvc/openpfgw/ (click on the file you want, then use the link on the "(download)" button) Last fiddled with by Mini-Geek on 2010-01-08 at 13:00 |
|
|
|
|
|
#82 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
Last fiddled with by rogue on 2010-01-08 at 13:42 |
|
|
|
|
|
|
#83 | |
|
May 2007
Kansas; USA
28A316 Posts |
Quote:
When the new features versions are posted, I don't feel confident considering them stable and bugfree until a number of people test them because there are usually small bugs in any new features (i.e. versions 3.2.5/3.2.6), either in the new features or in how they affect/interact with previously existing code. So even when those come out, I'll still want to leave Windows and Linux version 3.2.7 as links in the 1st post for a period of time. One more question: Will there be any fixes or enhancements of the PFGW scripting language in the near future? I want to get that to a stable state before making the final changes to the new bases script for the PRP/PRIME/ISPRP/ISPRIME code. Thanks, Gary Last fiddled with by gd_barnes on 2010-01-09 at 09:52 |
|
|
|
|
|
|
#84 | ||
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
Quote:
I have run a number of bases through 3.2.7 with an updated script and it is working as documented. These same tests failed with 3.2.6. I have found no issues. I haven't had time to test base with 3.3.0. One of the bases I tested with 3.2.7 had hundreds of sumout/roundoff errors for n < 200. I hope to run some tests today or tomorrow and post the next release once I can verify that it works correctly with those bases. |
||
|
|
|
|
|
#85 |
|
May 2007
Kansas; USA
101·103 Posts |
OK, thanks. I think what I'll do is update the 1st post here with Windows version 3.2.7 and edit my recent script post to tell people that the script only works for PFGW versions 3.2.4 and older.
This is kind of an unusual place to be in. My script changes to correct the GFNs and to incorporate your k*b^n+/-1 displaying is valid for the most recent Linux version 3.2.4 but invalid for Windows version 3.2.7. (I'm not counting 3.2.5/3.2.6 since you said they had bugs.) I have 10 Linux machines and 2 Windows machines and I'd like to keep them in sync so I'll wait until we have Linux PFGW 3.2.7 before I start working on the newest script changes. One more question for you: What is the latest bugfree Linux version of PFGW? I'm assuming it's 3.2.4, although I can't find it anywhere. If so, can you provide a direct link? The latest that I have is 3.2.3 and is what is posted in the "PFGW 3.2.0 released" thread. Thanks. Gary Last fiddled with by gd_barnes on 2010-01-10 at 02:45 |
|
|
|
|
|
#86 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
I thought I had posted a 3.2.4 Linux version, but apparently I didn't. The only difference between 3.2.3 and 3.2.4 is to fix an issue with PRP testing numbers of the form b^n+1. It works, but is slower because it doesn't use the faster modular reduction. |
|
|
|
|
|
|
#87 | |
|
May 2007
Kansas; USA
101×103 Posts |
Quote:
The bottom line is that I don't want to update my script for your script language changes in Windows PFGW 3.2.7 until we get the latest Linux version of PFGW. The script is great and is bugree after extensvie testing on PFGW 3.2.3; both for Linux and Windows versions. Last fiddled with by gd_barnes on 2010-01-11 at 22:41 |
|
|
|
|
|
|
#88 | |
|
"Mark"
Apr 2003
Between here and the
635210 Posts |
Quote:
Steven Harvey is at work on a Linux build of PFGW. I hope to have it available within an hour or two. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Starting mprime at boot | daxmick | PrimeNet | 18 | 2019-03-17 01:12 |
| Issues With Starting CUDALucas | Smokingenius | GPU Computing | 8 | 2015-11-13 17:46 |
| mfaktc not starting in Mac OSX | bayanne | GPU Computing | 0 | 2014-05-10 14:38 |
| Disk starting to go | Chuck | Hardware | 8 | 2013-05-20 06:40 |
| mprime starting | spaz | Software | 9 | 2009-05-03 06:41 |