mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-11-08, 16:51   #452
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

A7916 Posts
Default

Quote:
Originally Posted by rogue View Post
Do you mean the the one from earlier this year works correctly and the newer one does not?

correct
rebirther is offline   Reply With Quote
Old 2020-11-18, 05:16   #453
YaoPlaysMC
 
Nov 2020

32 Posts
Default

GPU support for gcwsieve is broken on Intel GPUs:

Code:
C:\Users\Yao.Yao2016\ck2\mtsieve>gcwsievecl -W 4 -G 100 -s + -b 12 -n 254520 -N
600000 -o 12CullenSearch.txt
gcwsieve v1.3, a program to find factors numbers of the form n*b^n+1 and n*b^n-1

8 terms removed due to algebraic factorizations
OpenCL Error: Program build failure
       in call to clBuildProgram
       2:6:26: error: OpenCL extension 'cl_khr_int64_base_atomics' is unsupported
2:55:15: warning: use of logical '&&' with constant operand
2:55:15: note: use '&' for a bitwise operation
 2:55:15: note: remove constant to silence this warning
Please fix it.


Edit: I did some Google searches and found out it was a problem with my computer regarding something being unsupported. How do I fix it? I'm using an Intel GPU on Windows 7 4 cores.

Last fiddled with by YaoPlaysMC on 2020-11-18 at 05:59
YaoPlaysMC is offline   Reply With Quote
Old 2020-11-18, 06:19   #454
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

11·421 Posts
Default

Quote:
Originally Posted by YaoPlaysMC View Post
Edit: I did some Google searches and found out it was a problem with my computer regarding something being unsupported. How do I fix it? I'm using an Intel GPU on Windows 7 4 cores.
Buy a discrete GPU? If your GPU doesn't support some OpenCL instructions, seems your options are different hardware or run different software.
VBCurtis is online now   Reply With Quote
Old 2020-11-18, 13:40   #455
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·563 Posts
Default

Quote:
Originally Posted by YaoPlaysMC View Post
GPU support for gcwsieve is broken on Intel GPUs:

Code:
C:\Users\Yao.Yao2016\ck2\mtsieve>gcwsievecl -W 4 -G 100 -s + -b 12 -n 254520 -N
600000 -o 12CullenSearch.txt
gcwsieve v1.3, a program to find factors numbers of the form n*b^n+1 and n*b^n-1

8 terms removed due to algebraic factorizations
OpenCL Error: Program build failure
       in call to clBuildProgram
       2:6:26: error: OpenCL extension 'cl_khr_int64_base_atomics' is unsupported
2:55:15: warning: use of logical '&&' with constant operand
2:55:15: note: use '&' for a bitwise operation
 2:55:15: note: remove constant to silence this warning
Please fix it.


Edit: I did some Google searches and found out it was a problem with my computer regarding something being unsupported. How do I fix it? I'm using an Intel GPU on Windows 7 4 cores.
The best way to handle would be for the code to detect that the GPU you are trying to use doesn't support the extension and give a better message upon execution. At this time I do not know how to do that.
rogue is offline   Reply With Quote
Old 2020-11-18, 13:58   #456
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

5×83 Posts
Default

Are you looking for something like this?
kruoli is online now   Reply With Quote
Old 2020-11-18, 15:24   #457
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·563 Posts
Default

Quote:
Originally Posted by kruoli View Post
Are you looking for something like this?
Thanks. I'll keep that in mind for a future release.
rogue is offline   Reply With Quote
Old 2020-11-18, 15:26   #458
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000001100012 Posts
Default

Quote:
Originally Posted by YaoPlaysMC View Post
GPU support for gcwsieve is broken on Intel GPUs
You can still run gcwsieve (as opposed to gcwsievecl). With the AVX boost, it is pretty fast.
rogue is offline   Reply With Quote
Old 2020-11-28, 14:25   #459
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

BC916 Posts
Default

fkbnsieve v1.2 (mtsieve 1.9.6)

Just tried for fun different ranges, but I cannot get it to work. For example:
fkbnsieve.exe -c 1 -C 4000000000 -P 4000000000 -s "1*2^65+c"

