mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-05-18, 01:27   #12
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

Quote:
Originally Posted by ThomRuley View Post
Can't seem to find that kind of file. Is that going to be a problem?
I would not consider you to have a problem at this point. It is possible the log file is not written until the end of the filtering operation. Unfortunately, the filtering (-nc1) stage does not have a countdown timer like the linear algebra (-nc2) stage.

That many relations will also take a lot of memory. I wonder if that might be slowing things down. Have you noticed any memory messages, such as available and used amounts?

Since it isn't giving you error messages, I suppose you'll just need patience at this point. . .
EdH is offline   Reply With Quote
Old 2010-05-18, 03:07   #13
ThomRuley
 
ThomRuley's Avatar
 
May 2003

23·31 Posts
Default

Just to make sure I understand the process this program uses:

Step 1 is lattice sieving to find a large number of relations for q, whatever that is.

Step 2 is some sort of filtering. What is it filtering?

Step 3 is a linear algebra step. What sort of linear algebra does it do?

I've only taken math up through basic calculus so far, so feel free to refer me to any sources to help bring me up to speed.

Thom
ThomRuley is offline   Reply With Quote
Old 2010-05-18, 03:33   #14
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by ThomRuley View Post
Step 2 is some sort of filtering. What is it filtering?
More detail on NFS filtering than you probably wanted
More detail on the linear algebra than anyone needs
(The CWI ftp site has a more legible copy of Peter's paper)
jasonp is offline   Reply With Quote
Old 2010-05-18, 05:04   #15
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default

Quote:
Originally Posted by ThomRuley View Post
Can't seem to find that kind of file. Is that going to be a problem?
Just a thought: Have you correctly installed msieve.exe? *) Open your FactMsieve.pl file (with a text editor) and look for a line that starts with "$MSIEVE=". The default line reads:

$MSIEVE=$GGNFS_BIN_PATH."/msieve".$EXEC_SUFFIX;

If the line in your file is the same, the msieve binary should be in the same directory as your gnfs-lasieve4I1?e files.


*) If yor system is windows, the binary is named "msieve.exe". If it is linux, the binary is named "msieve" without .exe suffix.
Andi47 is offline   Reply With Quote
Old 2010-05-18, 05:27   #16
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

Andi may be just right! Good thinking. If there's no log, then you may have no working msieve.

The old perl script always checked for all working binaries even before starting; I thought python script does, too. Apparently this can be disabled as far as I can see from the python-script thread, which is not a good thing by default.

Also, a minor issue: that infamous minimum estimate is a bit funky in the python script but this is not easy to fix; all estimates are funky... The commented out "pi(...)+pi(...)" estimate* had theoretical grounds; if I had my druthers, I'd rather spline/change only the 0.2 parameter in it and not touch the meat of the formula (think about it - it takes care of uneven lpba/r limits nicely), but that's just an idea - someone has to do the tests. That's not going to be me - I don't use this or the old script...
_____

*) well, ok, pi(...)+pi(...) looks like N/log(N) there, but you will recognize it with minimal effort.
Batalov is offline   Reply With Quote
Old 2010-05-18, 07:02   #17
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Quote:
Originally Posted by Batalov View Post
Andi may be just right! Good thinking. If there's no log, then you may have no working msieve.

The old perl script always checked for all working binaries even before starting; I thought python script does, too. Apparently this can be disabled as far as I can see from the python-script thread, which is not a good thing by default.
The default in the Python script is that binary checks are turned on.

A bug in the original Perl script meant that msieve was sometimes called before its existence was checked. This was carried over into the Python script but I revamped the checking in the latest version so this bug has now been removed.

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-05-18, 07:37   #18
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by Batalov View Post
Andi may be just right! Good thinking. If there's no log, then you may have no working msieve.

The old perl script always checked for all working binaries even before starting; I thought python script does, too. Apparently this can be disabled as far as I can see from the python-script thread, which is not a good thing by default.
[/SIZE]
Oops, I did not recognize that he is using the python script. I don't know what the corresponding line in FactMsieve.py is.

Does the python script by default expect the msieve binary in the same directory as the gnfs-lasieve* binaries too?

(edit: The essence of my posting stays the same: Make sure that the msieve binary is installed in the correct directory.)

Last fiddled with by Andi47 on 2010-05-18 at 07:38
Andi47 is offline   Reply With Quote
Old 2010-05-18, 08:49   #19
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Oops, I did not recognize that he is using the python script. I don't know what the corresponding line in FactMsieve.py is.

Does the python script by default expect the msieve binary in the same directory as the gnfs-lasieve* binaries too?
The Python script has to be edited before it is used to set the ggnfs and msieve paths. The script sets these two paths individually so they don't have to be the same. The default is:

GGNFS_PATH = '../../bin/x64/Release/'
MSIEVE_PATH = '../../../msieve/build.vc9/x64/Release/'

which is where I put them

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-05-19, 01:56   #20
ThomRuley
 
ThomRuley's Avatar
 
May 2003

23×31 Posts
Default

I'm afraid this whole conversation has confused me more than anything. Does the activity on my screen mean I need to do something different? The previous numbers ran without a hitch.
ThomRuley is offline   Reply With Quote
Old 2010-05-19, 02:12   #21
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Well, it was you who said that there's no log anywhere in sight. And sent us all on a witch hunt.
If this is not the first number, then I revert to my very first message -- all is going fine!
...achem (here goes)... just step back and enjoy the blinkenlights.
/thassa joke, son, as jasonp says. Or Foghorn Leghorn, to be precise/
Batalov is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving: When to stop? SaneMur Riesel Prime Search 4 2011-07-18 17:04
Stop p95 or llr before restarting? Joshua2 Software 6 2005-05-16 16:36
Should we stop at k=249? jocelynl 15k Search 2 2004-07-10 13:31
When to stop sieving? ebx 3*2^n-1 Search 9 2004-07-06 15:30
RMA - stop LLR bug paulunderwood 3*2^n-1 Search 8 2004-05-19 07:10

All times are UTC. The time now is 00:47.


Sat Jul 17 00:47:34 UTC 2021 up 49 days, 22:34, 1 user, load averages: 1.72, 1.49, 1.38

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.