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)

Andi_HB 2011-01-11 18:39

1 Attachment(s)
Looks like the new Version don`t find my msieve.
The msieve.exe is in the gnfs + yafu directory but yafu 1.22.2 crashs.
I have tested with 1.22.1 - no problem there.

bsquared 2011-01-11 19:51

[QUOTE=Andi_HB;245722]Looks like the new Version don`t find my msieve.
The msieve.exe is in the gnfs + yafu directory but yafu 1.22.2 crashs.
I have tested with 1.22.1 - no problem there.[/QUOTE]

Thanks for the report - I see the crashes too.

Slight clarification: yafu doesn't need the msieve binary - I incorporate portions of msieve directly into the yafu binary. Which is increasingly looking like a bad decision because of issues like this - the API of msieve was not necessarily designed to be used in this way. For 1.22.2, I rebuilt msieve from the latest SVN, and now we see this crash. I have no idea why it would do that. x64 versions of 1.22.2 work just fine...

For now I'll rebuild using a downrev'ed msieve and repost the binaries. Going forward I'll have to think about restructuring yafu's NFS to rely on an external msieve.exe.

Thanks for your patience.

- ben.

bsquared 2011-01-11 20:26

Ok, I've looked at the msieve changelog and I think I've fixed the problem (in yafu).

Updated binaries are available for download (only Win32 were affected by this change).

I'll try to do a better job keeping up with msieve API changes for future builds (or at least a better job testing!).

Andi_HB 2011-01-11 20:48

Thank you ben for updating the binaries.
I think you do a very good job! :bow:

Best Regards Andi_HB

jasonp 2011-01-11 22:12

Was it the change in the size of an mp_t in the last rev? I removed mp.h from the external interface in the latest SVN because it's just too dangerous to leave it there.

bsquared 2011-01-11 22:55

[QUOTE=jasonp;245797]Was it the change in the size of an mp_t in the last rev? I removed mp.h from the external interface in the latest SVN because it's just too dangerous to leave it there.[/QUOTE]

Did the size change? MAX_MP_WORDS is still 32. Anyway, I saw that mp_sprintf_buf changed from being statically to dynamically allocated in the msieve_obj structure. When I changed yafu to match - that fixed the problem.

I just neglected to check for msieve interface changes prior to rebuilding everything.

lorgix 2011-01-12 18:31

Error: "wrong number of arguments in mul"
 
1 Attachment(s)
What's this?

bsquared 2011-01-12 18:37

[QUOTE=lorgix;245955]What's this?[/QUOTE]

Errrrm, a bug? :)

It works if you specify the second argument to nextprime (1 for next bigger, 0 for previous smaller).

[CODE]
factor(nextprime(rand(17),1)*nextprime(rand(18),1))
[/CODE]

lorgix 2011-01-12 18:48

Darn, I had my money on mammal...

em99010pepe 2011-01-16 10:25

Ben,

Did you manage to fix the "lost cores" issue during yafu running?

Carlos

bsquared 2011-01-17 15:16

[QUOTE=em99010pepe;246712]Ben,

Did you manage to fix the "lost cores" issue during yafu running?

Carlos[/QUOTE]

Sorry, no I haven't. The only experiments I can think of to try are pretty invasive. For example a complete reorganization of the threading architecture or windows API calls to enforce thread affinity to a core. As such I've been putting off trying them out...

- ben.


All times are UTC. The time now is 23:03.

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