mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-09-15, 13:20   #210
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

11000012 Posts
Default

Quote:
Originally Posted by ATH View Post
I tried to run pfgw64.exe -V -tp on the new big wagstaff prps, but it doesn't create any intermediate savefiles and it is a very long job. I tried with Win64PFGW as well.

Is there anyway to force the save files? According to the pfgwdoc.txt there is not, and in that case it is a bug it is not creating them:
Unfortunately, this isn't a bug. It's a lack of a very difficult to implement feature.

My workaround for this (it has come up before in several contexts) is to run pfgw inside a virtual machine.

If you need to shut down or reboot, suspend the VM and the state of everything in the VM is saved, including pfgw. You can do manual 'checkpoints' by suspending and restarting the VM. If the computer crashes you can then restart the VM and it will resume from the last 'suspend'.
AG5BPilot is offline   Reply With Quote
Old 2014-02-13, 12:02   #211
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

16FE16 Posts
Default

Is this an easily fixable bug or a limitation?
http://www.mersenneforum.org/showpos...&postcount=178
henryzz is online now   Reply With Quote
Old 2014-02-13, 13:45   #212
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by henryzz View Post
Is this an easily fixable bug or a limitation?
http://www.mersenneforum.org/showpos...&postcount=178
This is the first I've heard of it. It could be a bug. I would need to see the script that was run so that I could debug.
rogue is offline   Reply With Quote
Old 2014-02-13, 18:47   #213
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

10010110100102 Posts
Default

Quote:
Originally Posted by rogue View Post
This is the first I've heard of it. It could be a bug. I would need to see the script that was run so that I could debug.
Here it is, thank you.

Luigi
Attached Files
File Type: txt pfgw_powmod.txt (202 Bytes, 123 views)
ET_ is offline   Reply With Quote
Old 2014-09-12, 12:52   #214
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×3×11×73 Posts
Default

Quote:
Originally Posted by ET_ View Post
Here it is, thank you.

Luigi
Any news?
ET_ is offline   Reply With Quote
Old 2014-09-12, 19:13   #215
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110100102 Posts
Default

Quote:
Originally Posted by ET_ View Post
Any news?
I'm sorry. I got distracted then forgot. I'll see if I can spend time on it this weekend, but due to time I've needed for work my wife doesn't allow me much freedom to do fun things on my computer (not that debugging is fun).
rogue is offline   Reply With Quote
Old 2014-09-13, 00:22   #216
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

You are getting a numeric overflow as you are trying to compute (2^(2^132049-1))%((2*k*(2^expo-1))+1). Add the "set expo" line to get a result.

set expo, (2^expo-1) % (base-1)
POWMOD result,base,2^expo-1,mers
WRITE r_file,result
rogue is offline   Reply With Quote
Old 2014-09-13, 01:41   #217
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by rogue View Post
You are getting a numeric overflow as you are trying to compute (2^(2^132049-1))%((2*k*(2^expo-1))+1). Add the "set expo" line to get a result.

set expo, (2^expo-1) % (base-1)
POWMOD result,base,2^expo-1,mers
WRITE r_file,result
I was wrong on that. You want to mod by p-1, not base-1.
rogue is offline   Reply With Quote
Old 2014-11-27, 16:31   #218
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

I have posted 3.7.8 to sourceforge. I'm sorry for the delay in upgrading gwnum to v28.5. Other changes include:

- upgraded to Visual Studio 2012
- upgraded to the current clang on OS X
- add feature that will allow pfgw to easily validate factors generated from various sieving programs (most of which I own) Those programs output factors in the form "factor | number". pfgw will now take input of that form and convert it to the expression "number%factor" then evaluate that expression.

This last change makes it much easier for me (or anyone else) to validate "supposed" factors found by one of these sieving programs.

The Mac and Windows versions are posted. Steven Harvey will get handle the linux build.

Happy Thanksgiving!
rogue is offline   Reply With Quote
Old 2014-12-15, 10:48   #219
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by rogue View Post
I have posted 3.7.8 to sourceforge. I'm sorry for the delay in upgrading gwnum to v28.5. Other changes include:

- upgraded to Visual Studio 2012
- upgraded to the current clang on OS X
- add feature that will allow pfgw to easily validate factors generated from various sieving programs (most of which I own) Those programs output factors in the form "factor | number". pfgw will now take input of that form and convert it to the expression "number%factor" then evaluate that expression.

This last change makes it much easier for me (or anyone else) to validate "supposed" factors found by one of these sieving programs.

The Mac and Windows versions are posted. Steven Harvey will get handle the linux build.

Happy Thanksgiving!
Thank you Mark

Does this new version explicitly address the issue I was talking about?

Luigi
ET_ is offline   Reply With Quote
Old 2014-12-15, 13:34   #220
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by ET_ View Post
Thank you Mark

Does this new version explicitly address the issue I was talking about?

Luigi
Look at posts 216 and 217 in this thread. You get triggering a numeric overflow. There are ways around it.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A possible bug in LLR/PFGW while using GWNUM (no bug in P95) Batalov Software 77 2015-04-14 09:01
PFGW 3.2.0 has been Released rogue Software 94 2010-09-14 21:39
PFGW 3.2.3 has been Released rogue Software 10 2009-10-28 07:07
PFGW 3.2.2 has been Released rogue Software 20 2009-08-23 12:14
PFGW 3.2.1 has been released rogue Software 5 2009-08-10 01:43

All times are UTC. The time now is 13:56.


Mon Aug 2 13:56:49 UTC 2021 up 10 days, 8:25, 0 users, load averages: 4.07, 2.92, 2.38

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.