mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   mtsieve (https://www.mersenneforum.org/showthread.php?t=23042)

henryzz 2020-06-19 21:56

[QUOTE=pepi37;548354]Can you build sr1sieve with mtsieve? I would like to have MT option. It has that option for Linux , but not for windows[/QUOTE]

If you want multithreaded sr1sieve on windows try wsl.

pepi37 2020-06-19 23:16

[QUOTE=henryzz;548542]If you want multithreaded sr1sieve on windows try wsl.[/QUOTE]
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... ;)

rebirther 2020-06-21 05:34

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[/CODE]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[/CODE]
The split line was missing and only 2 workers of 16 are running, tried several times with the same result.

Citrix 2020-06-21 23:09

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

rogue 2020-06-22 02:08

[QUOTE=Citrix;548746]I tried your file.
I have to copy the CL folder to mtsieve for it to compile.
gcwsievecl still crashes.[/QUOTE]

Let's continue via PM or e-mail.

rogue 2020-06-22 02:09

[QUOTE=rebirther;548682]The split line was missing and only 2 workers of 16 are running, tried several times with the same result.[/QUOTE]

Please explain what you mean by "same result".

Citrix 2020-06-22 04:39

[QUOTE=rogue;548757]Let's continue via PM or e-mail.[/QUOTE]

I downloaded the latest version of mtsieve and compiled it. gcwsievecl.exe does work and did not crash. :smile:

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.

rebirther 2020-06-22 04:58

[QUOTE=rogue;548758]Please explain what you mean by "same result".[/QUOTE]

same issue

rogue 2020-06-22 12:35

[QUOTE=rebirther;548767]same issue[/QUOTE]

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 2020-06-22 12:44

[QUOTE=Citrix;548765]I downloaded the latest version of mtsieve and compiled it. gcwsievecl.exe does work and did not crash. :smile:

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.[/QUOTE]

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.

rebirther 2020-06-22 18:50

[QUOTE=rogue;548793]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.[/QUOTE]


base S652 was running on all cores with -W16 but S913 did not (Ryzen 3950X) -->latest 2.0.3


All times are UTC. The time now is 22:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.