![]() |
|
|
#1 | |
|
Feb 2020
Germany
23·7 Posts |
Hey,
I am experimenting a bit with twinsieve.exe. I tried the following command: twinsieve.exe -k 1 -K 100000000 -b 2 -n 268768 -P 1e14 -W 12 After a while I got this this error message. Quote:
Thanks in advance. |
|
|
|
|
|
|
#2 | |
|
"Mark"
Apr 2003
Between here and the
2×3×1,223 Posts |
Quote:
|
|
|
|
|
|
|
#3 |
|
Feb 2020
Germany
23×7 Posts |
Hey,
twinsieve is from the mtsieve-framework version 1.9.5, version 1.2. Sorry can't find the build date. My machine: Win10-64bit AMD Ryzen 3600 (6 cores, 12 threads) 16 GB RAM Thanks for helping out. |
|
|
|
|
|
#4 |
|
Dec 2011
After 1.58M nines:)
110101000112 Posts |
|
|
|
|
|
|
#5 |
|
Feb 2020
Germany
3816 Posts |
What start point do you mean ? In my case k is not even and works for smaller ranges (1-10.000.000).
|
|
|
|
|
|
#6 | |
|
"Mark"
Apr 2003
Between here and the
2·3·1,223 Posts |
Quote:
Note that for twinsieve, it might be difficult to get maximum utilization from multiple threads due to how fast it goes thru a chunk of work. Last fiddled with by LaurV on 2020-04-13 at 02:50 Reason: fixed quote tag |
|
|
|
|
|
|
#7 |
|
"Mark"
Apr 2003
Between here and the
1CAA16 Posts |
I ran a test with 1.9.6 framework. No issues. This means that either the bug has been fixed or I don't have the right conditions for reproducing it.
|
|
|
|
|
|
#8 | |
|
Dec 2011
After 1.58M nines:)
1,699 Posts |
Quote:
I cannot find 1.9.6 e:\MTSIEVE\mtsieve1957\twin>twinsieve -P10000000000 -W6 -k 6 -K 990000000 -n 50000 -b10 -fN -r -o twinb10.txt twinsieve v1.2, a program to find factors of k*b^n+1/-1 numbers for fixed b and n and variable k Sieve started: 1 < p < 1e10 with 890999995 terms (6 < k < 990000000, k*10^50000) (expecting 864178223 factors) Sieve completed at p=10000000019. Processor time: 104.38 sec. (3.52 sieving) (1.93 cores) Fatal Error: Something is wrong. Counted terms (2331345) != expected terms (2349970) |
|
|
|
|
|
|
#9 |
|
"Mark"
Apr 2003
Between here and the
2·3·1,223 Posts |
I posted 1.9.6 executables on the mtsieve home page. Hopefully that resolves the multi-threading issue.
|
|
|
|
|
|
#10 |
|
Dec 2011
After 1.58M nines:)
1,699 Posts |
Speed is same...as CPU usage.
Last fiddled with by pepi37 on 2020-04-12 at 23:22 |
|
|
|
|
|
#11 |
|
"Mark"
Apr 2003
Between here and the
2·3·1,223 Posts |
I would not expect any speed gains. The best way to gain speed with this sieve is to do one of two things:
1) Run multiple copies then use the factor files to eliminate terms. 2) When running one copy, use -w to increase the number of primes per chunk of work. In any case I'm hoping that the Fatal Error is gone. Last fiddled with by rogue on 2020-04-13 at 00:17 |
|
|
|