mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2011-09-06, 16:28   #826
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

D6316 Posts
Default

Quote:
Originally Posted by bsquared View Post
-logfile NUL -session NUL
Perfect, thank you. Works as desired.
James Heinrich is offline   Reply With Quote
Old 2011-09-06, 17:45   #827
Random Poster
 
Random Poster's Avatar
 
Dec 2008

179 Posts
Default

Quote:
Originally Posted by bsquared View Post
I'll get a new version out soon with this (and several other things) fixed.
Here's another thing to fix: some source files try to include ecm.h, but there's no such file in yafu-1.28.4-src.zip.
Random Poster is offline   Reply With Quote
Old 2011-09-06, 17:47   #828
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

352110 Posts
Default

Quote:
Originally Posted by Random Poster View Post
Here's another thing to fix: some source files try to include ecm.h, but there's no such file in yafu-1.28.4-src.zip.
That's part of the gmp-ecm package, not yafu. I suppose I should use <ecm.h> instead of "ecm.h".
bsquared is offline   Reply With Quote
Old 2011-09-06, 19:33   #829
Random Poster
 
Random Poster's Avatar
 
Dec 2008

179 Posts
Default

Quote:
Originally Posted by bsquared View Post
That's part of the gmp-ecm package, not yafu. I suppose I should use <ecm.h> instead of "ecm.h".
Do you mean it's mandatory to have the gmp-ecm sources available to compile yafu? In that case you should update the readme (which quite clearly states that gmp-ecm is optional) and probably also clean up the makefile and sources (no point to keep HAVE_GMP and HAVE_GMP_ECM around).
Random Poster is offline   Reply With Quote
Old 2011-09-06, 19:55   #830
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7×503 Posts
Default

Quote:
Originally Posted by Random Poster View Post
Do you mean it's mandatory to have the gmp-ecm sources available to compile yafu?
Errr (*checks quick*), yes, I guess it is. That used to not be the case; until recently I had my own implementation as backup to gmp-ecm.

Quote:
Originally Posted by Random Poster View Post
In that case you should update the readme (which quite clearly states that gmp-ecm is optional) and probably also clean up the makefile and sources (no point to keep HAVE_GMP and HAVE_GMP_ECM around).
Will do, although "clean up source" has been at the top of my todo list for years now, and, well, it's still a mess .

Thanks for the feedback.
bsquared is offline   Reply With Quote
Old 2011-09-06, 21:27   #831
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101110000012 Posts
Default

Quote:
Originally Posted by yoyo View Post
Can I get a static linked version for Linux in the next release?
I'm sending yafu automatic to registered Boinc user and most of them do not have libgmp.so installed.

thanks,
yoyo
Yes, I'll try to get you one.

By the way, it's nice to see this tool getting so much use via your new BOINC project. I joined up and started contributing cycles just to see what BOINC is like - I've never used it before till now.
bsquared is offline   Reply With Quote
Old 2011-09-07, 04:34   #832
yoyo
 
yoyo's Avatar
 
Oct 2006
Berlin, Germany

7×89 Posts
Default

I saw you joining and some others fro the forum.
I'm not a math expert. But I like the simple usage of yafu which runs first rho, ecm, pp1, ppm to some extent to find small factors and than runs siqs for the rest. I must not make this by hand. Some Perl scripting and cooperation with Syd and everything was running in Boinc. 230 user have joined until now.
yoyo
yoyo is offline   Reply With Quote
Old 2011-09-07, 18:42   #833
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101110000012 Posts
Default 1.28.5 available

Code:
 
v 1.28.5 
+ no longer print SKEW line to nfs.fb files 
+ add issquare and ispow to function list 
+ cleanup of siqs tdiv code: now requires SSE2 
+ added perfect power checks to siqs and nfs 
+ on NFS restart, check any rels found against min_rels instead of always proceeding to filtering 
+ support for large nfs jobs on windows (file size limitations removed) 
+ fix for the "skipping blank line" infinite loop sometimes encountered during -batchfile runs 
+ fixed estimation when allocating memory in SoE wrapper - now gives better estimates and saves memory
+ fixed bug introduced in 1.28.4 where rho() doesn't detect PRP factors correctly (thanks wblipp!) 
+ if gnfs-lasieve binaries are not detected prior to starting an nfs job that requires sieving, siqs is started instead of aborting (and a warning message is printed to the screen and logfile) 
+ added a check for a valid siqs savefile and restart siqs inside of factor()
Hopefully that covers most things reported/requested recently.

