![]() |
|
|
#12 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
For candidates smaller than 90-95 digits (the exact cutoff can be determined by using the -tune parameter in YAFU, which tests your actual machine/environment to see where the optimal swtichover is), the quadratic sieve is used by both msieve and YAFU. Yafu's implementation is a bit faster than msieve's.
For candidates above the cutoff, GNFS is used for numbers without any special form. The first step in that process is polynomial selection, which produces much screen output. |
|
|
|
|
|
#13 | |
|
Oct 2015
France
32×7 Posts |
Yes, I had installed Python on Windows and on Ubuntu, by default.
Quote:
What is the -tune parameter in YAFU ? I tried and it gives me almost the same thing than without the option. And xhat is the cutoff ? Last fiddled with by Romuald on 2015-11-07 at 09:05 |
|
|
|
|
|
|
#14 | |
|
Jun 2012
306810 Posts |
Quote:
There is much more information in the Yafu subforum. |
|
|
|
|
|
|
#15 | |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Quote:
YAFU and msieve and GGNFS are software packages, not algorithms. YAFU has the quadratic sieve algorithm built-in, and needs to call nothing else for composites small enough for QS to work. Msieve also has the QS implemented built-in, so msieve can also be used without any other software to run the quadratic sieve. For numbers bigger than the QS can handle, the GGNFS siever must be used (this is NFS). This may be called by YAFU, or by the python script factmsieve.py. Either one will call msieve to do the first step (polynomial selection), GGNFS for the second step (sieving), and msieve for the 3rd step (solving the matrix and finding the sqrt). You may think of YAFU and factmsieve.py as two options to achieve the same result (calling the proper other programs to do large factorizations). Last fiddled with by VBCurtis on 2015-11-07 at 19:00 |
|
|
|
|
|
|
#16 | |
|
Oct 2015
France
32·7 Posts |
Quote:
But when I use the factmsieve.py, you say it will call first msieve. So why doesn't find it the solution instantly as YAFU does ? Both contain the QS all the same ? By the way, is there any posts or any instructions to build and run YAFU on Linux, I searched on the forum, without any conclusive outcome. If you know some documents about GGNFS, MSIEVE, YAFU and factmsieve.py, and the algorithms they use, please tell me, I didn't found any detailed documentation about it on the internet, neither english nor french. |
|
|
|
|
|
|
#17 |
|
"Curtis"
Feb 2005
Riverside, CA
10010111111012 Posts |
factmsieve.py is a routine for doing NFS algorithm. It does call msieve, but it tells msieve specifically "do the first stage of NFS for me, please." The python script is NOT used for small factorizations.
|
|
|
|
|
|
#18 |
|
Oct 2015
France
32·7 Posts |
That's a clear fact.
|
|
|
|
|
|
#19 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
381710 Posts |
|
|
|
|
|
|
#20 | |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
Quote:
Also, to correct, yafu does not "call" msieve, in the sense that it has internal copies of msieve code (libraries) and it does not need external copy of msieve to work. However, yafu needs external copies of GGNFS to work (it won't do NFS without it!), which is called when sieving step is done during NFS algorithm. Also, if you do ECM for large composites, yafu can use external ECM tools - but doesn't need them, the internal ECM implementation is slower because is single-threaded, but it can handle very well al kind of numbers. However, for fast, multithreaded ECM (i.e. use all cores of your CPU) an external tool like GMP-ECM can be used. All this discussion could be avoided if the OP could read the readme files comming with the two tools (this is polite version of RTFM )
Last fiddled with by LaurV on 2015-11-09 at 04:35 |
|
|
|
|
|
|
#21 | |||
|
Oct 2015
France
32×7 Posts |
Quote:
Quote:
Quote:
The problem is, as i said (but maybe did you not read ? ;) ), that french documentation is not plentiful. So, I look to english websites or forum like mersenneforum.org to talk to people which usually does that kind of work. And the readme files are not explaining how to build and use the programe, and some informations/instructions aren't written anywhere except for some on this forum. That's the case about building instructions of msieve and ggnfs on Ubuntu. But nobody answered me: is it up-to-date ? The script gets sources from other sites than the official (factmsieve). So, presumably all of you don't know a lot of sites that might help me and make me do not ask some of my questions, so I searched and I found some documents about Integer Factorization: http://www.connellybarnes.com/documents/factoring.pdf http://cr.yp.to/2006-aws/notes-20060309.pdf http://www.cs.columbia.edu/~rjaiswal...ing-survey.pdf and some others... So, next time, admittedly, I'm going to investigate by myself before asking, and I'm sorry if I caused some trouble. But I'm afraid I have to tell you my question was legitimate because there is nearly no internet's page talking about msieve on Ubuntu. Last fiddled with by Romuald on 2015-11-09 at 18:05 |
|||
|
|
|
|
|
#22 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
For what it's worth, il y a des personnes sur ce forum qui parlent français.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How I Run a Larger Factorization Using Msieve, gnfs and factmsieve.py on Several Ubuntu Machines | EdH | EdH | 7 | 2019-08-21 02:26 |
| Msieve & ggnfs on MacOS | xilman | Msieve | 8 | 2017-05-20 00:12 |
| Error while running Msieve 1.53 with factmsieve.py | FelicityGranger | Msieve | 2 | 2016-12-04 10:44 |
| Infinite loop for ggnfs or msieve | Greebley | Aliquot Sequences | 4 | 2013-02-06 19:28 |
| Error running GGNFS+msieve+factmsieve.py | D. B. Staple | Factoring | 6 | 2011-06-12 22:23 |