![]() |
|
|
#1 |
|
Jan 2015
22×7 Posts |
In fact, I have only just started using yafu yesterday and gotten factmsieve.py this morning.
I keep getting this error with factmsieve D:\Programming\ggnfs\example>..\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. Version 0.76 (Python 2.6 or later) 10th Nov 2010. | -> |______________________________________________________________| -> This is client 1 of 1 -> Running on 1 Core with 1 hyper-thread per Core -> Working with NAME = example -> Error: Polynomial file example.poly does not exist! Cannot find example.poly I think the code is supposed to go find a polynomial if they can't find example.poly, but it's not doing that. Here are my factmsieve settings. # Set binary directory paths GGNFS_PATH = '../' MSIEVE_PATH = '../' # Set the number of CPU cores and threads NUM_CORES = 1 THREADS_PER_CORE = 1 # number of siever threads to launch SV_THREADS = NUM_CORES * THREADS_PER_CORE # number of linear algebra threads to launch LA_THREADS = NUM_CORES * THREADS_PER_CORE USE_CUDA = False GPU_NUM = 0 MSIEVE_POLY_TIME_LIMIT = 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 VERBOSE = True Any help (or pointing out any dumb thing I missed) will be much appreciated. Thanks EDIT: Is running factmsieve with Python 3.4 the problem? Because I'm not sure how I'm getting to get Python 2 on here if that is the problem. Last fiddled with by Hailstone on 2015-01-07 at 05:30 |
|
|
|
|
|
#2 |
|
I moo ablest echo power!
May 2013
29×61 Posts |
Do you have a file "example.n" with the number to factor in it?
|
|
|
|
|
|
#3 |
|
Jan 2015
111002 Posts |
Yup. It's in the folder, D:\Programming\ggnfs\example
All it has in the file is n: 153144849636718645654594120109766209880766259702935357348877087464033050795073126637167158982337611 Hm. I've actually factored it with yafu since then. I'll put in another number to test later. Last fiddled with by Hailstone on 2015-01-07 at 06:54 |
|
|
|
|
|
#4 |
|
I moo ablest echo power!
May 2013
110111010012 Posts |
Just to check, are you using this guide?: http://gilchrist.ca/jeff/factoring/n...ers_guide.html
|
|
|
|
|
|
#5 |
|
Jan 2015
22×7 Posts |
Yep. The ggnfs folder has all the files in that tutorial (including some .MPIR files, factmsievempi.py that I found in another thread (didn't work, same error) and something called matbuild-tpie.exe)
I'm running the code from CMD. Did I miss a step? I can put all the files in a zip and upload them if that would help. |
|
|
|
|
|
#6 |
|
I moo ablest echo power!
May 2013
176910 Posts |
I just double-checked with both MinGW and CMD, and I was able to start factmsieve up fine using Python V3.3, so I don't think that's it. The best guess I have right now is that the example.n file is saved as example.n.txt. If it has the .txt extension, it won't work.
To check, click on the header of the file system window and press Alt. Then go to Tools > Folder Options. In the View tab, make sure "Hide Extensions for known file types" is NOT checked. That way you can see the full filename with its extension. Can you check and see if having ".txt" is the issue? |
|
|
|
|
|
#7 |
|
Jan 2015
22×7 Posts |
Aha! It is a .txt. Thanks!
Now, I have to figure out how to change the extension... |
|
|
|
|
|
#8 |
|
Jan 2015
22·7 Posts |
Oh, and while I have you here, can I ask about a yafu problem?
I'm getting this error when the program wants to start lattice sieving. hashtable: 1024 entries, 0.02 MB elapsed time of 1055.2720 seconds exceeds 546 second deadline; poly select done nfs: commencing algebraic side lattice sieving over range: 880000 - 890000 nfs: commencing algebraic side lattice sieving over range: 870000 - 880000 '..' is not recognized as an internal or external command, operable program or batch file. '..' is not recognized as an internal or external command, operable program or batch file. nfs: could not open output file, possibly bad path to siever nfs: could not open output file, possibly bad path to siever fopen error: No such file or directory could not open rels0.dat for reading Do you have any idea what's going on? Should I post this to the yafu board instead? |
|
|
|
|
|
#9 |
|
I moo ablest echo power!
May 2013
29·61 Posts |
To change the extension, just click on it like you would to change the filename. The only difference is that now you can change the extension as well (since you can actually see it). It'll throw a cautionary message up about how changing the extension can potentially mess things up (which is true), but you're fine to change this one.
As for YAFU, I would guess something's not set right in the .ini file, but yeah, you should post in the YAFU subforum to catch the attention of people who know better than I, like the programmer of YAFU himself
Last fiddled with by wombatman on 2015-01-08 at 03:28 |
|
|
|
|
|
#10 |
|
Jan 2015
22×7 Posts |
Alright, thank you very much. It is now working perfectly. Have a nice day
|
|
|
|
|
|
#11 |
|
I moo ablest echo power!
May 2013
29×61 Posts |
You as well! Welcome aboard!
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| factmsieve.py Questions | EdH | Msieve | 3 | 2016-11-22 17:47 |
| Error while running factmsieve.py | Romuald | Msieve | 0 | 2016-08-05 08:06 |
| I am new Running Factmsieve i am Stuck please help | zukhruf | Msieve | 2 | 2015-11-25 12:58 |
| Finding factmsieve.py | ThomRuley | Msieve | 2 | 2015-06-27 04:23 |
| Factmsieve.py acting strange | ThomRuley | Msieve | 11 | 2013-11-26 02:38 |