mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2015-02-06, 00:00   #1
mnh001
 
Apr 2011

26 Posts
Default .dat file message

On quite a few numbers I've had YAFU quit prematurely after hours of comp time giving the message:

"A data file (.dat) exists in the current directory. It must either be removed or -R specified to resume nfs"

I've got nfs.dat, nfs.dat.p and siqs.dat in my folder.
Which one is the message talking about? And why does it need to be removed?

I've tried the -R but it just starts the factoring process back at the beginning. (I haven't let it run for
hours to get to the end again so I don't know if it actually works).
mnh001 is offline   Reply With Quote
Old 2015-02-06, 02:33   #2
Jayder
 
Jayder's Avatar
 
Dec 2012

2×139 Posts
Default

Are you using the factor() command and, once it has run through the ECM phase and started the NFS phase, it displays that message? When you say, "it just starts the factoring process back at the beginning," do you mean it starts the ECM phase again? Or that it starts NFS again?

If you would like to skip the ECM phase and if you have the proper nfs.dat file, you can use the command nfs() with -R to get right to the sieving. Make sure the .dat file is for the right number, though!
Jayder is offline   Reply With Quote
Old 2015-02-06, 03:36   #3
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

3,181 Posts
Default

Don't try to run multiple instances(numbers) of YAFU out of the same folder.
RichD is offline   Reply With Quote
Old 2015-02-06, 09:01   #4
mnh001
 
Apr 2011

26 Posts
Default

Yes, it starts the ecm phase at the beginning. Here's an example

Code:
>> factor(12710693802015129732806670153157372359641865100878367015320157510083298481757110424410992252489345221494526239631696738601746337)

fac: factoring 12710693802015129732806670153157372359641865100878367015320157510083298481757110424410992252489345221494526239631696738601746337
fac: using pretesting plan: normal
fac: using tune info for qs/gnfs crossover
div: primes less than 10000
rho: x^2 + 3, starting 1000 iterations on C128
rho: x^2 + 2, starting 1000 iterations on C128
rho: x^2 + 2, starting 1000 iterations on C121
rho: x^2 + 1, starting 1000 iterations on C121
pm1: starting B1 = 150K, B2 = gmp-ecm default on C121
ecm: 30/30 curves on C121, B1=2K, B2=gmp-ecm default
ecm: 74/74 curves on C121, B1=11K, B2=gmp-ecm default
ecm: 214/214 curves on C121, B1=50K, B2=gmp-ecm default, ETA: 1 sec
pm1: starting B1 = 3750K, B2 = gmp-ecm default on C121
ecm: 430/430 curves on C121, B1=250K, B2=gmp-ecm default, ETA: 2 sec
pm1: starting B1 = 15M, B2 = gmp-ecm default on C121
ecm: 904/904 curves on C121, B1=1M, B2=gmp-ecm default, ETA: 10 sec
ecm: 789/789 curves on C121, B1=3M, B2=gmp-ecm default, ETA: 26 sec
A data file (.dat) exists in the current directory.  It must either be removed or -R specified to resume nfs
Total factoring time = 30575.6719 seconds
And as I mentioned, I did try factor(#) -R and it just starts over at the top re-doing the ecm. And it is the only instance of yafu running.

When you say 'Make sure the .dat file is for the right number, though!' what does that mean? The .dat file exists in the folder from the first
instance of running yafu doesn't it? There's only one nfs.dat file (well, other than the nfs.dat.p, I don't know what that one is either).
Does the .dat file get re-created every time yafu is run?

Last fiddled with by mnh001 on 2015-02-06 at 09:37
mnh001 is offline   Reply With Quote
Old 2015-02-06, 12:14   #5
Wick
 
Nov 2012

23×32 Posts
Default

I usually add the -noecm switch too when I restart a job.
Wick is offline   Reply With Quote
Old 2015-02-06, 17:01   #6
chris2be8
 
chris2be8's Avatar
 
Sep 2009

22·487 Posts
Default

If you factor a number with yafu it will leave a siqs.dat file in the directory where you ran it if it used QS to factor the number (or nfs.dat and nfs.dat.p if it used NFS). You need to delete them before you start factoring another number in the same directory.

Chris
chris2be8 is offline   Reply With Quote
Old 2015-02-06, 23:22   #7
mnh001
 
Apr 2011

26 Posts
Default

Ah, ok. So get rid of all 3 files when starting a new number Got it. Thanks a bunch.
mnh001 is offline   Reply With Quote
Old 2015-02-07, 07:37   #8
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100011110111112 Posts
Default

When a program is confused about .dat file, always check for if .dis file has not been accidentally deleted. -- True dat! ^_^
Batalov is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Log Out Message storm5510 Forum Feedback 3 2009-08-15 07:11
error message help? AurKayne Hardware 3 2005-08-29 09:13
Oddball error message dans Software 4 2005-07-26 06:28
Error message... Xyzzy GMP-ECM 2 2005-03-04 20:17
Error message McBryce NFSNET Discussion 2 2003-07-07 11:35

All times are UTC. The time now is 06:31.

Sat Dec 5 06:31:46 UTC 2020 up 2 days, 2:43, 0 users, load averages: 1.94, 1.61, 1.58

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