mersenneforum.org  

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

Reply
 
Thread Tools
Old 2022-09-23, 01:23   #518
bbb120
 
"特朗普trump"
Feb 2019
朱晓丹没人草

8416 Posts
Default

I failed download source code from https://sourceforge.net/p/openpfgw/code/HEAD/tree/ by tortoiseSVN!
why it can not download the zip file of source code directly just like GitHub ?
bbb120 is offline   Reply With Quote
Old 2022-09-23, 04:26   #519
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

555010 Posts
Default

Why don't you ask sourceforge, instead of this forum?
VBCurtis is offline   Reply With Quote
Old 2022-09-23, 06:15   #520
bbb120
 
"特朗普trump"
Feb 2019
朱晓丹没人草

22×3×11 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Why don't you ask sourceforge, instead of this forum?
maybe someone download source code successful on this forum !
bbb120 is offline   Reply With Quote
Old 2022-09-23, 06:23   #521
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

3×11×101 Posts
Default

Quote:
Originally Posted by bbb120 View Post
maybe someone download source code successful on this forum !
You can download the source in a zip file on the upper right site (download snapshot)
rebirther is offline   Reply With Quote
Old 2022-09-23, 08:54   #522
bbb120
 
"特朗普trump"
Feb 2019
朱晓丹没人草

22×3×11 Posts
Default

Quote:
Originally Posted by rebirther View Post
You can download the source in a zip file on the upper right site (download snapshot)
ok thank you very much!
bbb120 is offline   Reply With Quote
Old 2022-11-15, 04:47   #523
kijinSeija
 
Mar 2021
France

528 Posts
Default

Hi I have a question :

How to get the decimal expression on the console, but only PRP ? I tested with ./pfgw -od input.txt but I have all the numbers but I just want the PRP. This is possible ?

Thanks :)
kijinSeija is offline   Reply With Quote
Old 2022-11-15, 14:04   #524
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5·29·47 Posts
Default

Quote:
Originally Posted by kijinSeija View Post
How to get the decimal expression on the console, but only PRP ? I tested with ./pfgw -od input.txt but I have all the numbers but I just want the PRP. This is possible ?
Using -od only outputs the decimal expansion to the console, but you should be able to use > on the command line to redirect the output to a file, e.g. pfgw64 -od input.txt > decimal.txt. decimal.txt will only have PRPs in it.

Last fiddled with by rogue on 2022-11-15 at 14:05
rogue is online now   Reply With Quote
Old 2022-11-17, 08:54   #525
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

47310 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
In my experience with multithreaded gwnum, there is little to be gained for numbers less than ~800k digits. YMMV.
I'm curious if there's any follow up on this. I'm seeing multiple threads run but I get the same or worse timing when I use -T2 and -T4
With PFGW Version 4.0.1.64BIT.20191203.x86_Dev [GWNUM 29.8]

I ran the same 185,000 digit number with -T1, -T2, and -T4 and it took the same wall time but twice and four times as much usertime time (and I saw more cores at 100% utilization)

Code:
$ time pfgw64 -T1 -Cverbose -f0 timing.abc 
PFGW Version 4.0.1.64BIT.20191203.x86_Dev [GWNUM 29.8]

(9^25966-7)/2 is composite: RES64: [10E24C23A947A45F] (0.9759s+0.0001s)                                    
(9^51862-7)/2 is composite: RES64: [F2C9E5065BF0C831] (4.4636s+0.0002s)                                    
(9^60760-7)/2 is composite: RES64: [9F8CAE8CB2B113E5] (6.5107s+0.0003s)                                    
(9^69322-7)/2 is composite: RES64: [B984A003CE68ADF5] (9.2732s+0.0003s)                                    
(9^78004-7)/2 is composite: RES64: [F493F4ACB7AE8514] (10.4510s+0.0004s)                                    
(9^86270-7)/2 is composite: RES64: [7FE53104F6AE236F] (13.3946s+0.0004s)                                    
(9^103415-7)/2 is composite: RES64: [DD34C02FDF4073D0] (16.1420s+0.0005s)                                    
(9^111653-7)/2 is composite: RES64: [C527F2956453C4C2] (20.7393s+0.0005s)                                    
(9^120498-7)/2 is composite: RES64: [C8587138F5CC8CD5] (26.0815s+0.0006s)                                    
(9^129382-7)/2 is composite: RES64: [17B4C355EC1755C0] (28.6893s+0.0006s)                                    
(9^138052-7)/2 is composite: RES64: [6D8974E2615AF80D] (36.5331s+0.0007s)                                    
(9^146706-7)/2 is composite: RES64: [F6E98B47CEE0442A] (37.2141s+0.0008s)                                    
(9^155454-7)/2 is composite: RES64: [33AC0CC2482A9E55] (39.7199s+0.0009s)                                    
(9^164094-7)/2 is composite: RES64: [19E66BBE89C9D21F] (47.3960s+0.0009s)                                    
(9^172705-7)/2 is composite: RES64: [1BDFC63E511C7E0D] (57.2845s+0.0011s)                                    
(9^181162-7)/2 is composite: RES64: [1C1F11811928AAEE] (55.6043s+0.0010s)                                    
(9^189780-7)/2 is composite: RES64: [C5E799687A4AA318] (60.1954s+0.0011s)                                    
real	8m54.152s
user	8m54.168s


