![]() |
![]() |
#826 | |
Random Account
Aug 2009
Not U. + S.A.
5·7·79 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#827 |
Random Account
Aug 2009
Not U. + S.A.
5×7×79 Posts |
![]()
@rogue
Look at the last line in the attached image. It may have something to do with the line after the invocation. |
![]() |
![]() |
![]() |
#828 | |
"Alexander"
Nov 2008
The Alamo City
22×5×72 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#829 | |
"Mark"
Apr 2003
Between here and the
26·113 Posts |
![]() Quote:
I will add some validation to prevent this. |
|
![]() |
![]() |
![]() |
#830 | |
Random Account
Aug 2009
Not U. + S.A.
5·7·79 Posts |
![]() Quote:
Look at my last post in "Sieving for CRUS." If you change the program, I may not be able to do what I am doing now unless I stay with the current version, which I would have to. |
|
![]() |
![]() |
![]() |
#831 | |
Dec 2011
After 1.58M nines:)
110100010112 Posts |
![]()
In srsieve2cl what is M switch?
I cannot find it in help menu... Quote:
But switch M is still mystery. (and looks like speed is same with or without M switch) Last fiddled with by pepi37 on 2022-12-10 at 18:06 Reason: add more info |
|
![]() |
![]() |
![]() |
#832 | |
"Mark"
Apr 2003
Between here and the
26·113 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#833 |
"Mark"
Apr 2003
Between here and the
26·113 Posts |
![]()
I have posted mtsieve 2.3.8. Here are the changes:
Code:
mfsieve/mfsievecl: version 2.1 Build a list of terms with powers prior to sieving so that computing minn! is faster. For factorial, this improves the calculation of minn! by 30% with minn=1e6 when using the GPU and by 40% when using the CPU. Multi-factorials where minn < 1e6 will see less of a boost in performance. srsieve2/srsieve2cl: version 1.6.6 Added -Q which will output estimated work for each possible q. Added -q which can be used to specify the q to use (if that q is possible), overriding the computed best q. To use -Q, first sieve your sequence(s) to at least 1e6. This will ensure that subsequent runs are using the correct sieving subroutines. Starting with the output file, run that output file with the -q flag then stop immediately after it outputs a group of lines looking like this: q = 45 with 162 subseq yields bs = 445, gs = 2, work = 793 work is an estimated cost for that q with lower costs implying higher throughput. To use -q, take each of the q values output from -Q and run a range of at least 1e9 to determine the actual amount of time it takes for that q. Using the Run a range of at least 1e9 using -Q to specific which q to run with selecting the q output from using the -q flag. Although you can run all q, you can limit to those q withing 20% of the lowest cost. For each run observe the total time for that run to determine which q required the least amount of time. You should then run the entire range with that q. This will not necessrily be the q with the lowest cost. |
![]() |
![]() |
![]() |
#834 | |
"Alexander"
Nov 2008
The Alamo City
11110101002 Posts |
![]() Quote:
Last fiddled with by Happy5214 on 2022-12-12 at 19:01 Reason: Clip irrelevant changes |
|
![]() |
![]() |
![]() |
#835 |
"Mark"
Apr 2003
Between here and the
26×113 Posts |
![]()
Sorry about that. How about this:
Code:
Added -Q which will output estimated work for each possible q. Added -q which can be used to specify the q to use (if that q is possible), overriding the computed best q. To use -Q, first sieve your sequence(s) to at least 1e6. This will ensure that subsequent runs are using the correct sieving subroutines. Starting with the output file, run that output file with the -Q flag then stop immediately after it outputs a group of lines looking like this: q = 45 with 162 subseq yields bs = 445, gs = 2, work = 793 work is an estimated cost for that q with lower costs implying higher throughput. To use -q, take each of the q values output from -Q and run a range of at least 1e9 to determine the actual amount of time it takes for that q. Using the Run a range of at least 1e9 using -q to specific which q to run with selecting the q output from using the -q flag. Although you can run all q, you can limit to those q withing 20% of the lowest cost. For each run observe the total time for that run to determine which q required the least amount of time. You should then run the entire range with that q. This will not necessrily be the q with the lowest cost. |
![]() |
![]() |
![]() |
#836 | |
"Alexander"
Nov 2008
The Alamo City
98010 Posts |
![]() Quote:
|
|
![]() |
![]() |