mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2010-12-06, 20:45   #441
bchaffin
 
Sep 2010
Portland, OR

22·3·31 Posts
Default

Quote:
Originally Posted by bsquared View Post
1.20.1 is linked with GMP-ECM 6.3, which itself was built with GMP-5.0.1. 1.20 on the other hand was built with GMP-ECM 6.2.3 and GMP-4.2.3. That's the only difference I can see. Both yafu versions were statically linked to libecm.a. All of the above were built on a RH Enterprise Linux 5 box with gcc version 4.1.2.

[edit]
I see that there are different versions of libgmp.so.*, which appear in the gmp/lib/ folder, between the different versions of GMP. So even though libecm is linked statically to yafu, the libecm library in turn probably depends on different dynamic libgmp libraries. I could provide you with the GMP-5.0.1 libgmp.so.10 and libgmp.so.10.0.1 files if you like.
Thanks. I've already built gmp 5.0.1, it's just not what's installed on my system (which I don't administrate). After a little googling I found the patchelf utility and managed to hack the binary to look in the right place so I don't have to muck with the lib paths in a zillion shells.

In other words, problem solved. :)
bchaffin is offline   Reply With Quote
Old 2010-12-06, 21:34   #442
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Quote:
Originally Posted by bchaffin View Post
In other words, problem solved. :)
Great! Glad I could help
bsquared is offline   Reply With Quote
Old 2010-12-08, 03:43   #443
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101110000102 Posts
Default bug fix available in version 1.20.2

bchaffin kindly pointed out a bug in version 1.20.1. For some reason, I commented out a block of code which I shouldn't have sometime between version 1.20 and 1.20.1. I can't for the life of me remember what I was doing. The fix is available here.

Sorry for the inconvenience.

bsquared is offline   Reply With Quote
Old 2010-12-08, 03:58   #444
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by Tyra View Post
Advice please! Which startup options YAFU?
C155
how to use multiCPU?
Turn off the electricity. How to resume work from Stop?
THANK YOU.
The only thing YAFU could be useful for on a C155 is for running ECM. Running the following command will cause YAFU to start running auto-increasing curves indefinitely:

Code:
yafu "factor(c155)"
But that's unlikely to be helpful for your (probable) RSA-512 key. Instead, start here.
bsquared is offline   Reply With Quote
Old 2010-12-08, 13:25   #445
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Ben, I wonder if you realise that the YAFU source code you are publishing still contains bugs that I reported some weeks ago?

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-12-08, 14:29   #446
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

352210 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Ben, I wonder if you realise that the YAFU source code you are publishing still contains bugs that I reported some weeks ago?

Brian
Can you remind me what bugs you reported? I haven't updated the public source code since the full 1.20 release, which was several weeks ago, but I want to be sure I'm addressing everything. Stuff tends to pile up.
bsquared is offline   Reply With Quote
Old 2010-12-08, 15:15   #447
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

354310 Posts
Default

Maybe a project on sourceforge or Google code would make it easier to keep up with the user community? (Brian can then make the changes himself :)
jasonp is offline   Reply With Quote
Old 2010-12-08, 15:16   #448
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

That's a great idea. Is it hard to get everything set up on sourceforge?
bsquared is offline   Reply With Quote
Old 2010-12-08, 15:18   #449
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Hi Ben,

I don't remember exactly when, but I provided a revised version of ecm.c to solve x64 exceptions that were being reported here.

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-12-08, 15:23   #450
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Hi Ben,

I don't remember exactly when, but I provided a revised version of ecm.c to solve x64 exceptions that were being reported here.

Brian
Ok, that's what I thought you might be referring to. Version 1.20.1 (and .2) both use a revised ecm.c. After reviewing your revisions I implemented a threadpool threading architecture for ecm, similar to siqs and the sieve of Eratosthenes code in YAFU. The x64 ecm crashes are fixed in the .1 and .2 versions with these changes, but I haven't released the source code yet.
bsquared is offline   Reply With Quote
Old 2010-12-08, 16:59   #451
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22×7×19 Posts
Default

Ah, I now understand. But does this mean that the binaries packaged as a part of the YAFU 1.20.1 distribution don't correspond with the source code that is in this package?

Brian
Brian Gladman is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
Yafu bug. storflyt32 YAFU 2 2015-06-29 05:19
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 20:46.


Fri Aug 6 20:46:24 UTC 2021 up 14 days, 15:15, 1 user, load averages: 2.36, 2.45, 2.64

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.