mersenneforum.org  

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

Reply
Thread Tools
Old 2018-10-24, 20:02   #111
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

2×5×11×47 Posts
Default

Was just wondering if I need net framework turned on since on this machine almost windows services are off. Tried the xyy siever and had the same behaviour, nothing happens.
pinhodecarlos is online now   Reply With Quote
Old 2018-10-24, 20:07   #112
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

162558 Posts
Default

Quote:
Originally Posted by pinhodecarlos View Post
Was just wondering if I need net framework turned on since on this machine almost windows services are off. Tried the xyy siever and had the same behaviour, nothing happens.
That is very odd. I build with mingw64 and link libraries as static so you shouldn't need other dlls to run the code. If it needed a dll, it was squawk at you.

Can you install mingw64 on that machine and build?
rogue is online now   Reply With Quote
Old 2018-10-24, 20:40   #113
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

143216 Posts
Default

Quote:
Originally Posted by rogue View Post
That is very odd. I build with mingw64 and link libraries as static so you shouldn't need other dlls to run the code. If it needed a dll, it was squawk at you.

Can you install mingw64 on that machine and build?
I’ll try it this weekend. Thank you.
pinhodecarlos is online now   Reply With Quote
Old 2018-12-19, 11:56   #114
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

65748 Posts
Default

Using the precompiled "fbncsieve.exe" v1.3.3 from mtsieve 1.8.3:

The line:
fbncsieve.exe -k 1000000001 -K 2000000000 -s "k*20000038^1+1"

fails with:
Fatal Error: 1771575385*20000038^1+1 mod 200000201 = 11167534

It works for other intervals of k.

Last fiddled with by ATH on 2018-12-19 at 11:58
ATH is offline   Reply With Quote
Old 2018-12-19, 14:07   #115
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

Quote:
Originally Posted by ATH View Post
Using the precompiled "fbncsieve.exe" v1.3.3 from mtsieve 1.8.3:

The line:
fbncsieve.exe -k 1000000001 -K 2000000000 -s "k*20000038^1+1"

fails with:
Fatal Error: 1771575385*20000038^1+1 mod 200000201 = 11167534

It works for other intervals of k.
The problem is that it should have stopped at 200000190 and 200000201 is greater than that value. I'll have to add a check to handle that. The is that it should stop sieving at about sqrt(1771575385*20000038).
rogue is online now   Reply With Quote
Old 2018-12-22, 17:11   #116
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default

I have posted mtsieve 1.8.4 on the website. It addresses the following items:

Code:
   Added the new Mersenne Prime to dmdsieve.
   Fixed an issue in twinsieve and fbncsieve where it can exit with an error when
   testing primes above sqrt(max term).
   Fixed an issue (impacting all sieves) in computing the factor rate.  The issue will manifest itself by
   outputting a large factor removal rate.  It only occurs after running the sieve continuously for 5 days.
rogue is online now   Reply With Quote
Old 2018-12-23, 14:30   #117
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

I realized that I forgot to fix the link on my page. It is fixed now.
rogue is online now   Reply With Quote
Old 2019-03-10, 01:23   #118
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

599 Posts
Default

I believe there is a bug with fkbnsieve. I issued the following command to a command prompt:


Code:
fkbnsieve -W 2 -P 1e9 -c 1 -C 1e6 -s "2*11^75000"
which should find factors for numbers of the form 2*11^75000+c for c in the set {1,1e6}. The sieve finishes in a few seconds and generates the following sieve file (saved as k2_n11_n75000+c.pfgw):


Code:
ABCD 2*11^75000$a [41] // Sieved to 1000000009
+10
+50
+10
+14
+54
+60
+12
+54
+4
+68
[and so on...]
I then put this file as input to pfgw, and I expect that the first number that it should test is 2*11^75000+41. However, instead I get


Code:
C:\Users\Dylan_000\Desktop\Carol-Kynea\pfgw_win_3.8.3>pfgw64 "k2_b11_n75000+c.pfgw"
PFGW Version 3.8.3.64BIT.20161203.Win_Dev [GWNUM 28.6]

Recognized ABCD Sieve file:
ABCD File
PRP: 2*11^7500041 1/25945879
^C Handler Routine called, shutting down program
which is not right. Also it seems like c = 0 is not a valid number for the -c flag, since I get the following message when I replace -c 1 to -c 0 in the first command line:


Code:
Fatal Error:  kmin must be specified
This is on the last version of mtsieve (v1.8.4).
Dylan14 is offline   Reply With Quote
Old 2019-03-10, 01:58   #119
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

1101011111002 Posts
Default

There is just a + missing in the .pfgw file:

ABCD 2*11^75000+$a [41] // Sieved to 1000000009

Last fiddled with by ATH on 2019-03-10 at 01:59
ATH is offline   Reply With Quote
Old 2019-03-10, 02:39   #120
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

599 Posts
Default

Quote:
Originally Posted by ATH View Post
There is just a + missing in the .pfgw file:

ABCD 2*11^75000+$a [41] // Sieved to 1000000009

That is the ticket. Also I have the fix: in line 283 of FixedKBNApp.cpp change


Code:
fprintf(termsFile, "ABCD %" PRIu64"*%u^%u$a [%" PRId64"] // Sieved to %" PRIu64"\n", il_K, ii_Base, ii_N, c, largestPrime);
to


Code:
fprintf(termsFile, "ABCD %" PRIu64"*%u^%u+$a [%" PRId64"] // Sieved to %" PRIu64"\n", il_K, ii_Base, ii_N, c, largestPrime);
Also, in lines 98, 101 and 104, instead of kmin and kmax, it should be cmin and cmax.
Dylan14 is offline   Reply With Quote
Old 2019-03-10, 14:37   #121
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

734110 Posts
Default

Thanks for the report. I'll fix the code base.
rogue is online now   Reply With Quote
Reply



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


Fri Jul 7 13:57:27 UTC 2023 up 323 days, 11:26, 0 users, load averages: 0.80, 1.12, 1.14

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.

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