mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-06-19, 21:56   #386
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT)

163E16 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Can you build sr1sieve with mtsieve? I would like to have MT option. It has that option for Linux , but not for windows
If you want multithreaded sr1sieve on windows try wsl.
henryzz is online now   Reply With Quote
Old 2020-06-19, 23:16   #387
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

2×653 Posts
Default

Quote:
Originally Posted by henryzz View Post
If you want multithreaded sr1sieve on windows try wsl.
I can always run it on Linux :)

But if was so easy to implement MT in LLR and if it is easy like that to implement in sr1sieve... ;)
pepi37 is online now   Reply With Quote
Old 2020-06-21, 05:34   #388
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

2,423 Posts
Default

Another issue with the latest srsieve2:


from 14.06.
Code:
g:\sierp-base913>srsieve2 -n2501 -N10000 -P1e9 -W16 -spl_remain.txt -fB
srsieve2 v1.2.1, a program to find factors of k*b^n+c numbers for fixed b and variable k and n
(p4) Removed 1875 algebraic factors for 324*913^n+1 of the form (2*3^2*913^(n/2)+2*3^1*913^(n/4)+1)
(kp) Sequence has algebraic factorization: 74088*913^n+1 -> (42^3)*913^n+1
(kp) Sequence 74088*913^n+1 has 2500 terms removed due to algebraic factors of the form 42*913^(n/3)+1
(p4) Removed 1875 algebraic factors for 334084*913^n+1 of the form (2*17^2*913^(n/2)+2*17^1*913^(n/4)+1)
Sieving with generic logic
Sieve started: 2 < p < 1e9 with 237646250 terms (2501 < n < 10000, k*913^n+c) (expecting 229697511 factors)
  p=135719, 209.3 p/sec, 207211870 factors found at 3.199M f/sec, 0.0% done. ETC 2020-06-26 12:17
from 16.01.
Code:
g:\sierp-base913>srsieve2 -n2501 -N10000 -P1e9 -W16 -spl_remain.txt -fB
srsieve2 v1.2.1, a program to find factors of k*b^n+c numbers for fixed b and variable k and n
(p4) Removed 1875 algebraic factors for 324*913^n+1 of the form (2*3^2*913^(n/2)+2*3^1*913^(n/4)+1)
(kp) Sequence has algebraic factorization: 74088*913^n+1 -> (42^3)*913^n+1
(kp) Sequence 74088*913^n+1 has 2500 terms removed due to algebraic factors of the form 42*913^(n/3)+1
(p4) Removed 1875 algebraic factors for 334084*913^n+1 of the form (2*17^2*913^(n/2)+2*17^1*913^(n/4)+1)
Sieving with generic logic
Sieve started: 2 < p < 1e9 with 237646250 terms (2501 < n < 10000, k*913^n+c) (expecting 229697511 factors)
Sieving with generic logic
Split 31687 base 913 sequences into 31687 base 913^1 sequences.
  p=275794661, 4.765K p/sec, 20401086 factors found at 70.73K f/sec, 27.6% done. ETC 2020-06-21 07:32
The split line was missing and only 2 workers of 16 are running, tried several times with the same result.
rebirther is offline   Reply With Quote
Old 2020-06-21, 23:09   #389
Citrix
 
Citrix's Avatar
 
Jun 2003

156610 Posts
Default

I tried your file.
I have to copy the CL folder to mtsieve for it to compile.
gcwsievecl still crashes.

Last fiddled with by Citrix on 2020-06-21 at 23:17
Citrix is offline   Reply With Quote
Old 2020-06-22, 02:08   #390
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5,849 Posts
Default

Quote:
Originally Posted by Citrix View Post
I tried your file.
I have to copy the CL folder to mtsieve for it to compile.
gcwsievecl still crashes.
Let's continue via PM or e-mail.
rogue is online now   Reply With Quote
Old 2020-06-22, 02:09   #391
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5,849 Posts
Default

Quote:
Originally Posted by rebirther View Post
The split line was missing and only 2 workers of 16 are running, tried several times with the same result.
Please explain what you mean by "same result".
rogue is online now   Reply With Quote
Old 2020-06-22, 04:39   #392
Citrix
 
Citrix's Avatar
 
Jun 2003

2×33×29 Posts
Default

Quote:
Originally Posted by rogue View Post
Let's continue via PM or e-mail.
I downloaded the latest version of mtsieve and compiled it. gcwsievecl.exe does work and did not crash.

The cl code is not working properly. I will play with it and let you know.

The make file for version 1.94 is not properly configured for GPU compiling.
Citrix is offline   Reply With Quote
Old 2020-06-22, 04:58   #393
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

2,423 Posts
Default

Quote:
Originally Posted by rogue View Post
Please explain what you mean by "same result".
same issue
rebirther is offline   Reply With Quote
Old 2020-06-22, 12:35   #394
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5,849 Posts
Default

Quote:
Originally Posted by rebirther View Post
same issue
With the latest from sourceforge (2.0.3), I don't see this behavior. After it "splits" I can see that mutliple threads are running due to CPU utilization in Task Manager.
rogue is online now   Reply With Quote
Old 2020-06-22, 12:44   #395
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5,849 Posts
Default

Quote:
Originally Posted by Citrix View Post
I downloaded the latest version of mtsieve and compiled it. gcwsievecl.exe does work and did not crash.

The cl code is not working properly. I will play with it and let you know.

The make file for version 1.94 is not properly configured for GPU compiling.
Great to hear. Yes, you should use the current version of the makefile, even with 1.9.4.

Originally I had only one exe, which works for most people even if they didn't or couldn't use the GPU code, but some had issues because at runtime it would look for GPU related libraries even if they were not using GPU workers.

For example, there is now App_cpu.o and App_gpu.o. App.cpp is used to build both, but a compiler switch will build different objects.
rogue is online now   Reply With Quote
Old 2020-06-22, 18:50   #396
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

45678 Posts
Default

Quote:
Originally Posted by rogue View Post
With the latest from sourceforge (2.0.3), I don't see this behavior. After it "splits" I can see that mutliple threads are running due to CPU utilization in Task Manager.

base S652 was running on all cores with -W16 but S913 did not (Ryzen 3950X) -->latest 2.0.3
rebirther is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 12:59.

Fri Aug 7 12:59:33 UTC 2020 up 21 days, 8:46, 1 user, load averages: 1.89, 2.16, 2.27

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