# With -T4 It's slower and takes multiple cores
$ time pfgw64 -T4 -Cverbose -f0 timing.abc 
PFGW Version 4.0.1.64BIT.20191203.x86_Dev [GWNUM 29.8]

(9^25966-7)/2 is composite: RES64: [10E24C23A947A45F] (0.9269s+0.0001s)                                    
(9^51862-7)/2 is composite: RES64: [F2C9E5065BF0C831] (8.4412s+0.0002s)                                    
(9^60760-7)/2 is composite: RES64: [9F8CAE8CB2B113E5] (12.0932s+0.0003s)                                    
(9^69322-7)/2 is composite: RES64: [B984A003CE68ADF5] (17.1319s+0.0003s)                                    
(9^78004-7)/2 is composite: RES64: [F493F4ACB7AE8514] (19.1786s+0.0003s)                                    
(9^86270-7)/2 is composite: RES64: [7FE53104F6AE236F] (23.3000s+0.0004s)
(9^103415-7)/2 is composite: RES64: [DD34C02FDF4073D0] (16.4805s+0.0005s)                                    
(9^111653-7)/2 is composite: RES64: [C527F2956453C4C2] (34.9898s+0.0005s)                                    
(9^120498-7)/2 is composite: RES64: [C8587138F5CC8CD5] (37.4123s+0.0009s)                                    
(9^129382-7)/2 is composite: RES64: [17B4C355EC1755C0] (34.9322s+0.0008s)                                    
(9^138052-7)/2 is composite: RES64: [6D8974E2615AF80D] (47.8086s+0.0008s)                                    
(9^146706-7)/2 is composite: RES64: [F6E98B47CEE0442A] (46.4387s+0.0008s)                                    
(9^155454-7)/2 is composite: RES64: [33AC0CC2482A9E55] (52.2789s+0.0009s)                                    
(9^164094-7)/2 is composite: RES64: [19E66BBE89C9D21F] (63.7558s+0.0009s)                                    
(9^172705-7)/2 is composite: RES64: [1BDFC63E511C7E0D] (65.7027s+0.0010s)                                    
(9^181162-7)/2 is composite: RES64: [1C1F11811928AAEE] (64.5466s+0.0010s)                                    
(9^189780-7)/2 is composite: RES64: [C5E799687A4AA318] (84.8338s+0.0011s)

real	12m26.290s
user	28m56.258s
SethTro is offline   Reply With Quote
Old 2022-11-17, 14:08   #526
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11010100111112 Posts
Default

Quote:
Originally Posted by SethTro View Post
I'm curious if there's any follow up on this. I'm seeing multiple threads run but I get the same or worse timing when I use -T2 and -T4
With PFGW Version 4.0.1.64BIT.20191203.x86_Dev [GWNUM 29.8]

I ran the same 185,000 digit number with -T1, -T2, and -T4 and it took the same wall time but twice and four times as much usertime time (and I saw more cores at 100% utilization)
I think this is a question for George. The gwnum library is starting and managing the additional threads.
rogue is online now   Reply With Quote
Old 2022-11-17, 19:55   #527
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·43·47 Posts
Default

Depending on the CPU, multithreading isn't even possible until around 250000 bits and isn't really helpful until around 1.3 million bits or more.

For these small numbers you are better off running one pfgw instance for each core.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


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 14:23.


Wed Nov 30 14:23:06 UTC 2022 up 104 days, 11:51, 1 user, load averages: 1.54, 1.33, 1.19

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

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