mersenneforum.org > YAFU .dat file message
 Register FAQ Search Today's Posts Mark Forums Read

 2015-02-06, 00:00 #1 mnh001   Apr 2011 26 Posts .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).
 2015-02-06, 02:33 #2 Jayder     Dec 2012 1000101102 Posts 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!
 2015-02-06, 03:36 #3 RichD     Sep 2008 Kansas 3,181 Posts Don't try to run multiple instances(numbers) of YAFU out of the same folder.
 2015-02-06, 09:01 #4 mnh001   Apr 2011 26 Posts 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
 2015-02-06, 12:14 #5 Wick   Nov 2012 23×32 Posts I usually add the -noecm switch too when I restart a job.
 2015-02-06, 17:01 #6 chris2be8     Sep 2009 22×487 Posts 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
 2015-02-06, 23:22 #7 mnh001   Apr 2011 26 Posts Ah, ok. So get rid of all 3 files when starting a new number Got it. Thanks a bunch.
 2015-02-07, 07:37 #8 Batalov     "Serge" Mar 2008 Phi(4,2^7658614+1)/2 217378 Posts When a program is confused about .dat file, always check for if .dis file has not been accidentally deleted. -- True dat! ^_^

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

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

Sat Dec 5 06:28:20 UTC 2020 up 2 days, 2:39, 0 users, load averages: 1.44, 1.47, 1.55