![]() |
[QUOTE=EdH;441294] The svn co command I used was:
[code] svn co https://svn.code.sf.net/p/yafu/code/trunk /home/math58/Math/yafu [/code] [/QUOTE] For some reason a while ago I decided to work here: [url]https://svn.code.sf.net/p/yafu/code/branches/wip[/url] so use that to get the latest code. it is much better: lots of bug fixes, features, and faster in many places, especially if you have an AVX2 system. |
[QUOTE=bsquared;441296]For some reason a while ago I decided to work here:
[URL]https://svn.code.sf.net/p/yafu/code/branches/wip[/URL] so use that to get the latest code. it is much better: lots of bug fixes, features, and faster in many places, especially if you have an AVX2 system.[/QUOTE] Thanks, Ben, I have some more segfault numbers for you, but first, I have to mention that with some of the larger composites, I'm getting another message when running Aliqueit. I don't think it's YAFU related, but I'm providing it, just in case it is of some use: [code] 2088 . c79 = 9072577927847587181511249981292506016651366982493382456267792053723825366444600 = 2^3 * 3 * 5^2 * 11 * 6677345519149 * 3054980714607796312997262492307 * 67386740387027036319511455582617 : Driver: 2^3 * 3 Unknown option: -B2scale1e4... Unknown option: -B2scale1=55e3... Unknown option: -B2scalees at B1=11e3... Unknown option: -B2scalee5... Unknown option: -B2scale1=25e4... Unknown option: -B2scales at B1=5e4... [/code]Anyway, from three machines, four lists. There are four because I made the first list prior to updating YAFU on one of the machines. machine66 prior to the YAFU update: [code] 75361109605563590986849117534701405722832 1625417850674662961965677189663085535286500253815472 61016933796906138017185154404866534979103704377940247185600 62374867941393264469726930717500631010037787896854 1713117032549795655232538777584734148981316482 8534239896788028615521896752036468441905294 777601314455819121207287077128426438686 268509899173834859703712267756081200994 726709779654569478421575637418951048 78030649639871807604249034838748182 6403093115870726405632064079864697364 527032324460058346129229452276609580972 527032329662528307992341666953423413804 800968891752003256086236445818939694028 4512395684017350114443584959549726213428 5213902576070468978586370949119970405452 374800743200391086985349943951211738423372 971687210167318005114608438689641246052570065684 2640910495513948888059020140583965320599139360575052 1135309705925681136157048594514988715137098063417301220 152996598090522792529664232941546173998567853928450 5150990117754340478382656356088828843191174441370 52735687191766785510543303034123721474717890 542929869623565513836252316233197804498 4732517192244749089547619673026253393992 26418557120418512564746778416836504159768 155637525559783469964397292007085823050144 300649613856123371363507259926034510233453360 405609026056823983122104062664582276962272592 1179095637538231627283858131291723471261355440 1782009076737391425500226700031472302860377680 4219592494970737391629910040482320145828965664 406103284948235719792393980038862630761552890 109472667819104067528474479311697074035144710 69185125420699273147565003214848049302926448 85761262747316412002340511750214052477981328 431363527894808733313243496744967967336434920 9663374668563405310191207641762798730598012760 1380258419733899741199187818967801396004723871040 4611129251758687402909404227105664130398891894784 100725398684377009793537657692047237262351532433168 [/code]machine66 after the YAFU update: [code] 737302264643680542511506591218750432 369149438703822016832880722139161044 3245113315429646926120932305010566273154864 31194478363286195393224695427629183500533800648 1625417850674662961965677189663085535286500253815472 61016933796906138017185154404866534979103704377940247185600 2599376372523103303489362662513658248617756093437034 2574993031226928285687370648329613257243343072844 1713117032549795655232538777584734148981316482 8534239896788028615521896752036468441905294 590305711294045659468613165691107753954 6403093115870726405632064079864697364 527032324460058346129229452276609580972 5213902576070468978586370949119970405452 167683014038789931779998264443110694502769076 7570983223229907325114246223479758481904633304624706156 116127094076864432156643391768710641622466210 52735687191766785510543303034123721474717890 12285877499000162112565917744627284572 9546848250412342447651505860757767364 1476488951060639708142240223931999089992 26418557120418512564746778416836504159768 84048343226549260622050889576510632802268 191760097201613817723238055710955099037656 151248408360134063029235319361520107300856 155637525559783469964397292007085823050144 38572043859664475026713597993697880843270048 405609026056823983122104062664582276962272592 1782009076737391425500226700031472302860377680 4116101682016220296291394877056194426825838624 124103084661416933339901533659775950591023110 109472667819104067528474479311697074035144710 73794800540617736617513386270922475705284432 69185125420699273147565003214848049302926448 85761262747316412002340511750214052477981328 153855507538344786917679146089739210013080800 431363527894808733313243496744967967336434920 9663374668563405310191207641762798730598012760 [/code]machine58 (with YAFU update): [code] 571444051194970364340258928708839220 369149438703822016832880722139161044 31194478363286195393224695427629183500533800648 1625417850674662961965677189663085535286500253815472 2599376372523103303489362662513658248617756093437034 2574993031226928285687370648329613257243343072844 1713117032549795655232538777584734148981316482 139927703894263923734599425645325385822 726709779654569478421575637418951048 78030649639871807604249034838748182 6403093115870726405632064079864697364 82684008592300908129702324070977537196 170378828470248216657437044661026807212 800968891752003256086236445818939694028 3597471523294085168471089631445745512652 4512395684017350114443584959549726213428 9721427331678213202995374065497655020866484 167683014038789931779998264443110694502769076 971687210167318005114608438689641246052570065684 1135309705925681136157048594514988715137098063417301220 154942524043770800395377545847085914008397225600002 5150990117754340478382656356088828843191174441370 542929869623565513836252316233197804498 12285877499000162112565917744627284572 9546848250412342447651505860757767364 1476488951060639708142240223931999089992 151248408360134063029235319361520107300856 24685086312984950143858965174178672333118048 38572043859664475026713597993697880843270048 60513108914648536695720593080368335108758688 300649613856123371363507259926034510233453360 1782009076737391425500226700031472302860377680 3595789464291827828277061188999912534338819408 429309336744519127961401489680755958455071238 124103084661416933339901533659775950591023110 109472667819104067528474479311697074035144710 69185125420699273147565003214848049302926448 431363527894808733313243496744967967336434920 [/code]machine59 (with YAFU update): [code] 737302264643680542511506591218750432 571444051194970364340258928708839220 369149438703822016832880722139161044 1146540361816710138568620751225264211280 75361109605563590986849117534701405722832 31194478363286195393224695427629183500533800648 894810644180283891291662096155212588133495857432 1625417850674662961965677189663085535286500253815472 2529991898295833892915384909452994910893792140916370 2599376372523103303489362662513658248617756093437034 7760827246596565005719110178223687508714563010 8534239896788028615521896752036468441905294 777601314455819121207287077128426438686 139927703894263923734599425645325385822 6403093115870726405632064079864697364 6403093115870735065483639490681453164 170378828470248216657437044661026807212 527032324460058355780529946675530116948 800968891752003256086236445818939694028 3597471523294085168471089631445745512652 4512395684017350114443584959549726213428 5213902576070468978586370949119970405452 971687210167318005114608438689641246052570065684 1135309705925681136157048594514988715137098063417301220 154942524043770800395377545847085914008397225600002 116127094076864432156643391768710641622466210 52735687191766785510543303034123721474717890 12285877499000162112565917744627284572 1476488951060639708142240223931999089992 155637525559783469964397292007085823050144 314672970614841620762084786928967701004192 1730465948279777067738197915421070977818720 24685086312984950143858965174178672333118048 4116101682016220296291394877056194426825838624 406103284948235719792393980038862630761552890 109472667819104067528474479311697074035144710 9663374668563405310191207641762798730598012760 1380258419733899741199187818967801396004723871040 100725398684377009793537657692047237262351532433168 [/code]Sorry to be a pain, yet again, but Thanks for all your help... |
[QUOTE=EdH;441334] Thanks, Ben,
I have some more segfault numbers for you, but first, I have to mention that with some of the larger composites, I'm getting another message when running Aliqueit. I don't think it's YAFU related, but I'm providing it, just in case it is of some use: [code] 2088 . c79 = 9072577927847587181511249981292506016651366982493382456267792053723825366444600 = 2^3 * 3 * 5^2 * 11 * 6677345519149 * 3054980714607796312997262492307 * 67386740387027036319511455582617 : Driver: 2^3 * 3 Unknown option: -B2scale1e4... Unknown option: -B2scale1=55e3... Unknown option: -B2scalees at B1=11e3... Unknown option: -B2scalee5... Unknown option: -B2scale1=25e4... Unknown option: -B2scales at B1=5e4... [/code] [/QUOTE] Not sure what that is... aliqueit trying to send extra arguments to ecm that aren't quite getting formatted properly is my guess. As for the segfault numbers, I loaded every single one of them in a batchfile and ran it multiple times on both linux and windows with no failures. Also ran the whole batchfile while inside valgrind with no obvious problems. Finally ran [CODE]./yafu "siqs(rsa(120))" -repeat 1000 [/CODE] with no failures. For me it appears to be rock solid at this input size. One piece of good news is that running the batchfile uncovered a bug that was introduced a few revisions ago that I've now fixed (SVN 359). [QUOTE=EdH;441334] Sorry to be a pain, yet again, but Thanks for all your help... [/QUOTE] Not at all, I appreciate all of the tests and communication. I just wish I knew what was going on with your build. |
Can anyone else reproduce the segfaults EdH is seeing?
|
I can using the Ubuntu bash shell under Windows 10. See below:
[CODE]wombat@BEN-PC:~/yafu-code/branches/wip$ ./yafu "siqs(rsa(120))" starting SIQS on c36: 935692326583238879246398069088328941 ==== sieving in progress (1 thread): 464 relations needed ==== ==== Press ctrl-c to abort and save state ==== 421 rels found: 201 full + 220 from 1945 partial, (34334.35 rels/sec) SIQS elapsed time = 0.0938 seconds. ***factors found*** P18 = 755818940396759563 P19 = 1237984756100524007 1 wombat@BEN-PC:~/yafu-code/branches/wip$ ./yafu "siqs(rsa(120))" -repeat 1000 starting SIQS on c37: 1150952863924077795526503107044219013 ==== sieving in progress (1 thread): 464 relations needed ==== ==== Press ctrl-c to abort and save state ==== 416 rels found: 201 full + 215 from 1778 partial, (19948.19 rels/sec) SIQS elapsed time = 0.1176 seconds. ***factors found*** P19 = 1000886302985818987 P19 = 1149933674275073999 1 starting SIQS on c36: 781525065371744381382301570065521183 ==== sieving in progress (1 thread): 464 relations needed ==== ==== Press ctrl-c to abort and save state ==== 410 rels found: 216 full + 194 from 1746 partial, (28833.44 rels/sec) SIQS elapsed time = 0.1020 seconds. ***factors found*** P18 = 451391687856257927 P19 = 1731367870514741929 1 starting SIQS on c37: 1114232623447487366729268273435963041 ==== sieving in progress (1 thread): 464 relations needed ==== ==== Press ctrl-c to abort and save state ==== Segmentation fault (core dumped) 384 partial, (8709.50 rels/sec)[/CODE] Also, picking a number from EdH's list (post-update), I get a seg fault as well: [CODE] wombat@BEN-PC:~/yafu-code/branches/wip$ ./yafu "factor(571444051194970364340258928708839220)" fac: factoring 571444051194970364340258928708839220 fac: using pretesting plan: normal fac: no tune info: using qs/gnfs crossover of 95 digits div: primes less than 10000 rho: x^2 + 3, starting 1000 iterations on C35 rho: x^2 + 2, starting 1000 iterations on C35 rho: x^2 + 1, starting 1000 iterations on C35 starting SIQS on c35: 28572202559748518217012946435441961 ==== sieving in progress (1 thread): 416 relations needed ==== ==== Press ctrl-c to abort and save state ==== Segmentation fault (core dumped)420 partial, (9748.92 rels/sec)[/CODE] |
Everything was fine for AVX2 enabled builds but not for SSE41. Was finally able to reproduce the bug and fix the problem.
Thanks guys... try it now. |
I was also getting an error like "Illegal Instruction" on Linux builds. It was either with SSE41 and/or AVX2. I was getting ready to leave town and didn't have time to thoroughly post something intelligent. I was able to go back to r350 to get a working copy.
Between this and what you mentioned in post #364 may also address my situation. I will have some more testing to do once I get back home in a few weeks. |
[QUOTE=bsquared;441352]Everything was fine for AVX2 enabled builds but not for SSE41. Was finally able to reproduce the bug and fix the problem.
Thanks guys... try it now.[/QUOTE] [CODE]fac: factoring 571444051194970364340258928708839220 fac: using pretesting plan: normal fac: no tune info: using qs/gnfs crossover of 95 digits starting SIQS on c35: 28572202559748518217012946435441961 ==== sieving in progress (1 thread): 416 relations needed ==== ==== Press ctrl-c to abort and save state ==== 345 rels found: 175 full + 170 from 1543 partial, (22995.58 rels/sec) SIQS elapsed time = 0.0933 seconds. Total factoring time = 0.1043 seconds ***factors found*** P19 = 4397726902788454517 P16 = 6497038854693733[/CODE] :tu: Edit: Also confirmed it with the "-repeat 100". No seg faults. :smile: |
Zero segfaults across all three machines. I'll look at the AMD another time, since it seemed to have something else going on.
Thanks Much!! |
The AMD machine is now segfault-free, too!!:smile:
|
How odd! I would have sworn this worked for me very recently...
[code] math66@math66:~/Math/yafu$ ./yafu -h invalid option -h math66@math66:~/Math/yafu$ ./yafu 09/28/16 09:26:49 v1.35-beta @ math66, System/Build Info: Using GMP-ECM 7.0.3, Powered by GMP 6.1.1 detected Pentium(R) Dual-Core CPU T4500 @ 2.30GHz detected L1 = 32768 bytes, L2 = 1048576 bytes, CL = 64 bytes measured cpu frequency ~= 2294.277720 using 1 random witnesses for Rabin-Miller PRP checks =============================================================== ======= Welcome to YAFU (Yet Another Factoring Utility) ======= ======= bbuhrow@gmail.com ======= ======= [B]Type help at any time[/B], or quit to quit ======= =============================================================== cached 78498 primes. pmax = 999983 >> [B]help[/B] searching for help on 'help' >> quit math66@math66:~/Math/yafu$ [/code]I am using the branches/wip checkout as from the previous posts. This is with two different machines (Intel and AMD). Of course, I have the docs and am heading there. Just mentioning... edit: Just to note that CHANGES, docfile.txt and README are all in the yafu directory. |
| All times are UTC. The time now is 15:23. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.