![]() |
![]() |
#78 |
Banned
"Luigi"
Aug 2002
Team Italia
4,871 Posts |
![]()
Hi folks.
I have a basic core2 machine at home, and an AVX-512 capable 4-core server via AWS. Now, I need a copy of gfndsieve compiled for Linux 64-bit and all the AVX optimizations turned on and no OpenCL, but on the AWS system I only have gcc version 4.8 and can't compile my optimized copy. Is anybody out there who can provide me with such file? Or should I use the correct -march flag an compile on my machine? Thanks in advance. Luigi --- Last fiddled with by ET_ on 2018-09-19 at 13:25 |
![]() |
![]() |
![]() |
#79 | |
"Mark"
Apr 2003
Between here and the
26·32·13 Posts |
![]() Quote:
To disable compiling and linking with GPU code, set ENABLE_GPU to no in the makefile. Once you do that, what issues are you getting on that box with gcc? |
|
![]() |
![]() |
![]() |
#80 | |
Banned
"Luigi"
Aug 2002
Team Italia
4,871 Posts |
![]() Quote:
In other words, if my code is compiled with -march=native, and I have a Intel G2030 processor (a crippled ivy-bridge with no AVX / FMA3 support), will the executable automatically run the FMA3 path once it is run on a AWS Skylake architecture? If so, then I solved the issue. If not, then I should recompile the code on an architecture whose "native" processor recognizes the optimizations. But the AWS gcc is locked at version 4.8, and I'm afraid it wouldn't recognize FMA3 optimizations. I'm a master in complicating my own life... ![]() |
|
![]() |
![]() |
![]() |
#81 | |
"Mark"
Apr 2003
Between here and the
26·32·13 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#82 |
Banned
"Luigi"
Aug 2002
Team Italia
10011000001112 Posts |
![]()
Thank you Mark. I will test it and then report here. BTW, is there a message saying what optimizations are used at runtime?
|
![]() |
![]() |
![]() |
#83 |
Banned
"Luigi"
Aug 2002
Team Italia
4,871 Posts |
![]() |
![]() |
![]() |
![]() |
#84 |
"Mark"
Apr 2003
Between here and the
1D4016 Posts |
![]() |
![]() |
![]() |
![]() |
#85 |
"Mark"
Apr 2003
Between here and the
26·32·13 Posts |
![]()
I have posted mtsieve 1.8.0 at my website. Here are the changes:
Code:
Added twinsieve. This is more than 3x faster than newpgen's twin sieve. Modified OpenCL code to change calculation for default workunits to improve GPU throughput. Modified "start sieving" message to include expected factors, but only if -P is not the default value. Modified all sieves to have custom "start sieving message" so it each show more detail specific to that sieve. Last fiddled with by rogue on 2018-09-26 at 01:38 |
![]() |
![]() |
![]() |
#86 | |
Dec 2011
After 1.58M nines:)
13·137 Posts |
![]() Quote:
In twinsieve you use switch -i on two different places -i --inputterms=i input file of remaining candidates -i --independent Sieve +1 and -1 independently if (!ib_OnlyTwins && it_Format == FF_ABC) FatalError("Can only support ABC format if sieving +1 and -1 independently"); If i use --independent then is always zero output regardless format ABC d:\MTSIEVE\TWINSIEVE>twinsieve -P100000000000 -w10000000 -i1.npg -ofact.txt -W4 -fN -r twinsieve v1.0.0, a program to find factors of k*b^n+1/-1 numbers for fixed b and n and variable k Sieve started: 30000000001 < p < 1e11 with 18446744073709502166 terms (261 < k < 99309, k*2^1778899) (expecting 876855490500155136 factors) If in command line stay switch -r then you got this , if you remove it, then all is ok Last fiddled with by pepi37 on 2018-09-26 at 08:11 Reason: add more info |
|
![]() |
![]() |
![]() |
#87 |
Dec 2011
After 1.58M nines:)
33658 Posts |
![]()
And last
If sieve passed 54105949591 ( or very close up to this value) then will be no output and program just terminate. If sieve depth is lower then that value, program gives output as should do. |
![]() |
![]() |
![]() |
#88 | |
"Mark"
Apr 2003
Between here and the
165008 Posts |
![]() Quote:
|
|
![]() |
![]() |