![]() |
|
|
#1 |
|
Apr 2010
Over the rainbow
23·52·13 Posts |
Post any feedback, you know the drill
Code:
searching leading coefficients from 1 to 7443508 using GPU 0 (GeForce GTX 560) error (line 186): CUDA_ERROR_FILE_NOT_FOUND Msieve Error: return value -1. Is CUDA enabled? Terminating... WARNING: gnfs failed to find a factor. This really shouldn't happen. |
|
|
|
|
|
#2 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
The zip file has two .ptx files; the precompiled binary should read in stage1_core.ptx from the same directory, but for your card you should probably rename stage1_core_fermi.ptx so that it gets read instead. Does that change anything?
I should really make the build system compile both files and choose the correct one at runtime. |
|
|
|
|
|
#3 |
|
Apr 2010
Over the rainbow
1010001010002 Posts |
My bad, I forgot to copy the ptx. It's working now.
Last fiddled with by jasonp on 2012-02-03 at 22:38 Reason: Yay! |
|
|
|
|
|
#4 |
|
Sep 2008
Kansas
24×211 Posts |
I'm tracking down another problem (which may be posted in a different thread later) and came across this anomaly. I run poly select on an older PowerPC 32-bit system. Not good for anything except low level ECM and poly finding.
And also checking the MAKE process for msieve on said system. :-) This was generated for the remaining composite from 11^211-7^211 using v1.50. Code:
N 261975750276710823664375795494855610183438525059108945746163526602755873209839065561606521308453837409681403408384774129737507021172215241 SKEW 435308.50 R0 -272557679420217265085741558 R1 1077294171599227 A0 -440522390137732549472016061469025 A1 10983825791577845860011027220 A2 -29479481793724932253703 A3 -342245302039949762 A4 62223473682 A5 174168 Code:
N 261975750276710823664375795494855610183438525059108945746163526602755873209839065561606521308453837409681403408384774129737507021172215241 SKEW 379123.26 R0 -272541785044793789287822496 R1 2283795032998967 A0 593593115511257917997312038890015 A1 -32945875798453634311839156 A2 -38386335943043264175359 A3 -75905349610538410 A4 362604942214 A5 174216 |
|
|
|
|
|
#5 | |
|
May 2008
3×5×73 Posts |
Quote:
Two things changed between 1.49 and 1.50 that would result in different polynomials being generated. - the degree 5 root sieve had a fix that allows it to produce polynomials with better root properties relative to 1.49. - the way some internal parameters are chosen for the collision search were modified. These two things mean you will likely get different (and hopefully better) polynomials with 1.50. Btw, your first polynomial (from 1.50) scores slightly higher with a murphy score of 2.813e-11 while the second one scores 2.660e-11. I would sieve with the first one. For a job this small, it is probably not worth doing any trial-sieving to find which one will perform better in practice since it will not take very long to sieve anyway. Last fiddled with by jrk on 2012-03-23 at 00:15 Reason: explain |
|
|
|
|
|
|
#6 |
|
Sep 2008
Kansas
24×211 Posts |
Ah, the infamous Murphy score. I thought there was an inverse correlation between "him" and the SKEW. Meaning, I thought the lower the skew the better.
I'm mostly done sieving and I'm trying not to post a noob question in GNFS. Thanks for the heads up. BTW, how is that Murphy score calculated? |
|
|
|
|
|
#7 |
|
May 2008
109510 Posts |
The skew is optimized for each polynomial generated, and a larger or smaller skew doesn't imply that a polynomial will be better or worse. Aside from sieving, the most accurate way we have for ranking polynomials is to compare their Murphy scores.
The Murphy score is written to the msieve.log file during polynomial selection. I found the scores by running msieve -nc once with each of your polynomials in the msieve.fb file. Last fiddled with by jrk on 2012-03-23 at 00:53 |
|
|
|
|
|
#8 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
On the off-chance you meant 'what is the algorithm for calculating the Murphy score': I'm afraid the answer isn't simple. In practice we do a numerical integration across the sieving region, where the integrand is a product involving Dickman's function. The Murphy score is the probability that an 'average' relation has only small factors, and this is what Dickman's function measures.
There is no direct relationship between larger skew and better Murphy score, but a larger skew often means a larger search space for a better alpha score, and a better alpha score means the input to Dickman's function is smaller, so the Murphy score would improve. Thanks for testing the build on PowerPC BTW; I have both 32-bit and 64-bit PowerPC systems but it isn't worth even turning them on |
|
|
|
|
|
#9 | |
|
Nov 2010
2·52 Posts |
Hi! I'm trying to play with the CUDA polynomial selection on my MBP with modest GT 330M and I get
Quote:
So, what kind of resources that GT 330M lacks does msieve use for CUDA polynomial selection and is there any way to make it work on my MPB? Btw, jasonp, why CUDA and not OpenCL? Or is it NVIDIA sponsored project?
|
|
|
|
|
|
|
#10 | |
|
May 2008
3×5×73 Posts |
Quote:
|
|
|
|
|
|
|
#11 | |
|
Tribal Bullet
Oct 2004
3,541 Posts |
Quote:
Modern versions of the polynomial selector spend most of their time sorting arrays of integers, so there's less need for multiple precision arithmetic. Maybe someday, and if jrk wanted to have a go at it then he's welcome to, but I don't have the time anymore. (Regarding your specific problem, the polynomial selector needs very little memory and should be able to adapt to cards with few compute units, so it's puzzling to run out of resources) Last fiddled with by jasonp on 2012-03-29 at 17:16 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msieve 1.53 feedback | xilman | Msieve | 149 | 2018-11-12 06:37 |
| Msieve v1.48 feedback | Jeff Gilchrist | Msieve | 48 | 2011-06-10 18:18 |
| 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 |