![]() |
[QUOTE=ThomRuley;213066]_
_______________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.[COLOR="Red"]63[/COLOR], dated 30th March 2010. | -> |______________________________________________________________| [/QUOTE] Your Version is not up to date - 0.67 is the last one. Regards Andi_HB |
[QUOTE=alexhiggins732;211780]Edit: By useless, since def-nm-params.txt file only contains parameters up to 155, your saying there is no way to find the polynomial.[/QUOTE]
No, simply that you need to start off by finding good parameters for the polynomial search before setting off to find the polynomial. It's not that difficult, since pol51m0b/pol51opt is a two-step process; find a bound for 51m0b that produces about one polynomial a minute, then one for pol51opt that takes about a minute to optimise a polynomial. (unfortunately pol51opt takes a very broadly-distributed time to optimise polynomials - some take a second, some take an hour - so you need quite long runs to get a decent parameter choice; though the maximum seems reasonably broad) |
[QUOTE=Brian Gladman;213075]It looks like there is an error in the example.poly file as it cannot read the M value. Can you post its content?[/QUOTE]
n: 2881039827457895971881627053137530734638790825166127496066674320241571446494762386620442953820735453 |
[QUOTE=Andi_HB;213081]Your Version is not up to date - 0.67 is the last one.
Regards Andi_HB[/QUOTE] Fair enough. Where would I find the latest version? |
[quote=ThomRuley;213087]Fair enough. Where would I find the latest version?[/quote]
[URL]http://gladman.plushost.co.uk/oldsite/computing/factoring.php[/URL] [URL]http://gladman.plushost.co.uk/oldsite/computing/factmsieve.py.zip[/URL] And if still Brian Gladman would correct the profile, but finds a way on its new page will be all. [B]factmsieve.py [COLOR=Red]example (?????????????)[/COLOR][/B] [COLOR=Red][B]Simply attentively look that you you start![/B][/COLOR] [code]homes102:/home/factorization/ggnfs/trunk/tests/test_test# ../factmsieve.py example -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.67, dated 10th April 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 2 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! Cannot find example.poly siever terminated homes102:/home/factorization/ggnfs/trunk/tests/test_test# [/code][B]factmsieve.py [COLOR=Red]example.n[/COLOR][/B] Without a file [B][COLOR=Red]example.poly[/COLOR][/B] [code]homes102:/home/factorization/ggnfs/trunk/tests/test_test# ../factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.67, dated 10th April 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 2 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! -> Found n = 2881039827457895971881627053137530734638790825166127496066674320241571446494762386620442953820735453. -> Running polynomial selection ... -> Selected default polsel parameters for 100 digit level. -> Selected default factorization parameters for 100 digit level. -> Selected lattice siever: gnfs-lasieve4I12e -> Searching leading coefficients from 1 to 1000 -> pol51m0b -b example.polselhomes102.28245 -v -v -p 4 -n 5.56e+14 -a 0 -A 1> example.polselhomes102.28245.log -> pol51opt -b example.polselhomes102.28245 -v -v -n 2.86e+13 -N 3.56e+11 -e 2.8e-09>> example.polselhomes102.28245.log appending example.polselhomes102.28245.51.m to example.polsel.51.m.all appending example.polselhomes102.28245.cand to example.polsel.cand.all -> ===================================================== -> Best score so far: 0 (good_score=2.8e-09) -> ===================================================== -> Searching leading coefficients from 1001 to 2000 -> pol51m0b -b example.polselhomes102.28245 -v -v -p 4 -n 5.56e+14 -a 1 -A 2> example.polselhomes102.28245.log -> pol51opt -b example.polselhomes102.28245 -v -v -n 2.86e+13 -N 3.56e+11 -e 2.8e-09>> example.polselhomes102.28245.log ^CTerminated on example.polselhomes102.28245 by SIGINT siever terminated [/code]In the presence of a file [B][COLOR=Red]example.poly[/COLOR][/B] [code]homes102:/home/factorization/ggnfs/trunk/tests/test_test# ../factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.67, dated 10th April 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 2 threads -> Working with NAME = example -> Selected default factorization parameters for 100 digit level. -> Selected lattice siever: gnfs-lasieve4I12e -> Creating param file to detect parameter changes... -> Running setup ... -> Estimated minimum relations needed: 4.095e+06 -> cleaning up before a restart -> Running lattice siever ... -> entering sieving loop -> making sieve job for q = 900000 in 900000 .. 1300000 as file example.job.T0 -> making sieve job for q = 1300000 in 1300000 .. 1700000 as file example.job.T1 -> Lattice sieving algebraic q from 900000 to 1700000. -> gnfs-lasieve4I12e -k -o spairs.out.T0 -v -n0 -a example.job.T0 -> gnfs-lasieve4I12e -k -o spairs.out.T1 -v -n1 -a example.job.T1 [/code] |
I used miklin's suggestions and got the following error message:
C:\GGNFS\example>factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.63, dated 30th March 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 1 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! -> Found n = 2881039827457895971881627053137530734638790825166127496066674320241 571446494762386620442953820735453. -> Running polynomial selection ... -> msieve -s .\example.dat -l .\example.log -i .\example.ini -nf .\example.fb -v -np Traceback (most recent call last): File "C:\GGNFS\example\factmsieve.py", line 1973, in <module> run_msieve_poly(fact_p) File "C:\GGNFS\example\factmsieve.py", line 907, in run_msieve_poly elif run_msieve('-v -np'): File "C:\GGNFS\example\factmsieve.py", line 330, in run_msieve ret = run_exe(MSIEVE, args + ap) File "C:\GGNFS\example\factmsieve.py", line 302, in run_exe p = subprocess.Popen([ex] + args.split(' '), **al) File "C:\Python26\lib\subprocess.py", line 633, in __init__ errread, errwrite) File "C:\Python26\lib\subprocess.py", line 842, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified siever terminated C:\GGNFS\example> At least I'm getting something new in terms of error messages. About the poly file. What exactly should I put in the file? |
[quote=ThomRuley;213109]I used miklin's suggestions and got the following error message:
C:\GGNFS\example>factmsieve.py example.n -> At least I'm getting something new in terms of error messages. About the poly file. What exactly should I put in the file?[/quote] [B]The first time I did here with such options of a script[/B] # Set the number of CPU's and threads NUM_CPUS = 2 NUM_THREADS = NUM_CPUS #USE_CUDA = True [COLOR=DarkRed][B]USE_CUDA = False[/B][/COLOR] GPU_NUM = 0 # Set global flags to control operation CHECK_BINARIES = True CHECK_POLY = True CLEANUP = False DOCLASSICAL = False NO_DEF_NM_PARAM = False PROMPTS = False SAVEPAIRS = True #USE_KLEINJUNG_FRANKE_PS = False #USE_MSIEVE_POLY = True [COLOR=DarkRed][B]USE_KLEINJUNG_FRANKE_PS = True USE_MSIEVE_POLY = False[/B][/COLOR] VERBOSE = True # End of configuration options [B]And here if to change parametres and to make them as at you. You should receive here it![/B] [COLOR=Black][B][COLOR=Red]USE_KLEINJUNG_FRANKE_PS = False USE_MSIEVE_POLY = True[/COLOR][/B] [/COLOR] [COLOR=Black]#USE_KLEINJUNG_FRANKE_PS = True #USE_MSIEVE_POLY = False[/COLOR] [code]homes102:/home/factorization/ggnfs/trunk/tests/test_test# ../factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.67, dated 10th April 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 2 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! -> Found n = 2881039827457895971881627053137530734638790825166127496066674320241571446494762386620442953820735453. -> Running polynomial selection ... -> ./msieve -s ../tests/test_test/example.dat -l ../tests/test_test/example.log -i ../tests/test_test/example.ini -nf ../tests/test_test/example.fb -v -np Msieve v. 1.46 Sun Apr 25 18:57:30 2010 random seeds: 9e5edb40 ca9767e1 factoring 2881039827457895971881627053137530734638790825166127496066674320241571446494762386620442953820735453 (100 digits) searching for 15-digit factors commencing number field sieve (100-digit input) commencing number field sieve polynomial selection time limit set to 0.35 hours searching leading coefficients from 1 to 6474027 deadline: 5 seconds per coefficient coeff 60-60 7098066 7807872 7807873 8588660 ------- 7098066-7807872 7807873-8588660 poly 0 p 7596241 q 7827803 coeff 59461878088523 coeff 120-120 7412324 8153556 8153557 8968912 ------- 7412324-8153556 8153557-8968912 poly 0 p 7659929 q 8204179 coeff 62843428643291 poly 0 p 7862329 q 8245313 coeff 64827363513977 ^CSignal caught. Terminating... siever terminated [/code][B]P.S Well it is a fantasy. Check up ways to programs in your case check up a way and presence [COLOR=Red]msieve[/COLOR]. And also whether check up enough at you places on HDD. P.SS Fur-trees, sticks. Indeed. The guy. At you the script does not find the program [COLOR=Red]msieve[/COLOR]. It at you in general is??? [/B][code]homes102:/home/factorization/ggnfs/trunk/tests/test_test# ../factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.67, dated 10th April 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 2 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! -> Found n = 2881039827457895971881627053137530734638790825166127496066674320241571446494762386620442953820735453. -> Running polynomial selection ... -> ./msieve -s ../tests/test_test/example.dat -l ../tests/test_test/example.log -i ../tests/test_test/example.ini -nf ../tests/test_test/example.fb -v -np Traceback (most recent call last): File "../factmsieve.py", line 1993, in <module> run_msieve_poly(fact_p) File "../factmsieve.py", line 925, in run_msieve_poly elif run_msieve('-v -np'): File "../factmsieve.py", line 348, in run_msieve ret = run_exe(MSIEVE, args + ap) File "../factmsieve.py", line 320, in run_exe p = subprocess.Popen([ex] + args.split(' '), **al) File "/usr/local/lib/python2.7/subprocess.py", line 683, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1198, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory siever terminated [/code] [B]P.SSS You need to read here it, differently at you so it to turn out nothing.[/B] [url]http://gilchrist.ca/jeff/factoring/nfs_beginners_guide.html[/url] |
I just tried what I understood Miklin's suggestions to be, and got a completely new error message:
C:\GGNFS\example>factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.63, dated 30th March 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 1 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! -> Found n = 2881039827457895971881627053137530734638790825166127496066674320241 571446494762386620442953820735453. -> Running polynomial selection ... -> Selected default polsel parameters for 100 digit level. -> Selected default factorization parameters for 100 digit level. -> Selected lattice siever: gnfs-lasieve4I12e -> Searching leading coefficients from 1 to 1000 -> pol51m0b -b example.polselyour-e7ndl1jv3j.564 -v -v -p 4 -n 5.56e+14 -a 0 -A 1> example.polselyour-e7ndl1jv3j.564.log Traceback (most recent call last): File "C:\GGNFS\example\factmsieve.py", line 1971, in <module> run_pol5(fact_p, pol5_p, lats_p, clas_p) File "C:\GGNFS\example\factmsieve.py", line 644, in run_pol5 if not run_exe(POL51M0, args, out_file = pname + '.log'): File "C:\GGNFS\example\factmsieve.py", line 302, in run_exe p = subprocess.Popen([ex] + args.split(' '), **al) File "C:\Python26\lib\subprocess.py", line 633, in __init__ errread, errwrite) File "C:\Python26\lib\subprocess.py", line 842, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified siever terminated C:\GGNFS\example> What does that mean? |
[quote=ThomRuley;213137]I just tried what I understood Miklin's suggestions to be, and got a completely new error message:
C:\GGNFS\example>factmsieve.py example.n -> ________________________________________________________________ -> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS | -> | sieving support. It is Copyright, 2010, Brian Gladman and is | -> | a conversion of factmsieve.pl that is Copyright, 2004, Chris | -> | Monico. This is version 0.63, dated 30th March 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 1 threads -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! -> Found n = 2881039827457895971881627053137530734638790825166127496066674320241 571446494762386620442953820735453. -> Running polynomial selection ... -> Selected default polsel parameters for 100 digit level. -> Selected default factorization parameters for 100 digit level. -> Selected lattice siever: gnfs-lasieve4I12e -> Searching leading coefficients from 1 to 1000 -> pol51m0b -b example.polselyour-e7ndl1jv3j.564 -v -v -p 4 -n 5.56e+14 -a 0 -A 1> example.polselyour-e7ndl1jv3j.564.log Traceback (most recent call last): File "C:\GGNFS\example\factmsieve.py", line 1971, in <module> run_pol5(fact_p, pol5_p, lats_p, clas_p) File "C:\GGNFS\example\factmsieve.py", line 644, in run_pol5 if not run_exe(POL51M0, args, out_file = pname + '.log'): File "C:\GGNFS\example\factmsieve.py", line 302, in run_exe p = subprocess.Popen([ex] + args.split(' '), **al) File "C:\Python26\lib\subprocess.py", line 633, in __init__ errread, errwrite) File "C:\Python26\lib\subprocess.py", line 842, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified siever terminated C:\GGNFS\example> What does that mean?[/quote] Means it literally too most that I wrote to you above. |
It seems that the script cannot find MSIEVE. Did you set the paths correctly in your version of the script?
For example, my paths are: GGNFS_PATH = '../../bin/x64/Release/' MSIEVE_PATH = '../../../msieve/build.vc9/x64/Release/' but you will need to set these so that the script can find your executable files Brian |
[quote=Brian Gladman;213141]It seems that the script cannot find MSIEVE. Did you set the paths correctly in your version of the script?
For example, my paths are: GGNFS_PATH = '../../bin/x64/Release/' MSIEVE_PATH = '../../../msieve/build.vc9/x64/Release/' but you will need to set these so that the script can find your executable files Brian[/quote] I so think that it is necessary to add simply check presence of programs in the ways specified by the user. If all normally to continue that script work if there is no that to give out an error message. |
| All times are UTC. The time now is 22:51. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.