mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   YAFU (https://www.mersenneforum.org/forumdisplay.php?f=96)
-   -   Yafu (https://www.mersenneforum.org/showthread.php?t=10871)

bsquared 2012-11-09 22:04

Thanks Dubslow, and cool to see the attachment size limit upgrade.

lorgix 2012-11-10 09:05

[QUOTE=bsquared;317758]You are free to link to any version of GMP-ECM you like with the ecm_path option in yafu.ini. I have no plans at this point to upgrade the linked-in version of GMP-ECM because nominally it only runs for very small B1's and I wouldn't expect a noticeable difference there.[/QUOTE]
I see, valid point. Maybe when 7.0 and/or GMP 5.1.0 is out then.

lorgix 2012-11-10 15:39

[QUOTE=Dubslow;317760]Here's a YAFU 1.33 (for Linux x64) built with GMP-ECM 6.4.3, as attached in the other thread. (Though, as B[sup]2[/sup] just pointed out, after I'd compiled/compressed everything :razz:, YAFU uses an external GMP-ECM binary in almost all cases anyways.)[/QUOTE]
Why do I get "Illegal instruction" when I try to use nfs()?

Dubslow 2012-11-10 17:14

[QUOTE=lorgix;317831]Why do I get "Illegal instruction" when I try to use nfs()?[/QUOTE]

Can you post details? :razz:

jasonp 2012-11-10 18:12

Does your machine have SSE2? YAFU requires it...

lorgix 2012-11-10 19:09

[QUOTE=Dubslow;317848]Can you post details? :razz:[/QUOTE]
I'm using a K10-CPU.

I type nfs("number"), in YAFU. When I hit enter it prints "Illegal instruction".
And YAFU is terminated.

I don't think I changed anything except I went from 1.30 to 1.33.

bsquared 2012-11-10 19:47

There's nothing in YAFU's nfs code that requires SSE2, but ggnfs does, and perhaps msieve too (it's been awhile since I've browsed the poly select code so I'm not sure there). But in any case a K10 should have sse2. Are you running the 64 bit version on a 32 bit OS?

lorgix 2012-11-10 19:58

[QUOTE=bsquared;317861]There's nothing in YAFU's nfs code that requires SSE2, but ggnfs does, and perhaps msieve too (it's been awhile since I've browsed the poly select code so I'm not sure there). But in any case a K10 should have sse2. Are you running the 64 bit version on a 32 bit OS?[/QUOTE]
It's 64 bit.

factor() works.

bsquared 2012-11-10 20:10

Is this the binary that Dubslow posted or the stock one from sourceforge? Do you see the same problem in both?

lorgix 2012-11-10 20:21

[QUOTE=bsquared;317864]Is this the binary that Dubslow posted or the stock one from sourceforge? Do you see the same problem in both?[/QUOTE]
It's the one that Dubslow posted. The one from sourceforge works.

Dubslow 2012-11-10 22:32

[QUOTE=lorgix;317866]It's the one that Dubslow posted. The one from sourceforge works.[/QUOTE]

That's not good :razz:

I just tested my copy of that binary, and AFAICT (tested GNFS poly select and GNFS sieving) it works fine.

Here's a test: if your command that's crashing is `./yafu blah blah blah`, please try running `gdb ./yafu blah blah blah`, and then when that program starts, type `run`; when YAFU crashes, type `bt full` and post the output here.

Unless B[sup]2[/sup] has better insight?

Perhaps gcc only compiled it for my architecture? But then the ecm compile of mine you're using wouldn't work either...


All times are UTC. The time now is 15:02.

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