![]() |
Now it's giving me a whole lot of readouts like this one:
-> ===================================================== -> Best score so far: 3.31e-09 (good_score=2.8e-09) -> ===================================================== -> Searching leading coefficients from 79001 to 80000 -> pol51m0b -b example.polselyour-e7ndl1jv3j.3696 -v -v -p 4 -n 5.56e+14 -a 79 - A 80> example.polselyour-e7ndl1jv3j.3696.log -> pol51opt -b example.polselyour-e7ndl1jv3j.3696 -v -v -n 2.86e+13 -N 3.56e+11 -e 2.8e-09>> example.polselyour-e7ndl1jv3j.3696.log appending example.polselyour-e7ndl1jv3j.3696.51.m to example.polsel.51.m.all appending example.polselyour-e7ndl1jv3j.3696.cand to example.polsel.cand.all -> ===================================================== -> Best score so far: 3.31e-09 (good_score=2.8e-09) Is that good? |
Yes - that's now looking for polynomials.
Brian |
[quote=miklin;213144]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.[/quote]
It is already designed to do this when CHECK_BINARIES is set to True. I just checked this by deleting MSIEVE in my setup and it works fine for me. Brian |
Thanks for all your help guys, especially Miklin, Brian and andi.
|
[quote=Brian Gladman;213158]It is already designed to do this when CHECK_BINARIES is set to True.
I just checked this by deleting MSIEVE in my setup and it works fine for me. Brian[/quote] Here that at me it turns out with removed msieve On it also has written, it needs to be checked up. For me it not actually is this check or it is not present. But here is how time this case has shown that check does not work. # Set binary directory paths GGNFS_PATH = '../../bin/' MSIEVE_PATH = '../../bin/' # Set the number of CPU's and threads NUM_CPUS = 2 NUM_THREADS = NUM_CPUS #USE_CUDA = True USE_CUDA = False GPU_NUM = 0 # Set global flags to control operation [COLOR=Red][B]CHECK_BINARIES = True [/B][COLOR=Black]CHECK_POLY = True[/COLOR][/COLOR] CLEANUP = False DOCLASSICAL = False NO_DEF_NM_PARAM = False PROMPTS = False SAVEPAIRS = True USE_KLEINJUNG_FRANKE_PS = False USE_MSIEVE_POLY = True #USE_KLEINJUNG_FRANKE_PS = True #USE_MSIEVE_POLY = False VERBOSE = True # End of configuration options [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 homes102:/home/factorization/ggnfs/trunk/tests/test_test# [/code] |
This is a bug carried over from the original Perl script. It seems that some polynomial processing with msieve has been added before the binary checks are done.
I have revamped the binary checking in version 68 of the script that is now available at: [URL]http://www.gladman.plushost.co.uk/oldsite/computing/factmsieve.py.zip[/URL] This also includes a few other minor changes to ensure that the script exits gracefully under some obscure error conditions. It should also work with Python 2.6, 2.7 and 3.1 Brian |
[quote=Brian Gladman;213192]This is a bug carried over from the original Perl script. It seems that some polynomial processing with msieve has been added before the binary checks are done.
I have revamped the binary checking in version 68 of the script that is now available at: [URL]http://www.gladman.plushost.co.uk/oldsite/computing/factmsieve.py.zip[/URL] This also includes a few other minor changes to ensure that the script exits gracefully under some obscure error conditions. It should also work with Python 2.6, 2.7 and 3.1 Brian[/quote] Thanks a lot. I will try it soon. Regards |
Is it possible to sieve on both sides ( -a and -r) ?
Can i change -a to -r in the script (maybe in Line 655 from -a to -r) ? It would be a nice option to sieve on both sides automatically. Regards Andi_HB |
[quote=Brian Gladman;213192]This is a bug carried over from the original Perl script. It seems that some polynomial processing with msieve has been added before the binary checks are done.
I have revamped the binary checking in version 68 of the script that is now available at: [URL]http://www.gladman.plushost.co.uk/oldsite/computing/factmsieve.py.zip[/URL] This also includes a few other minor changes to ensure that the script exits gracefully under some obscure error conditions. It should also work with Python 2.6, 2.7 and 3.1 Brian[/quote] [COLOR=Black][B][COLOR=Red]USE_KLEINJUNG_FRANKE_PS = False USE_MSIEVE_POLY = True[/COLOR][/B][/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. Version 0.68 (Python 2.6 or later) 24th April 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Using 2 threads -> Working with NAME = example -> Could not find the program: ./msieve. -> Did you set the paths properly in this script? -> They are currently set to: -> GGNFS_BIN_PATH = ../../bin/ -> MSIEVE_BIN_PATH = ../../bin/ [/code] [COLOR=DarkRed][B]USE_KLEINJUNG_FRANKE_PS = True USE_MSIEVE_POLY = False[/B][/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. Version 0.68 (Python 2.6 or later) 24th 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 ... -> Could not find the program: pol51m0b. -> Did you set the paths properly in this script? -> They are currently set to: -> GGNFS_BIN_PATH = ../../bin/ -> MSIEVE_BIN_PATH = ../../bin/ [/code] |
So far, so good, but I did have one more question. How does one go about manually setting the polynomial for SNFS?
|
[quote=ThomRuley;213394]So far, so good, but I did have one more question. How does one go about manually setting the polynomial for SNFS?[/quote]
E.g. save the poly in example.poly and run "factmsieve.py example". |
| All times are UTC. The time now is 22:51. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.