mersenneforum.org  

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

Reply
Thread Tools
Old 2011-12-30, 17:53   #111
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default PFGW 3.6.0 Released

You can d/l 3.6.0 from here.

The changes include:

- Upgraded Windows builds to use MPIR 2.4.0 and renamed header to mpir.h, not wingmp.h.
- When using the number_primes feature, read pfgw.log and pfgw-prime.log to build list of values to be skipped from the ABC input.

I hope to include gwnum v27.x in the next release.
rogue is online now   Reply With Quote
Old 2012-01-18, 23:28   #112
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

I've released a Mac only build of pfgw 3.6.1 at sourceforge. This build will address the issue of the 32-bit pfgw hanging on Mac. AFAICT, this does not affect pfgw64 or pfgw32 on other platforms. It appears to be due to a miscompile of GMP 5.0.1 (using llvm-gcc). I changed my environment to use clang, which correctly builds GMP 5.0.2 (make check failed when using llvm-gcc).
rogue is online now   Reply With Quote
Old 2012-02-26, 06:34   #113
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

360510 Posts
Default

If someone is using pfgw in any project with AVX and without Bulldozer at the moment pls test this one here built with gwnum 27.3. Speedup is around 39-56% (2-4 cores) on a Sandybridge. 32/64bit for windows are available. Its working great with SR5 project.

Pls report any time difference / speedup vs. the older app + project. Thx!

http://www.bc-team.org/downloads.php?cat=7
rebirther is offline   Reply With Quote
Old 2012-03-09, 14:32   #114
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default

You can d/l 3.6.2 from here.

As many have been waiting, this is the official release with gwnum v27, using gwnum v27.4. There are no other changes.

I've only posted the windows build. The Mac build will follow later today and hopefully Steven Harvey can get the linux build done soon as well.

I'm looking for someone who is interested in doing some coding for pfgw. pfgw is lacking checkpointing for primality tests. This is an issue when trying to prove primality of large GFNs, which can take a number of days. I've been too busy with other development and life in general to work on it.

Last fiddled with by rogue on 2012-03-09 at 14:46
rogue is online now   Reply With Quote
Old 2012-03-09, 21:40   #115
Harvey563
 
Harvey563's Avatar
 
Apr 2004

11·17 Posts
Default Linux build done

The Linux builds are done and available at the same location.

Steven

Harvey563 is offline   Reply With Quote
Old 2012-03-09, 22:41   #116
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default

The Mac builds are now posted as well.
rogue is online now   Reply With Quote
Old 2012-03-12, 18:50   #117
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

1CAD16 Posts
Default

If anyone has been running a non-official release of pfgw with gwnum v27. I have some bad new for you. You probably have to re-run tests with the official release. gwnum v27 (and especially gwnum v27.2) has bugs. AFAIK, all of them (minus Bulldozer) have been addressed, which is why I released 3.6.2.

Please PM (or e-mail) me and I'll try to help you determine the scope of the problem, i.e. determine which tests you need to re-run.
rogue is online now   Reply With Quote
Old 2012-03-16, 16:22   #118
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11100101011012 Posts
Default

You can d/l 3.6.3 from here.

This has AMD Bulldozer support as it uses gwnum v27.5. Nothing else has changed.

I've only posted the windows build. The Mac build will follow later today and hopefully Steven Harvey can get the linux build done soon as well.
rogue is online now   Reply With Quote
Old 2012-03-16, 20:37   #119
Harvey563
 
Harvey563's Avatar
 
Apr 2004

BB16 Posts
Default Linux build available

The linux versions 3.6.3 are now at Sourceforge too.

StevenHarvey

Harvey563 is offline   Reply With Quote
Old 2012-03-16, 22:15   #120
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

Mac builds are now available as well.
rogue is online now   Reply With Quote
Old 2012-08-20, 17:19   #121
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3×23×89 Posts
Default

I think I have found a bug in 64-bit pfgw. If I run the following script then it seems to work modulo 2^32 when running the 64-bit version. It runs properly with the 32-bit version of pfgw.
Code:
SCRIPT

DIM n, 21-1
DIM k, 1
DIM max_k, 1000000
DIM max_n, 1000
DIM pfound, 0
DIM mfound, 0
DIM both, 0
DIMS tmpstr

OPENFILEAPP p_file,plus.txt
OPENFILEAPP m_file,minus.txt
SETS tmpstr,ABC $a*2^$b-1 & $a*2^$b+1 & $a*2^$b+5
WRITE p_file,tmpstr
SETS tmpstr,ABC $a*2^$b-1 & $a*2^$b+1 & $a*2^$b-5
WRITE m_file,tmpstr

LABEL next_n
SET n, n+1
IF (n>max_n) then GOTO end
SET k, -1
SET pfound, 0
SET mfound, 0
SET both, 0
LABEL next_k
SET k, k+2
IF (k>max_k) then GOTO next_n
IF (both) then GOTO next_n
SETS tmpstr,%d*2^%d-1;k;n
PRP k*2^n-1,tmpstr

IF ((ISPRP+ISPRIME)==0) then GOTO next_k
SETS tmpstr,%d*2^%d+1;k;n
PRP k*2^n+1,tmpstr

IF ((ISPRP+ISPRIME)==0) then GOTO next_k

LABEL plus
IF (pfound) then GOTO minus
SETS tmpstr,%d*2^%d+5;k;n
PRP k*2^n+5,tmpstr
IF (ISPRP+ISPRIME) then GOSUB write_p_file

LABEL minus
IF (mfound) then GOTO next_k
SETS tmpstr,%d*2^%d-5;k;n
PRP k*2^n-5,tmpstr
IF (ISPRP+ISPRIME) then GOSUB write_m_file

GOTO next_k

GOTO next_n

LABEL write_p_file
SETS tmpstr,%d %d;k;n
WRITE p_file,tmpstr
SET pfound, 1
IF (mfound) then SET both, 1
RETURN

LABEL write_m_file
SETS tmpstr,%d %d;k;n
WRITE m_file,tmpstr
SET mfound, 1
IF (pfound) then SET both, 1
RETURN

LABEL end
Another frustrating feature/bug I found when writing this script is if you PRP a number and it is trivially prime then ISPRP is not set to 1. If a number is prime then it should also be prp.
henryzz 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.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:56.


Fri Jul 7 13:57:00 UTC 2023 up 323 days, 11:25, 0 users, load averages: 1.08, 1.20, 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.

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