mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2016-01-15, 22:56   #12
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

29·61 Posts
Default

Alternatively, post the file that ends in (probably) ".resume". Easiest way will be to zip it so you can attach it here. That's what gets messed up when you change the number of threads mid-sieve. I learned that the hard way.

It can be fixed so it's not running duplicate ranges.
wombatman is online now   Reply With Quote
Old 2016-01-15, 23:01   #13
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

I concur- changing the number of threads without manually altering the resume file confuses factmsieve, because it split ranges into 64 pieces but then only 8 of them were completed.
It's easier to let it finish than to hope you can deduce what ranges were skipped *and* the magic invocation to fill those ranges in a way faster than just letting the script limp to the finish line.
The "finish line" is not definite; the script sets a target number of relations somewhat lower than what usually works, as the cost to try to build a matrix a couple of times is generally lower than accidentally sieving way too long (and it's not obvious ahead of time exactly how many relations are needed, because an unpredictable number of duplicate relations are generated).
RichD observed that you have an unusual number of duplicate relations; the process naturally duplicates around 10-20% of the relations it finds, but can only make use of unduplicated relations. So, in a sense, 35% of the list you've found is discarded, and the process must run until it gets enough unduplicated relations. The thread-change likely produced the extra duplicates as a side effect; again, the only harm is a small delay.
A C130 on a desktop i7 would normally complete in 15-20 hrs; maybe yours will take 24 or so. Once a matrix builds, it should finish in an hour or so.
VBCurtis is offline   Reply With Quote
Old 2016-01-15, 23:23   #14
cimpresovec
 
Jan 2016

2×5 Posts
Default

Thanks for all the info. I'll let it continue tomorrow then, I don't want to fiddle with it anymore, might break it even more. I hope it will be able to finish the process.
cimpresovec is offline   Reply With Quote
Old 2016-01-15, 23:46   #15
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

24×211 Posts
Default

Once you get a matrix built, it will provide a running ETA for the linear algebra phase.

After that, it is only minutes to complete the SQRT phase. Hopefully the solution will be in the first few dependencies. Good luck!
RichD is offline   Reply With Quote
Old 2016-01-16, 16:28   #16
cimpresovec
 
Jan 2016

2×5 Posts
Default

I'm now at almost 16M unique relations but it still doesn't go into the final step. It's at 128.6% of the initial estimate. What is strange is that the log always says
Code:
filtering wants 1000000 more relations
It doesn't change. Can there also be a problem here?
Attached Files
File Type: zip example.zip (206.9 KB, 101 views)
cimpresovec is offline   Reply With Quote
Old 2016-01-16, 17:13   #17
chris2be8
 
chris2be8's Avatar
 
Sep 2009

2·1,039 Posts
Default

msieve always says "filtering wants 1000000 more relations" whenever is doesn't have enough relations. Ignore that.

A better clue is:
Code:
Sat Jan 16 17:08:20 2016  reduce to 3472844 relations and 4012010 ideals in 32 passes
That suggests you need 10-20% more relations. Once it says more relations than ideals you are probably within 10% of enough.

Chris
chris2be8 is offline   Reply With Quote
Old 2016-01-16, 23:35   #18
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

Quote:
Originally Posted by cimpresovec View Post
Thanks for the help. I'll wait if someone else can advise.
Check if your disk is full, btw.
Batalov is offline   Reply With Quote
Old 2016-01-17, 00:04   #19
cimpresovec
 
Jan 2016

2×5 Posts
Default

I just got to the point that I have the matrix. But it throws an error. Since I'm on Windows it can't find the /home/math/mpihost program. Here is the full error.
Code:
-> msieve -s .\.\example\example.dat -l .\.\example\example.log -i .\.\example\example.ini -nf .\.\example\example.fb -t
 8 -nc1
read 10M relations
read 20M relations
-> Running matrix solving step ...
-> mpirun -n 3 -hostfile /home/math/mpihosts ./msieve -s .\.\example\example.dat -l .\.\example\example.log -i .\.\examp
le\example.ini -nf .\.\example\example.fb -t 2 -nc2 3,1
Traceback (most recent call last):
  File ".\factmsievem.py", line 2110, in <module>
    ret = run_msieve('-t {0:d} -nc2'.format(LA_THREADS))
  File ".\factmsievem.py", line 398, in run_msieve
    ret = run_exe(MPI_RUN, args)
  File ".\factmsievem.py", line 357, in run_exe
    p = subprocess.Popen([ex] + args.split(' '), **al)
  File "C:\Python27\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
What is this mpihosts thing? What can I do?

EDIT 1:
It seams I have the script from some weird source. I tried to run just the last ./msieve part of the command above, but it crashes. So now I'm kinda stuck, if I try to use a different version of the factmsieve script, it deletes the data.

EDIT 2:
I have played around with it a bit, but can't get it to run, msieve gets some error that it can't find some relations. I have added the log.

EDIT 3:
By getting an recent "official" version of the script and with some tinkering, and copy pasting, I got the new script to use the old data and rerun the matrix building part. Now msieve crashes at another part.
Code:
-> msieve -s .\.\example\example.dat -l .\.\example\example.log -i .\.\example\example.ini -nf .\.\example\example.fb -t 4 -nc2
linear algebra completed 254 of 1887933 dimensions (0.0%, ETA 2h 3m)
Return value -1073740940. Terminating...
Here is the updated log. Now I really don't know anymore.
Attached Files
File Type: zip example.zip (227.2 KB, 114 views)

Last fiddled with by cimpresovec on 2016-01-17 at 00:49
cimpresovec is offline   Reply With Quote
Old 2016-01-17, 01:30   #20
cimpresovec
 
Jan 2016

128 Posts
Default

New post since I can't edit anymore.
I searched around and found a 64bit version of msieve from wombatman and tried again after getting it to run. It's now past the previous error step and working. I'll run this through tomorrow, it's already too late.
cimpresovec is offline   Reply With Quote
Old 2016-01-17, 12:37   #21
cimpresovec
 
Jan 2016

2·5 Posts
Default

I have managed to factor the number and have reported them to factordb. The final report says 60 hours, but that's probably wrong. Thanks for the help everyone. I'll now try to use this to decrypt the files, hopefully it will work.
cimpresovec is offline   Reply With Quote
Old 2016-01-17, 15:58   #22
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

29×61 Posts
Default

Congrats! Glad it worked out in the end.
wombatman is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Announcement: New server coming online (estimated 2017-08-11) Madpoo PrimeNet 43 2017-09-06 04:19
Question about Estimated Days to Complete Mark Rose GPU to 72 5 2013-10-04 06:12
Estimated completion dates Yura Software 3 2012-11-13 19:45
ECM Takes far longer than estimated time Rhyled PrimeNet 31 2011-02-06 16:46
More relations mean many more relations wanted fivemack Factoring 7 2007-08-04 17:32

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


Sat Jul 17 01:04:01 UTC 2021 up 49 days, 22:51, 1 user, load averages: 2.06, 1.67, 1.48

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.