@yoyo
I statically linked the linux executables in the download... let me know if people are still having issues with them. This new version should also work better as the BOINC project gets to larger composite values... sooner or later yafu will want to run NFS and find that the user doesn't have gnfs-lasieve binaries. This new version will revert to siqs in that case and not abort (as 1.28.4 and previous versions did). I don't know how complex a process it would be to also distribute gnfs-lasieve binaries in the project...

Last fiddled with by bsquared on 2011-09-07 at 18:43 Reason: code tags
bsquared is offline   Reply With Quote
Old 2011-09-08, 02:43   #834
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

25BF16 Posts
Default

Quote:
Originally Posted by bsquared View Post
Code:
 
+ add issquare and ispow to function list
Hopefully that covers most things reported/requested recently.
Thanks a billion! Not that I have an acute need of them right now (still use them occasionally), but that was something I reported, and now you see.... I feel like an important guy!

Still missing that loops and screws... aaa.. sorry.. ifs...

[offtopic]
By the way, after reading few posts about pari/gp on this forum, I started playing with it, and I want to tell you that yafu is between 1.5 and about 40 times faster (depending what I am doing). That's a good point for yafu! But hey, in pari/gp at least I can implement some loops... Pari also helped me to understand better a lot of things that were somehow unclear or unknown to me till now (math related). Because I have this bad habit to read the manual first, every time I get to learn a new language, to see what the new toy can do. All that functions with strange names on different kind of groups and fields puzzled me to death, so I went back to the math books...
[/offtopic]

Question: If you remember my C185, it has already over 1.6 gigs of nsf.dat and all the other stuff. Anything to know if I want to switch to the new version of yafu now? Or I should better wait for the sieving to finish first? Can the new version "take over" on the fly? Just worried a bit.

Last fiddled with by LaurV on 2011-09-08 at 02:47
LaurV is offline   Reply With Quote
Old 2011-09-08, 12:57   #835
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7×503 Posts
Default

Quote:
Originally Posted by LaurV View Post
Thanks a billion! Not that I have an acute need of them right now (still use them occasionally), but that was something I reported, and now you see.... I feel like an important guy!

Still missing that loops and screws... aaa.. sorry.. ifs...
I may have mentioned it before, but you are free to edit the source code of yafu - not to make it *parse* if's and loops, but to just directly code your if's and loops in C. It really shouldn't be too much harder than coding something in pari/gp. PM me if you want and I can point you to a good place to start.

Quote:
Originally Posted by LaurV View Post
[offtopic]
By the way, after reading few posts about pari/gp on this forum, I started playing with it, and I want to tell you that yafu is between 1.5 and about 40 times faster (depending what I am doing). That's a good point for yafu! ...[/offtopic]


Quote:
Originally Posted by LaurV View Post
Question: If you remember my C185, it has already over 1.6 gigs of nsf.dat and all the other stuff. Anything to know if I want to switch to the new version of yafu now? Or I should better wait for the sieving to finish first? Can the new version "take over" on the fly? Just worried a bit.
There is nothing you'd gain from switching, so I'd just continue on the way you are. That said, a switch *should* be seamless - "ctrl-C" in one version and "nfs(<the same number>) -R" in the new version should work just fine. As always if you're nervous, backup the data first.
bsquared is offline   Reply With Quote
Old 2011-09-08, 19:10   #836
yoyo
 
yoyo's Avatar
 
Oct 2006
Berlin, Germany

7·89 Posts
Default

Thanks for the yafu update. I deployed the version into the Boinc system.

Regarding gnfs:
On which composite size yafu will use gnfs?
Where can I find gnfs binaries?
How to configure yafu with gnfs?

yoyo

Last fiddled with by wblipp on 2011-09-08 at 20:17 Reason: typo fix site to size
yoyo 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 15:23.


Fri Aug 6 15:23:34 UTC 2021 up 14 days, 9:52, 1 user, load averages: 2.85, 3.08, 2.94

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.