It just stops after a few sieve primes without any error message and without writing the remaining candidates.

I tried with a higher exponent or some k>1 or base 3 or different -c and -C but everytime it stops after a different low primes like p=7, p=659, p=3119, p=3221 depending on which parameters I used. For the same parameters it stops at the same prime each time.



Another issue probably cosmetic: If you use a large interval of c-values like >8e9 it writes p=0 in the progress report for a while. Not sure if that is intended, probably because p=3 takes a long time to complete?
p=0, 0.000 p/sec, 14294950138 factors found at 58.43M f/sec, 0.0% done.

Last fiddled with by ATH on 2020-11-28 at 15:25
ATH is offline   Reply With Quote
Old 2020-11-28, 19:14   #460
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

139510 Posts
Default

Quote:
Originally Posted by ATH View Post
fkbnsieve v1.2 (mtsieve 1.9.6)

Just tried for fun different ranges, but I cannot get it to work. For example:
fkbnsieve.exe -c 1 -C 4000000000 -P 4000000000 -s "1*2^65+c"

It just stops after a few sieve primes without any error message and without writing the remaining candidates.

I tried with a higher exponent or some k>1 or base 3 or different -c and -C but everytime it stops after a different low primes like p=7, p=659, p=3119, p=3221 depending on which parameters I used. For the same parameters it stops at the same prime each time.



Another issue probably cosmetic: If you use a large interval of c-values like >8e9 it writes p=0 in the progress report for a while. Not sure if that is intended, probably because p=3 takes a long time to complete?
p=0, 0.000 p/sec, 14294950138 factors found at 58.43M f/sec, 0.0% done.

I try on newer version and with short range , works ok


Quote:
C:\Users\I5-ALPHA>E:\MTSIEVE\MTSIEVE205\fkbnsieve.exe -c 1 -C 400000 -P 4000000 -s "1*2^65+c"
fkbnsieve v1.3, a program to find factors of k*b^n+c numbers for fixed k, b, and n and variable c
Sieve started: 1 < p < 4e6 with 400000 terms (1 <= c <= 400000, 1*2^65+c) (expecting 381761 factors)
Sieve completed at p=4000043.
Processor time: 7.23 sec. (0.00 sieving) (0.98 cores)
14935 terms written to k1_b2_n65.pfgw
Primes tested: 283152. Factors found: 385065. Remaining terms: 14935. Time: 7.38 seconds.

Try new(er ) version. I dont see this kind of sieve in latest release
pepi37 is offline   Reply With Quote
Old 2020-11-28, 21:22   #461
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×563 Posts
Default

Quote:
Originally Posted by ATH View Post
fkbnsieve v1.2 (mtsieve 1.9.6)

Just tried for fun different ranges, but I cannot get it to work. For example:
fkbnsieve.exe -c 1 -C 4000000000 -P 4000000000 -s "1*2^65+c"

It just stops after a few sieve primes without any error message and without writing the remaining candidates.

I tried with a higher exponent or some k>1 or base 3 or different -c and -C but everytime it stops after a different low primes like p=7, p=659, p=3119, p=3221 depending on which parameters I used. For the same parameters it stops at the same prime each time.

Another issue probably cosmetic: If you use a large interval of c-values like >8e9 it writes p=0 in the progress report for a while. Not sure if that is intended, probably because p=3 takes a long time to complete?
p=0, 0.000 p/sec, 14294950138 factors found at 58.43M f/sec, 0.0% done.
Yes, for small p and large ranges, this is expected. The main reason is that all factors are verified. That cannot be disabled.

If you still have a problem with the latest version, please let me know.
rogue is offline   Reply With Quote
Old 2020-11-28, 21:52   #462
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

301710 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Try new(er ) version. I dont see this kind of sieve in latest release
Ok, thanks.

I did check for a new version before posting, but I checked in post #1 in this thread which links to:
https://mersenneforum.org/rogue/mtsieve.html

and that page still has link to mtsieve 1.9.6, maybe add the sourceforge link to that page?
ATH is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 15:29.

Thu Jan 28 15:29:12 UTC 2021 up 56 days, 11:40, 0 users, load averages: 3.96, 3.54, 3.42

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.