![]() |
[QUOTE=rogue;627066]Which version? There was a bug in a previous build. The current build should be good.[/QUOTE]
v1.4 is what it shows when I use [C]-h[/C] command. I retrieved your latest build. v1.5 works. I am not using the correct program for what I want to do. I want something to produce a list, like below: [CODE]9*1999^2-1 17*1999^2-1 33*1999^2-1[/CODE] |
[QUOTE=pepi37;587208]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] [code] 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[/code] [QUOTE=rogue;587211]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.[/QUOTE] [QUOTE=pepi37;587212]yes 5 threads in this case[/QUOTE] The above is from Sept. 2021. Was it fixed at some point? I just downloaded the latest version of srsieve2 from sourceforge and am getting the same type of error when writing out the factors file while running on 8 cores: [code]1085287883 | 23641887*66^38996-1 1085436641 | 27129572*66^28706-1 1085560523 | 1085436743 | 22595753*66^34678-1 1085494343 | 27503185*66^39265-1 1085038321 | 22600845*66^32131-1 1085437109 | 27186554*66^42724-1 20917600*66^27156-1 1085494957 | 22887707*66^27261-1 1085038861 | 28626285*66^49550-1 1085289421 | 20814487*66^43850-1 1085293733 | 22123554*66^33791-1 1085500217 | 26154992*66^34689-1 1085794067 | 20429487*66^35663-1 1085358653 | 1085500649 | 23842219*66^25701-121632693*66^39777-1 1085636653 | 26781308*66^41987-1 1085719403 | 28841068*66^28611-1 1085501269 | 27961444*66^28898-1[/code] Note that 1085560523 divides 20917600*66^27156-1. But it does not write the "20917600*66^27156-1" portion of the line until 4 lines later. I'd like to be able to run the same sieve on several machines for these huge sieves at CRUS. Unfortunately the bad formatting of the factors file won't allow srfile to properly remove the factors unless it is manually edited. |
[QUOTE=storm5510;627067]v1.4 is what it shows when I use [C]-h[/C] command.
I retrieved your latest build. v1.5 works. I am not using the correct program for what I want to do. I want something to produce a list, like below: [CODE]9*1999^2-1 17*1999^2-1 33*1999^2-1[/CODE][/QUOTE] What is this output? This sieve only supports outputs that are used as input to llr or pfgw. BTW, I also see why srsieve2 is generating bad factor files. I don't know why it did this so differently than the other sieves. |
I posted a fixed version of srsieve2/srsieve2cl over at sourceforge. This version is only necessary if you run multi-threaded and log factors.
|
[QUOTE=rogue;627085]I posted a fixed version of srsieve2/srsieve2cl over at sourceforge. This version is only necessary if you run multi-threaded and log factors.[/QUOTE]
Thank you for the speedy service! :-) |
[QUOTE=rogue;627081]What is this output? This sieve only supports outputs that are used as input to llr or pfgw.
BTW, I also see why srsieve2 is generating bad factor files. I don't know why it did this so differently than the other sieves. I posted a fixed version of srsieve2/srsieve2cl over at sourceforge.[/QUOTE] This output I wrote by hand. No program. Your [I]Sourceforge[/I] page is difficult to find. |
[QUOTE=storm5510;627092]This output I wrote by hand. No program. Your [I]Sourceforge[/I] page is difficult to find.[/QUOTE]
- It's not! Can your google for "sourceforge mtsieve"? ("sourceforge" you wrote yourself, "mtsieve" title of this thread) - Your example in [url='https://www.mersenneforum.org/showpost.php?p=627061&postcount=1055']post #1055[/url] was done with the older version V1.4 of fbncsieve, use the current from mtsieve V2.4.4: fbncsieve V1.5, it will run with this output: [code] fbncsieve -k1 -K1000 -P1e9 -s"k*1999^2-1" fbncsieve v1.5, a program to find factors of k*b^n+c numbers for fixed b, n, and c and variable k Changing p_max to 63214. All remaining terms will be prime. Sieve started: 1 < p < 63214 with 1000 terms (1 < k < 1000, k*1999^2-1) (expecting 937 factors) Sieve completed at p=63211. CPU time: 0.00 sec. (0.00 sieving) (0.00 cores) 52 terms written to k_b1999_n2-1.pfgw Primes tested: 6335. Factors found: 948. Remaining terms: 52. Time: 1.11 seconds. [/code] So 52 remaining candidates left in an ABCD-file. Make yourself a favour and create your own link/favorite list of programs you use and helpful pages you found or were given by others. The mtsieve package got also a page in the [url='https://www.rieselprime.de/ziki/Mtsieve']Prime-Wiki[/url]. |
[QUOTE=kar_bon;627093]- It's not! Can your google for "sourceforge mtsieve"? ("sourceforge" you wrote yourself, "mtsieve" title of this thread)
Make yourself a favour and create your own link/favorite list of programs you use and helpful pages you found or were given by others. The mtsieve package got also a page in the [url='https://www.rieselprime.de/ziki/Mtsieve']Prime-Wiki[/url].[/QUOTE] I found the entire [I]mtsieve[/I] package, but [B]rogue[/B] says he updated only [I]srsieve2/srsieve2cl[/I]. I was looking for only those two. The package was the same as I downloaded a couple of days ago. So they apparently are somewhere else. A link list is a good idea. :smile: [U]Edit[/U]: I found the two I was looking for on a different page. Today's date stamp on the two binaries. |
[QUOTE=storm5510;627102]I found the entire [I]mtsieve[/I] package, but [B]rogue[/B] says he updated only [I]srsieve2/srsieve2cl[/I]. I was looking for only those two. The package was the same as I downloaded a couple of days ago. So they apparently are somewhere else.
A link list is a good idea. :smile: [U]Edit[/U]: I found the two I was looking for on a different page. Today's date stamp on the two binaries.[/QUOTE] The default download is the entire mstieve 7z file. If you go to the Files section you can find the updated srsieve2/srsieve2cl 7z file. I sometimes do this when I make a quick fix without updating the entire package. |
Where at sourceforge can I find the source code for srsieve2 and srsieve2cl ? I'm curious to see what all goes on in those programs.
I don't see it in the mtsieve or other downloads. The closest that I came to it was in the SVN tab where there's source for a number of different sieves but I don't see anything there for srsieve2/srsieve2cl. |
[QUOTE=gd_barnes;627121]Where at sourceforge can I find the source code for srsieve2 and srsieve2cl ?[/QUOTE]
Look at the "SVN" index in the "sierpinski_riesel" folder: main source is SierpinskiRieselApp.cpp. |
All times are UTC. The time now is 10:43. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.