mersenneforum.org > YAFU I'm getting an error when yafu wants to start lattice sieving
 Register FAQ Search Today's Posts Mark Forums Read

2015-01-08, 07:18   #12
bsquared

"Ben"
Feb 2007

2·32·191 Posts

Quote:
 Originally Posted by Hailstone Wow. Thanks for all the replies everyone. I think specifying the exact filepath worked for me, but I'll try a relative filepath with the next factoring job. Is there any way to get yafu (or msieve, I'm not picky) to factor a list of numbers (one at a time). And does running multiple instances of either program mess things up for those instances? I'm trying to run home prime sequences base 12 and I have quite a few sequences to test. EDIT: Looking at the results of factor( *C104* ) -R, I think running multiple instances breaks it. Oy. Details of breaking: two instances trying to open rels0.dat at once
yafu has a batchfile input system. It looks like this:

Code:
yafu.exe "factor(@)" -batchfile worktodo.txt
Put the numbers or expressions (like 10^117+11) you want to work on in worktodo.txt (or any other name), one on each line. If you just want to run ecm or nfs then you can put that in place of "factor" in the command shown. You might want to keep a copy of your input file - yafu will delete lines from the file as it finishes them.

msieve also has a batchfile input. I believe you can just redirect a file to it.

Running multiple instances in the same folder is a bad idea, for either yafu or msieve . Use multiple folders.

cheers!

2015-01-08, 12:28   #13
LaurV
Romulan Interpreter

Jun 2011
Thailand

5×1,889 Posts

Quote:
 Originally Posted by bsquared 10^117+11
[nitpick]divisible by 3
(as it has 3 ones and lots of zeroes)
[/nitpick]

2015-01-08, 19:33   #14
VBCurtis

"Curtis"
Feb 2005
Riverside, CA

477910 Posts

Quote:
 Originally Posted by LaurV [nitpick]divisible by 3 (as it has 3 ones and lots of zeroes) [/nitpick]
And yafu would then factor the cofactor, right? So this input is legitimate?

2015-01-08, 20:58   #15
bsquared

"Ben"
Feb 2007

1101011011102 Posts

Quote:
 Originally Posted by VBCurtis And yafu would then factor the cofactor, right? So this input is legitimate?
Yes. It was just an example, any input on a line is run through the indicated function. LaurV is just being LaurV

 2015-01-09, 05:30 #16 LaurV Romulan Interpreter     Jun 2011 Thailand 5·1,889 Posts Hehe, exactly as BB said. I was just boasting my knowledge about divisibility by 3 in base 10, you know, adding all the digits, check if sum is divisible by 3... blah blah... (oh, I forgot about that icon...) Ț... ț... ț... ț... Last fiddled with by LaurV on 2015-01-09 at 05:31
 2015-01-11, 10:00 #17 Hailstone   Jan 2015 22·7 Posts This isn't a particularly big question, so I'll post it here. What happens at each successive -v? How many times can you type -v -v -v, etc before it stops having any effect?
 2015-01-11, 14:48 #18 jasonp Tribal Bullet     Oct 2004 67218 Posts For GMP-ECM, about 3.
2015-01-11, 18:42   #19
bsquared

"Ben"
Feb 2007

2·32·191 Posts

Quote:
 Originally Posted by Hailstone This isn't a particularly big question, so I'll post it here. What happens at each successive -v? How many times can you type -v -v -v, etc before it stops having any effect?
In yafu, it is different for different functions. Most functions have nothing higher than 1, some use 2 or 3, I know nothing goes higher than 3.

 2015-01-12, 02:24 #20 Hailstone   Jan 2015 22×7 Posts Alright. I'm mostly using factor() at the moment. How about that? Also, out of curiosity, how long, approximately, would testing ECM to t40 take?
2015-01-12, 02:30   #21
VBCurtis

"Curtis"
Feb 2005
Riverside, CA

34·59 Posts

Quote:
 Originally Posted by Hailstone Alright. I'm mostly using factor() at the moment. How about that? Also, out of curiosity, how long, approximately, would testing ECM to t40 take?
The time taken depends on the size of the input number. A t40 is 2300ish curves at B1 = 3e6, B2 default. So, you can time a single curve at 3e6 on your system, and extrapolate.

You can use the -v flag with ecm executable to see how many curves are needed to "complete" a level for any B1 you wish. Yafu uses the standard B1 values 250k, 1m, 3m, 11m, etc; but other choices are more efficient on some architectures (by 5 to 10%, not all that meaningful).

 2015-01-12, 13:28 #22 Hailstone   Jan 2015 22×7 Posts New YAFU error nfs: checking for job file - job file found, testing for matching input nfs: number in job file matches input nfs: checking for data file nfs: no data file found nfs: commencing nfs on c107: 469856446232013978367253986033967753119943490635204 13168428437176598568862206816570614917343800187684480511 nfs: parsed lpbr = 26, lpba = 26 nfs: continuing with sieving - could not determine last special q; using default startq nfs: commencing algebraic side lattice sieving over range: 1404000 - 1418000 nfs: commencing algebraic side lattice sieving over range: 1390000 - 1404000 '.\gnfs-lasieve4I12e.exe' is not recognized as an internal or external command, operable program or batch file. '.\gnfs-lasieve4I12e.exe' 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

 Similar Threads Thread Thread Starter Forum Replies Last Post paul0 Factoring 6 2015-11-20 21:12 paul0 Factoring 3 2015-03-09 13:54 JHansen NFSNET Discussion 9 2010-06-09 19:25 joral Factoring 5 2008-04-03 08:01 jasonp Factoring 16 2006-01-12 22:53

All times are UTC. The time now is 17:07.

Tue May 11 17:07:20 UTC 2021 up 33 days, 11:48, 1 user, load averages: 4.96, 4.18, 3.55