mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2015-01-07, 05:06   #1
Hailstone
 
Jan 2015

1C16 Posts
Default I am very new to factoring and factmsieve

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
Hailstone is offline   Reply With Quote
Old 2015-01-07, 05:44   #2
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,801 Posts
Default

Do you have a file "example.n" with the number to factor in it?
wombatman is offline   Reply With Quote
Old 2015-01-07, 06:40   #3
Hailstone
 
Jan 2015

22·7 Posts
Default

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
Hailstone is offline   Reply With Quote
Old 2015-01-07, 16:31   #4
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,801 Posts
Default

Just to check, are you using this guide?: http://gilchrist.ca/jeff/factoring/n...ers_guide.html
wombatman is offline   Reply With Quote
Old 2015-01-08, 02:37   #5
Hailstone
 
Jan 2015

2810 Posts
Default

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.
Hailstone is offline   Reply With Quote
Old 2015-01-08, 03:10   #6
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,801 Posts
Default

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?
wombatman is offline   Reply With Quote
Old 2015-01-08, 03:15   #7
Hailstone
 
Jan 2015

348 Posts
Default

Aha! It is a .txt. Thanks!

Now, I have to figure out how to change the extension...
Hailstone is offline   Reply With Quote
Old 2015-01-08, 03:17   #8
Hailstone
 
Jan 2015

22×7 Posts
Default

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?
Hailstone is offline   Reply With Quote
Old 2015-01-08, 03:28   #9
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

34118 Posts
Default

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
wombatman is offline   Reply With Quote
Old 2015-01-08, 03:29   #10
Hailstone
 
Jan 2015

22·7 Posts
Default

Alright, thank you very much. It is now working perfectly. Have a nice day
Hailstone is offline   Reply With Quote
Old 2015-01-08, 03:34   #11
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

111000010012 Posts
Default

You as well! Welcome aboard!
wombatman is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 14:49.


Fri Aug 19 14:49:15 UTC 2022 up 1 day, 12:17, 2 users, load averages: 1.28, 1.37, 1.49

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