mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2008-11-27, 07:49   #1
aaa120
 
Oct 2008

24 Posts
Default Getting msieve to work

Quote:
Originally Posted by jasonp View Post
Now available:

win32 binary
source

Highlights:

- fixed 64-bit NFS poly selection; it was completely broken

- added poly skew to the factor base file format, logfile, and internal structures (not used internally, yet)

- lowered the size of most A5 coefficients that are searched, and increased the time per coefficient

- fixed almost all compile warnings

- added forgotten typo to the NFS filtering

- added more MSVC tweaks from Brian Gladman; the MSVC project will now link with GMP and GMP-ECM by default. See the readme in the build.vc9 directory if you don't want them.

The shoddy state of this beta has me peeved, but hopefully this will be the last one before a full release later in the week.

I don't know why msieve1.39 cannot run on my machine .
My operating system is windows XP.
I download msieve 1.38 from this,
msieve 1.38 can run on my machine with gui.
aaa120 is offline   Reply With Quote
Old 2008-11-27, 08:14   #2
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by aaa120 View Post
I don't know why msieve1.39 cannot run on my machine .
My operating system is windows XP.
I download msieve 1.38 from this,
msieve 1.38 can run on my machine with gui.
Did you download the win32 binary? You can start it from the DOS-promt. Note that the filename is msieve139beta2.exe, not msieve.exe
Andi47 is offline   Reply With Quote
Old 2008-11-27, 08:24   #3
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

Save msieve and extract it to a folder, e.g. "msieve139beta2".
Then right-click on that folder from the folder one level above it (e.g. Program Files) and click on "Command Prompt here". Then type:

msieve139beta2 <num>

where <num> is the number you want to factor. This does ECM up to 15 digits followed by QS/NFS. If instead you type:

msieve139beta2 -e <num>

msieve will run ECM up to the level where QS/NFS should be run. This is best for factoring a number completely.

Type

msieve139beta2 --help

to get a list of other options.

The output (including the factors) will be in a .txt file called "msieve".

Last fiddled with by 10metreh on 2008-11-27 at 08:25 Reason: Forgot name!
10metreh is offline   Reply With Quote
Old 2008-11-27, 08:31   #4
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23·3·5·72 Posts
Default

have you got file extension hiding on 10metreh because the files name of the log is msieve.log not msieve
henryzz is offline   Reply With Quote
Old 2008-11-27, 09:18   #5
10metreh
 
10metreh's Avatar
 
Nov 2008

44228 Posts
Default

I thought it was "msieve.txt".
10metreh is offline   Reply With Quote
Old 2008-11-27, 09:56   #6
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Quote:
Originally Posted by aaa120 View Post
I don't know why msieve1.39 cannot run on my machine .
My operating system is windows XP.
I download msieve 1.38 from this,
msieve 1.38 can run on my machine with gui.
Does the win32 1.38 binary here:

http://www.boo.net/~jasonp/msieve.exe

work?

If you type on the DOS command line: "msieve_exe_name -m -v" (without the quotes), where 'msieve_exe_name' is the name of your msieve executable, does anything happen? It should respond with the prompt:

next number:

where you can then input, for example:

next number: (10^71-1) / 9

Can you do this with the 1.39 beta binary? If so do you get any error messages?

If you have an email address I can use, I can send you another win32 binary to try if you wish.

Brian Gladman
Brian Gladman is offline   Reply With Quote
Old 2008-11-27, 10:52   #7
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

That works with beta1. I haven't taken the time to download beta2 yet. I would suppose that works with beta2 as well.

In fact, I didn't know this way of doing it. I used "msieve <num>" where <num> is the number to be factored. It also seems to resolve the problem that (10^71-1)/9 reads as (1071-1)/9. Only it was 4% slower than without -m -v and 6% slower than v1.38.

aaa120, what is the error you are getting?

Edit: I have downloaded beta2. There is no real QS time difference for R71.

Last fiddled with by 10metreh on 2008-11-27 at 11:05
10metreh is offline   Reply With Quote
Old 2008-11-27, 16:50   #8
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Anyone who enters a number by formula at the command line, i.e. 'msieve "10^58-1" ', should realize that '^' is a reserved character on the DOS command line; it refers to concatenation. So just saying 10^58-1 will be rearranged by the shell as 1058-1 before msieve ever sees the number, but "10^58-1" (with the quotes) will hide the '^' character from the shell, and work correctly. This was news to me, and I've heard from many people who reported this as an msieve bug. It isn't a problem in manual mode, i.e. with -m, because what you type there is not shown to the shell interpreter.

When I wrote the demo binary, I wanted something that could accept numbers in pretty much any form users could supply (from file, from the command line, in a pipeline, in batches, etc)
jasonp is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve on a Mac (Help) pxp Msieve 1 2013-02-28 14:56
How to calculate work/effort for PRP work? James Heinrich PrimeNet 0 2011-06-28 19:29
msieve help em99010pepe Msieve 23 2009-09-27 16:13
fun with msieve masser Sierpinski/Riesel Base 5 83 2007-11-17 19:39
Msieve 1.10 RedGolpe Msieve 6 2006-09-07 12:56

All times are UTC. The time now is 01:32.


Sat Jul 17 01:32:42 UTC 2021 up 49 days, 23:19, 1 user, load averages: 1.29, 1.35, 1.26

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.