mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-08-16, 22:43   #562
mathwiz
 
Mar 2019

20010 Posts
Default

Quote:
Originally Posted by rogue View Post
You would need all of the sources from that revision to build it.
I think r122 is just broken; a clean "svn co --revision=..." in a clean directory still produces the same build error. But r123 seems to fix the makefile, and that build appears to be working for me.

Quote:
On the positive side this issue is now fixed. I was over-thinking a speed up in the previous revision for small primes and it was just plain stupid. It was never going to work. It works now based upon the testing I have done.
Great news!
mathwiz is offline   Reply With Quote
Old 2021-08-22, 08:56   #563
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

34416 Posts
Default

Code:
C:\Users\Administrator\Documents\cllr S649\r15\thread 4>srsieve2.exe -i sr_1005.
abcd -P 20e9
srsieve2 v1.5.1, a program to find factors of k*b^n+c numbers for fixed b and va
riable k and n
Must use generic sieving logic because there is more than one sequence
Sieving with generic logic for p >= 15000000000
Fatal Error:  Expected 986923 terms when building sequences, but counted only 0

I build the .abcd file with srfiles -a command. It looks like the sieve file is damaged; however -G is working fine so i have a prp file already. BUT when i -a the prp file to get a fresh abcd file; i get the same message!



Might already be known, and i am using an older version >.> (shame on me lol)
MisterBitcoin is offline   Reply With Quote
Old 2021-08-22, 09:11   #564
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

11·271 Posts
Default

Quote:
Originally Posted by MisterBitcoin View Post
Code:
C:\Users\Administrator\Documents\cllr S649\r15\thread 4>srsieve2.exe -i sr_1005.
abcd -P 20e9
srsieve2 v1.5.1, a program to find factors of k*b^n+c numbers for fixed b and va
riable k and n
Must use generic sieving logic because there is more than one sequence
Sieving with generic logic for p >= 15000000000
Fatal Error:  Expected 986923 terms when building sequences, but counted only 0
I build the .abcd file with srfiles -a command. It looks like the sieve file is damaged; however -G is working fine so i have a prp file already. BUT when i -a the prp file to get a fresh abcd file; i get the same message!



Might already be known, and i am using an older version >.> (shame on me lol)

How about
srfile_win64 -a your.prp


Edit:
I still have the abcd file for R1005

Last fiddled with by rebirther on 2021-08-22 at 09:16
rebirther is offline   Reply With Quote
Old 2021-08-22, 11:59   #565
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

22×11×19 Posts
Default

Quote:
Originally Posted by rebirther View Post
How about
srfile_win64 -a your.prp


Edit:
I still have the abcd file for R1005

I tried that, but it got me the same result. However upgrading to the newest srsieve2 fixed it.
MisterBitcoin is offline   Reply With Quote
Old 2021-09-04, 00:09   #566
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,481 Posts
Default

Using srsieve2 from latest version I got this error.
Factors are written in file but in wrong format. When you try to remove factors then you get error: candidate is not divisible, and all stops. Editing file with factors is not solution.



Quote:
91961131 | 57*20^448688+1
479259601 | 36*20^413328+1
91962193 | 110*20^454361+1
281926849 | 91962443 | 15*20^415116+1
135*20^481951+1
281927411 | 90*20^480795+1
185593399 | 79*20^458720+1
pepi37 is offline   Reply With Quote
Old 2021-09-04, 00:19   #567
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7×919 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Using srsieve2 from latest version I got this error.
Factors are written in file but in wrong format. When you try to remove factors then you get error: candidate is not divisible, and all stops. Editing file with factors is not solution.
That is weird. I assume this is with multiple threads based upon the output. There should be a lock to ensure this doesn't happen if multiple threads are writing factors concurrently. I will verify that.
rogue is online now   Reply With Quote
Old 2021-09-04, 00:24   #568
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,481 Posts
Default

Quote:
Originally Posted by rogue View Post
That is weird. I assume this is with multiple threads based upon the output. There should be a lock to ensure this doesn't happen if multiple threads are writing factors concurrently. I will verify that.

yes 5 threads in this case
pepi37 is offline   Reply With Quote
Old 2021-09-11, 08:36   #569
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

101110010012 Posts
Default

srsieve2cl ( latest build from package 1.5.2)

srsieve2cl -P 10000000000000 -g 24 -G4 -D1 -d1 -d2 -d3 -d0


I have 4 GPU and using this command only last GPU is 95 % utilized
How to utilize all?

Last fiddled with by pepi37 on 2021-09-11 at 08:48
pepi37 is offline   Reply With Quote
Old 2021-09-11, 12:29   #570
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

192116 Posts
Default

Quote:
Originally Posted by pepi37 View Post
srsieve2cl ( latest build from package 1.5.2)

srsieve2cl -P 10000000000000 -g 24 -G4 -D1 -d1 -d2 -d3 -d0


I have 4 GPU and using this command only last GPU is 95 % utilized
How to utilize all?
mtsieve isn't designed to use multiple GPUs. You would have to run one instance on each GPU. Use -h to list the platforms and devices then use -D and -d to specify the one you want to use. The default is platform 0 and device 0 on platform 0.
rogue is online now   Reply With Quote
Old 2021-09-11, 13:22   #571
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,481 Posts
Default

Quote:
Originally Posted by rogue View Post
mtsieve isn't designed to use multiple GPUs. You would have to run one instance on each GPU. Use -h to list the platforms and devices then use -D and -d to specify the one you want to use. The default is platform 0 and device 0 on platform 0.



Yes , later I manage that and got in total around 10mp/sec: using 4 cards
Thanks!
You have PM with another problem with srsieve2
pepi37 is offline   Reply With Quote
Old 2021-10-09, 22:05   #572
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,481 Posts
Default

Quote:
e:\PRIME\REPDIGIT-k92>srsieve2 -P 2000000000000000 -W 5 -w 1e7 -i 92.txt -O 92fact.txt -f B
srsieve2 v1.5.2, a program to find factors of k*b^n+c numbers for fixed b and variable k and n
Sieving one sequence where abs(c) = 1 for p >= 1600000000000000
Split 1 base 10 sequence into 108 base 10^180 sequences.
673642 bytes used for congruence tables
598 bytes used for Legendre tables
Sieve started: 16e14 < p < 2e15 with 88073 terms (1500028 < n < 2999998, k*10^n+c) (expecting 558 factors)
p=1600017808265749, 1.493M p/sec, no factors found, 0.0% done. ETC 2022-01-13 02:30
If I use srsieve2 to sieve k*10^n-1 why is reported k*10^n+c?
Maybe it is just simple error, or something deeper?
pepi37 is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 14:45.


Sun Oct 24 14:45:46 UTC 2021 up 93 days, 9:14, 0 users, load averages: 1.87, 1.38, 1.26

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.