mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2008-08-27, 09:58   #1
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

2×151 Posts
Default Pfgw crash

pfgw just printed this error message when it was testing 9996*10^43139-1:
Code:
*** WARNING *** : An error was detected in the reciprocal routine.
If this occurred during normal use, contact bugs@primeform.net,
   including the number you were testing to produce this error,
   and disregard the results of tests on this number.
If this error occurs in optimization mode, you may ignore it.
PRP: 9996*10^43139-1 1/143317                                     
Iteration: 1/143317 ERROR: SUM(INPUTS) != SUM(OUTPUTS),
   9 != 9
  (Diff=0 max allowed=1209)
  (Test aborted, try again using the -a1 switch)

Signal SIGILL caught
What does this mean? My machine isn't overclocked so it's a software bug,or?

--nugget
nuggetprime is offline   Reply With Quote
Old 2008-08-27, 10:17   #2
philmoore
 
philmoore's Avatar
 
"Phil"
Sep 2002
Tracktown, U.S.A.

3×373 Posts
Default

Which version of pfgw? It looks like a software bug resulting from using an FFT size which is too small. This should be easy to correct using the -a1 switch, except that I have found this switch broken with the development version 20050213. Perhaps someone at
http://tech.groups.yahoo.com/group/openpfgw/
will be able to help.
philmoore is offline   Reply With Quote
Old 2008-08-27, 10:22   #3
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2×47×101 Posts
Default

Code:
PFGW Version 1.2.0 for Windows [FFT v23.8]
9996*10^43139-1 is composite: [15833EE5B6C6A04B] (94.5948s+0.0017s)
Done.
Doesn't crash here.
Anyway, "try again using the -a1 switch" is what it says. Try it, and check if it still crashes.
Batalov is offline   Reply With Quote
Old 2008-08-27, 18:37   #4
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

1001011102 Posts
Default

Hmm,works with larger fftsize.
Will try to contact the guys at openpfgw.

Thanks,
nugget
nuggetprime is offline   Reply With Quote
Old 2008-08-27, 18:51   #5
pacionet
 
pacionet's Avatar
 
Oct 2005
Italy

3×113 Posts
Default

I'm using PFGW (PFGW 1.2.0 for Windows) too.
Why is so old ?
It isn't no more developed and improved ?
(I don't know the details, but maybe they can write some N-core version for the latest CPUs ?)
pacionet is offline   Reply With Quote
Old 2008-08-27, 23:39   #6
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by nuggetprime View Post
Hmm,works with larger fftsize.
Will try to contact the guys at openpfgw.

Thanks,
nugget
Good luck. PFGW hasn't been updated in years and is unlikely to fixed unless someone else takes it over.
rogue is offline   Reply With Quote
Old 2008-09-08, 21:34   #7
philmoore
 
philmoore's Avatar
 
"Phil"
Sep 2002
Tracktown, U.S.A.

3×373 Posts
Default

Quote:
Originally Posted by rogue View Post
Good luck. PFGW hasn't been updated in years and is unlikely to fixed unless someone else takes it over.
What would it take to get a new development version going? I think pfgw is a very useful program, especially with the capability of using SCRIPT files, but the "stable" version still uses the version 23 multiply routines. The last development version from over 3 years ago uses version 24 and is twice as fast on numbers of the form a*2^n +/- b, but some of the FFT crossover points were set a bit too aggressively. George has fixed this in version 25, successfully as far as I have checked, so it would be nice to incorporate the new multiply routines in a new pfgw version.

I think that Jim Fougeron compiled the last versions, but he seems to have lost interest in this project since then. I haven't been able to get the -a1 or -a2 flags to work in the last development version 20050213 (13 Feb 2005). Jim also said that the ability to perform strong probable prime tests was added, but I have not been able to get this to work either. I would be willing to look at some of the source code if someone knowledgeable with compiler experience would be able to help create a new version.

Phil
philmoore is offline   Reply With Quote
Old 2008-09-08, 22:56   #8
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

753310 Posts
Default

Upgrading to version 25 should be fairly easy. To support multi-threading (elimination of global variables) a pointer to a gwnum structure is passed to every gwnum routine. The init routines are a little different to get this structure initialized.
Prime95 is offline   Reply With Quote
Old 2008-09-08, 23:16   #9
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

635410 Posts
Default

Quote:
Originally Posted by philmoore View Post
What would it take to get a new development version going? I think pfgw is a very useful program, especially with the capability of using SCRIPT files, but the "stable" version still uses the version 23 multiply routines. The last development version from over 3 years ago uses version 24 and is twice as fast on numbers of the form a*2^n +/- b, but some of the FFT crossover points were set a bit too aggressively. George has fixed this in version 25, successfully as far as I have checked, so it would be nice to incorporate the new multiply routines in a new pfgw version.

I think that Jim Fougeron compiled the last versions, but he seems to have lost interest in this project since then. I haven't been able to get the -a1 or -a2 flags to work in the last development version 20050213 (13 Feb 2005). Jim also said that the ability to perform strong probable prime tests was added, but I have not been able to get this to work either. I would be willing to look at some of the source code if someone knowledgeable with compiler experience would be able to help create a new version.

Phil
I really don't know which compiler he used because gcc completely barfs at his use of templates. Not being a fan of templates I rarely use them and trying to work through the compiler issues caused by his use of them is not easy.

If someone wants to assist, I would be happy to help get it built using gcc (for Unix builds) and Visual Studio (for Windows builds). I suppose the best place to pose the question would be in the openpfgw group on Yahoo. I would not want to lead such a project, but would help anyone willing to takes the reigns.

Last fiddled with by rogue on 2008-09-08 at 23:19
rogue is offline   Reply With Quote
Old 2008-09-09, 01:00   #10
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by rogue View Post
I really don't know which compiler he used because gcc completely barfs at his use of templates. Not being a fan of templates I rarely use them and trying to work through the compiler issues caused by his use of them is not easy.

If someone wants to assist, I would be happy to help get it built using gcc (for Unix builds) and Visual Studio (for Windows builds). I suppose the best place to pose the question would be in the openpfgw group on Yahoo. I would not want to lead such a project, but would help anyone willing to takes the reigns.
I spent a few minutes looking at the source again. I was able to get past the template issues (with a small number of code changes), but it is looking for gmpgwlib, which is not included in the openpfgw source d/l. I assume I can get this with the prime95 source, but I'll have to go digging for it.
rogue is offline   Reply With Quote
Old 2008-09-09, 19:15   #11
Harvey563
 
Harvey563's Avatar
 
Apr 2004

11·17 Posts
Red face Hooray!

I am very excited about the possibility of an updated PFGW!!!

Thanks!
Harvey563 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to crash PFGW? carpetpool Information & Answers 2 2016-11-30 06:36
gmp-ecm crash yoyo GMP-ECM 26 2011-06-01 06:31
PFGW 3.3.6 or PFGW 3.4.2 Please update now! Joe O Sierpinski/Riesel Base 5 5 2010-09-30 14:07
Crash! storm5510 Software 8 2009-08-31 02:07
Crash? remaker Software 4 2007-05-03 16:39

All times are UTC. The time now is 17:35.


Sun Aug 1 17:35:13 UTC 2021 up 9 days, 12:04, 0 users, load averages: 1.78, 1.67, 1.47

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.