mersenneforum.org  

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

Reply
Thread Tools
Old 2012-11-21, 15:07   #133
axn
 
axn's Avatar
 
Jun 2003

23·683 Posts
Default

Quote:
Originally Posted by rogue View Post
I agree that it would be better if PFGW could do that itself, but the challenge is the change in FFT boundaries. PFGW has no knowledge of that.
Why should it need to know FFT boundary and stuff? All it needs to keep track of is the iteration count and CPU/wall clock time, from which a running average of iteration time can be displayed.
axn is offline   Reply With Quote
Old 2012-11-21, 18:23   #134
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

10111111111012 Posts
Default

Quote:
Originally Posted by rogue View Post
Let me restate that. I use a clock and run the PRP test for up to two minutes. I then ^C PFGW then restart to see which bit it restarts at. I can then estimate the time to do a full PRP test.

I agree that it would be better if PFGW could do that itself, but the challenge is the change in FFT boundaries. PFGW has no knowledge of that.
PFGW outputs the fft length with the -V option. Would it be possible to check what the fft length prime95 outputs is every 1000 n and just output if the string changes or something?
henryzz is offline   Reply With Quote
Old 2012-11-21, 20:00   #135
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11100101011012 Posts
Default

Quote:
Originally Posted by henryzz View Post
PFGW outputs the fft length with the -V option. Would it be possible to check what the fft length prime95 outputs is every 1000 n and just output if the string changes or something?
I could, but it would probably be better to get that information directly from gwnum. I will talk to George about it.
rogue is online now   Reply With Quote
Old 2012-11-29, 19:25   #136
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

I have posted pfgw 3.6.7 at sourceforge. It fixes a crash that occurs when using a helper file.
rogue is online now   Reply With Quote
Old 2012-12-01, 18:02   #137
Cruelty
 
Cruelty's Avatar
 
May 2005

31348 Posts
Default

Would it be possible to implement resuming of n+1 tests in pfgw? I was recently verifying a number using the following command
Code:
-a2 -tp -q(2^1882787-2^941394+1)/5
and it was a real pain with no resuming as I had to restart PC during that time
Cruelty is offline   Reply With Quote
Old 2012-12-01, 18:23   #138
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

Quote:
Originally Posted by Cruelty View Post
Would it be possible to implement resuming of n+1 tests in pfgw? I was recently verifying a number using the following command
Code:
-a2 -tp -q(2^1882787-2^941394+1)/5
and it was a real pain with no resuming as I had to restart PC during that time
It's possible, but not easy. All PRP tests are done using a single algorithm, so it is easy to save the state and restart from that state. Multiple algorithms are used for primality tests so each of them would have to change and each change would be specific to that algorithm. It requires a lot more code and quite a bit of testing.
rogue is online now   Reply With Quote
Old 2012-12-01, 19:17   #139
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

9710 Posts
Default

Quote:
Originally Posted by Cruelty View Post
Would it be possible to implement resuming of n+1 tests in pfgw? I was recently verifying a number using the following command
Code:
-a2 -tp -q(2^1882787-2^941394+1)/5
and it was a real pain with no resuming as I had to restart PC during that time
One way to make this more user friendly -- especially with a very long test -- is to run PFGW inside a virtual machine. You can then start and stop the VM whenever you want, but as far as PFGW is concerned, it never stopped running.
AG5BPilot is offline   Reply With Quote
Old 2012-12-02, 10:44   #140
Cruelty
 
Cruelty's Avatar
 
May 2005

110010111002 Posts
Default

Quote:
Originally Posted by AG5BPilot View Post
One way to make this more user friendly -- especially with a very long test -- is to run PFGW inside a virtual machine. You can then start and stop the VM whenever you want, but as far as PFGW is concerned, it never stopped running.
Interesting -I'll try it next time. Thanks
Cruelty is offline   Reply With Quote
Old 2013-01-04, 14:03   #141
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default

I have posted pfgw 3.7.0 at sourceforge. You will have to access it via the "Files" menu option as I don't have it set up as the default d/l for Windows users. It has two main differences. First, it restores tree factoring code that was in pfgw before I took it over. This vastly increases factoring times when using -f. Second, it fixes a console output issue on *nix machines when an output line exceeds 2000 bytes.

The tree factoring code is "lightly" tested, but has few changes from the original code outside of getting it to build on a 64-bit machine. The Mac and Linux builds are not yet available, but should be within a day or two.

Last fiddled with by rogue on 2013-01-04 at 14:06
rogue is online now   Reply With Quote
Old 2013-01-04, 16:29   #142
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3×23×89 Posts
Default

Quote:
Originally Posted by rogue View Post
I have posted pfgw 3.7.0 at sourceforge. You will have to access it via the "Files" menu option as I don't have it set up as the default d/l for Windows users. It has two main differences. First, it restores tree factoring code that was in pfgw before I took it over. This vastly increases factoring times when using -f. Second, it fixes a console output issue on *nix machines when an output line exceeds 2000 bytes.

The tree factoring code is "lightly" tested, but has few changes from the original code outside of getting it to build on a 64-bit machine. The Mac and Linux builds are not yet available, but should be within a day or two.
Did I read you saying on the mailing group that it was faster on 32-bit because of asm?
henryzz is offline   Reply With Quote
Old 2013-01-04, 18:53   #143
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

1CAD16 Posts
Default

Quote:
Originally Posted by henryzz View Post
Did I read you saying on the mailing group that it was faster on 32-bit because of asm?
Factoring might be faster, not just because it has its own asm routine (instead of GMP), but because it can test two potential factors at a time in the asm routine.
rogue is online now   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.1 has been released rogue Software 5 2009-08-10 01:43
PFGW 3.1.0 has been Released rogue Software 25 2009-07-21 18:13

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


Fri Jul 7 13:58:30 UTC 2023 up 323 days, 11:27, 0 users, load averages: 1.31, 1.21, 1.17

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