mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2007-01-05, 05:40   #287
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by roger View Post
I tried the -r command, but unfortunately the program still gives the same result. The output is that there are errors reading the first 5400+ relations. Perhaps Msieve found 5400 relations on the end rather than the corrupted ones at the beginning?
Is there a way around this, such as restarting the composite with a different savefile, then combining them later so that they can Finally give a result?
You basically have to get msieve to collect enough relations so that the 5400 corrupt ones can be ignored but there are still enough good relations left for the postprocessing to start. You can run with -r again if it will help. Alternately,

- save off the old save file
- run msieve from scratch, stopping the run after it claims to have found 6000 relations (i.e. it says 'combined from 6000 partial')
- combine the two savefiles: 'type msieve.dat >> msieve_old.dat', where msieve_old.dat is the old savefile
- restart from the modified savefile

If 6000 relations are not enough, repeat the process until it stops giving errors and begins the postprocessing.

jasonp
jasonp is offline   Reply With Quote
Old 2007-01-08, 23:33   #288
roger
 
roger's Avatar
 
Oct 2006

22×5×13 Posts
Default

Thank you, JasonP

That will take so little time compared to beginning over a Third time.

Thanks for all your patience and help in the matter.

Roger
roger is offline   Reply With Quote
Old 2007-01-09, 13:43   #289
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

DD516 Posts
Default

Quote:
Originally Posted by roger View Post
Thank you, JasonP

That will take so little time compared to beginning over a Third time.

Thanks for all your patience and help in the matter.
no problem, I know it's frustrating when things don't just work. In general, there is always a way around trouble like this without having to restart from scratch.

jasonp
jasonp is offline   Reply With Quote
Old 2007-02-03, 23:30   #290
roger
 
roger's Avatar
 
Oct 2006

10416 Posts
Default error: read_cycles can't open cycle file

JasonP,

This time instead of corrupted relations, I got the message:
Sat Feb 03 09:08:49 2007 error: read_cycles can't open cycle file
Msieve completed all relations, and gave no warning of errors with those.
I can't find any file with 'cycle' in it, and am lost at what to do.

Thanks,

Roger
roger is offline   Reply With Quote
Old 2007-02-04, 04:30   #291
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by roger View Post
JasonP,

This time instead of corrupted relations, I got the message:
Sat Feb 03 09:08:49 2007 error: read_cycles can't open cycle file
Msieve completed all relations, and gave no warning of errors with those.
I can't find any file with 'cycle' in it, and am lost at what to do.
This is a message you get when you try to run NFS; what was the command line you used?

jasonp
jasonp is offline   Reply With Quote
Old 2007-02-04, 06:24   #292
roger
 
roger's Avatar
 
Oct 2006

4048 Posts
Default

The command line was Msieve -n -nf -s 597~483.dat -v

Thanks

Roger
roger is offline   Reply With Quote
Old 2007-02-04, 06:43   #293
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67258 Posts
Default

Quote:
Originally Posted by roger View Post
The command line was Msieve -n -nf -s 597~483.dat -v
Now I'm confused; did you restart this factorization from scratch using NFS? If the .dat file contains relations from a QS run, these can't be reused by the number field sieve code (i.e. you can't use -n -nf).

jasonp
jasonp is offline   Reply With Quote
Old 2007-02-04, 22:02   #294
roger
 
roger's Avatar
 
Oct 2006

22×5×13 Posts
Default

Sorry for not being clearer.

I have been using the NFS for the factorization since the beginning of this number. It seemed so much faster.

Thanks,

Roger
roger is offline   Reply With Quote
Old 2007-02-05, 04:45   #295
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by roger View Post
I have been using the NFS for the factorization since the beginning of this number. It seemed so much faster.
What's the time difference?

msieve is looking for the file '<argument of -s>.cyc'; by default it will look for 'msieve.dat.cyc'. Also, -nf expects a filename argument afterwards, or it will pick 'msieve.fb' by default.

If your filename actually has a '~' character in it, this could be confusing windows. When performing an NFS factorization, the temporary files generated during NFS postprocessing get filenames of '<argument of -s>.<something>'

jasonp
jasonp is offline   Reply With Quote
Old 2007-02-05, 04:55   #296
roger
 
roger's Avatar
 
Oct 2006

4048 Posts
Default

Thanks, I will change the filename and retry it.

I don't know about the time difference, because I aborted it when on Msieve at 12 minutes (having 10 relations out of a needed 140,000, but I know a lot of that was initializing...). As for NFS : it does somewhere around 11,000 relations an hour (out of 1.862M). My computer is a PIII 550MHz.

Thanks for everything,

Roger
roger is offline   Reply With Quote
Old 2007-02-05, 14:19   #297
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by roger View Post
I don't know about the time difference, because I aborted it when on Msieve at 12 minutes (having 10 relations out of a needed 140,000, but I know a lot of that was initializing...). As for NFS : it does somewhere around 11,000 relations an hour (out of 1.862M). My computer is a PIII 550MHz.
This can be misleading. For QS, the relation rate starts off very slow and increases to very fast as more and more of the required sieving happens. For NFS, the relation rate starts off high and slows down as more sieving happens. For a 105-digit run the NFS code will probably need 6-7 million relations by the time it's done. Note that if you're using NFS, I highly recommend switching to the latest msieve version, since it contains critical bugfixes.
The NFS postprocessing will also probably requires 150-200MB of RAM.

Are you sure you don't want to let someone finish this run for you? GGNFS on a fast machine can do this job in probably 12 hours.

jasonp
jasonp is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Utility of integer factorization. jwaltos Other Mathematical Topics 8 2015-05-22 12:20
File Splitting Utility Antonio Software 5 2013-04-18 14:22
Low-powered motherboard of adequate capability sought fivemack Hardware 1 2011-12-21 19:26
Implementing MPQS: SOS! smoking81 Factoring 10 2007-10-02 12:30
Prime Shuffle Utility HiddenWarrior Programming 6 2004-11-04 05:21

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


Sat Jul 17 01:32:11 UTC 2021 up 49 days, 23:19, 1 user, load averages: 1.62, 1.40, 1.28

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.