mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-02-08, 02:03   #1
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Exclamation Msieve 1.44 feedback

Quote:
Originally Posted by jasonp View Post
Now available at sourceforge. This includes a merge of the GPU code into mainline, as well as GPU and non-GPU windows binaries.

Happy factoring,
jasonp
Running msieve 1.44 on 4 cores of a 8-core RedHat Linux box went very smoothly. The only problem is that no factors were recorded anywhere I can see. Certainly not on the screen output and they don't appear to be in either of the log files (which are attached).

Anyone have any ideas?

Looks to me like the sqrt failed silently but that's a wild guess at best.

Paul

P.S. All the available files are preserved, just in case, but at 1.7Gbyte it's unlikely that anyone will want to take a detailed look at them.
Attached Files
File Type: zip logs.zip (10.3 KB, 144 views)

Last fiddled with by xilman on 2010-02-08 at 02:05 Reason: Add P.S.
xilman is offline   Reply With Quote
Old 2010-02-08, 02:10   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by xilman View Post
Running msieve 1.44 on 4 cores of a 8-core RedHat Linux box went very smoothly. The only problem is that no factors were recorded anywhere I can see. Certainly not on the screen output and they don't appear to be in either of the log files (which are attached).

Anyone have any ideas?

Looks to me like the sqrt failed silently but that's a wild guess at best.

Paul

P.S. All the available files are preserved, just in case, but at 1.7Gbyte it's unlikely that anyone will want to take a detailed look at them.
One idea: does anyone have code to convert msieve's .dat file into CWI-format relations?

If so, I could use the CWI toolkit to complete the factorization. Seems a shame to let the sieving go to waste.


Paul
xilman is offline   Reply With Quote
Old 2010-02-08, 02:23   #3
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by xilman View Post
Looks to me like the sqrt failed silently but that's a wild guess at best.
Yup, that was it. Running a sqrt interactively produced:
Code:


[pcl@maat example]$ "..//msieve" -s c12_157.dat -l ggnfs.log -i c12_157.ini -nf c12_157.fb -t 4 -nc3


Msieve v. 1.44
Mon Feb  8 02:14:19 2010
random seeds: cbd55578 7eb82c39
factoring 8028909702551763295176249947317408338149202590221234911329182732937136650241291109745914860307106279676737633899892269769090620267138886704570188077187628121 (157 digits)
no P-1/P+1/ECM available, skipping
commencing number field sieve (157-digit input)
R0: -34182189187166852111368841966125056
R1:  1
A0:  1728
A1:  0
A2:  0
A3:  0
A4:  0
A5:  157
skew 1.00, size 2.605451e-12, alpha -0.575580, combined = 1.446413e-10

commencing square root phase
reading relations for dependency 1
read 539594 cycles
cycles contain 1808664 unique relations
read 1808664 relations
multiplying 1808664 relations
multiply complete, coefficients have about 53.48 million bits
initial square root is modulo 47617231
Segmentation fault
[pcl@maat example]$
Ho hum. A debugging we will go.
xilman is offline   Reply With Quote
Old 2010-02-08, 03:12   #4
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

I would try
../msieve -s c12_157.dat -l ggnfs.log -i c12_157.ini -nf c12_157.fb -t 4 -nc3 2,12
if it fails
../msieve -s c12_157.dat -l ggnfs.log -i c12_157.ini -nf c12_157.fb -t 4 -nc3 3,13
etc...
Maybe it was an isolated incident. If so, later we could debug that first dependency.
Batalov is offline   Reply With Quote
Old 2010-02-08, 03:42   #5
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

354110 Posts
Default

Bsquared had a similar segfault in the square root, and sent me a GDB trace ages ago. Will look into it soon.

Last fiddled with by jasonp on 2010-02-08 at 03:44
jasonp is offline   Reply With Quote
Old 2010-02-08, 04:02   #6
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by xilman View Post
One idea: does anyone have code to convert msieve's .dat file into CWI-format relations?

If so, I could use the CWI toolkit to complete the factorization. Seems a shame to let the sieving go to waste.


Paul
I'm sure there's such a utility out there, though I don't think there's any distributed publicly. Probably somebody on the forum could get one for you. However, since this incident seems to be unique to msieve 1.44, you might try swapping it out for a 1.43 or earlier binary and rerunning -nc3. I imagine that would finish up the job quite nicely.
mdettweiler is offline   Reply With Quote
Old 2010-02-08, 07:46   #7
Joshua2
 
Joshua2's Avatar
 
Sep 2004

10000101012 Posts
Default

Could u make an easy way to distribute poly finding? i might be easy already, but if you could tell it what percentage of the poly finding you wanted to do or something then we could have different people doing gpu searches at once without any duplication. or can u just do np and there is already little chance of dupes like ecm? or is that what the option to set coefficients is? problem with that option is I have no clue on coefficients what to pick. Thanks man!
ps I got ride of those weird cuda errors by doing windows updates or something.
Joshua2 is offline   Reply With Quote
Old 2010-02-08, 08:27   #8
jrk
 
jrk's Avatar
 
May 2008

44716 Posts
Default

Quote:
Originally Posted by Joshua2 View Post
Could u make an easy way to distribute poly finding? i might be easy already, but if you could tell it what percentage of the poly finding you wanted to do or something then we could have different people doing gpu searches at once without any duplication. or can u just do np and there is already little chance of dupes like ecm? or is that what the option to set coefficients is? problem with that option is I have no clue on coefficients what to pick. Thanks man!
For large inputs, specifying different ranges for the np parameter is probably OK for now. For small inputs (like the c125 you are doing in the aliquot thread), the selection will need so little time that it is probably not worth separating it on multiple machines, but you can still use np to do it.

There's been a few ideas thrown around for doing something different, but nothing conclusive yet.
jrk is offline   Reply With Quote
Old 2010-02-08, 08:33   #9
Joshua2
 
Joshua2's Avatar
 
Sep 2004

21516 Posts
Default

thx! does it damage the search to run einstein@home cuda at the same time? Everything seems to be ok doing it, but I can't tell how much they slow each other down. things still seem to spitting out pretty fast, and Einstein uses mostly cpu. i guess i should be fine? i've run folding@home with einstein and had no problems

Last fiddled with by Joshua2 on 2010-02-08 at 08:50
Joshua2 is offline   Reply With Quote
Old 2010-02-08, 09:05   #10
Joshua2
 
Joshua2's Avatar
 
Sep 2004

10258 Posts
Default

i found some people saying u can test gpu load with gpu-z, but its showing up as 0%. I have an OC GTX 275, maybe its just really powerful for the task?
Joshua2 is offline   Reply With Quote
Old 2010-02-08, 11:03   #11
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

1101110101012 Posts
Default

Any program that uses the GPU gets the entire GPU when it runs, so if two programs want to run then each will take half the time available on the GPU.

The next generation of GPUs from Nvidia will allow multiple sets of kernels to be executing on the card at the same time, if multiple kernels will all fit on the card at once. Of course msieve will take up the whole thing by default :)
jasonp is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve 1.53 feedback xilman Msieve 149 2018-11-12 06:37
Msieve 1.50 feedback firejuggler Msieve 99 2013-02-17 11:53
Msieve 1.43 feedback Jeff Gilchrist Msieve 47 2009-11-24 15:53
Msieve 1.42 feedback Andi47 Msieve 167 2009-10-18 19:37
Msieve 1.41 Feedback Batalov Msieve 130 2009-06-09 16:01

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


Sat Jul 17 00:47:55 UTC 2021 up 49 days, 22:35, 1 user, load averages: 2.19, 1.60, 1.42

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.