mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2011-04-03, 13:56   #595
mnh001
 
Apr 2011

26 Posts
Default

I don't believe so. The zip file I got from sourceforge was

yafu-1.24.zip

then from Jeff Christie's? page I got the zips

ggnfs-svn413-win64-core2.zip ...Oh, I see. I got the wrong support file. I didn't even notice that. Thanks. I'll go find the correct files and try again. :)
mnh001 is offline   Reply With Quote
Old 2011-04-03, 15:53   #596
mnh001
 
Apr 2011

26 Posts
Unhappy v1.24 still crashing

Well, apparently using the proper files didn't help much. I used
ggnfs-svn413-win32-p4.zip
but it still crashed. The log shows:

04/03/11 11:37:11 v1.24 @ HOME, nfs: commencing gnfs on c100: 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
04/03/11 11:37:11 v1.24 @ HOME, nfs: commencing NFS restart - searching for last special-q
04/03/11 11:37:11 v1.24 @ HOME, nfs: continuing job - could not determine last special q; using default startq
04/03/11 11:37:11 v1.24 @ HOME, nfs: commencing lattice sieving with 1 threads
04/03/11 11:37:11 v1.24 @ HOME, could not open rels0.dat for reading

Also, in the main YAFU folder I do have a ggnfs.job file but the icon has a red X thru it and I can't open it. I tried to attach it here but got a message saying it was an invalid file. Any suggestions?
mnh001 is offline   Reply With Quote
Old 2011-04-03, 16:20   #597
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22×7×19 Posts
Default

Did you clean out all the old data files before running the 32-bit binaries? Maybe some files left over from earlier attempts are getting in the way?
Brian Gladman is offline   Reply With Quote
Old 2011-04-03, 16:52   #598
mnh001
 
Apr 2011

26 Posts
Default

The only files that look like they were created by runtime are

factor.log, ggnfs.job, msieve.log, profilingData.log, and session.log

so I moved them all elsewhere and will now try again.

Oh, also, all the old files from the 64-bit zip I deleted before starting with the 32-bit.

Last fiddled with by mnh001 on 2011-04-03 at 16:56 Reason: extra thought
mnh001 is offline   Reply With Quote
Old 2011-04-03, 18:58   #599
mnh001
 
Apr 2011

1008 Posts
Default

Ok, tried again, same crash. I've got the win32 files. There are no old files to interfere. Here's the end of the factor log:

04/03/11 14:24:46 v1.24 @ HOME, Finished 1 curves using Lenstra ECM method on C100 input, B1 = 10M, B2 = gmp-ecm default
04/03/11 14:24:46 v1.24 @ HOME, nfs: commencing gnfs on c100: 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
04/03/11 14:24:46 v1.24 @ HOME, nfs: commencing msieve poly select
04/03/11 14:44:52 v1.24 @ HOME, nfs: commencing lattice sieving with 1 threads
04/03/11 14:44:52 v1.24 @ HOME, could not open rels0.dat for reading

During the run it created: factor.log, msieve.log, session.log, ggnfs.job (with a red X thru the icon), msieve.dat and msieve.fb.

rels0.dat was not created.

As for independent test run of gnfs-lasieve4I12e.exe, when I double click it I very briefly (~0.1 sec) see the window flash on the screen then it's gone.

Now what?
mnh001 is offline   Reply With Quote
Old 2011-04-03, 19:09   #600
mnh001
 
Apr 2011

26 Posts
Default

Oh, I don't know if you need this or not but here's the contents of msieve.log:

Sun Apr 03 14:24:46 2011 commencing number field sieve (100-digit input)
Sun Apr 03 14:24:46 2011 commencing number field sieve polynomial selection
Sun Apr 03 14:24:46 2011 time limit set to 0.33 hours
Sun Apr 03 14:24:46 2011 searching leading coefficients from 1 to 17810677
Sun Apr 03 14:44:52 2011 polynomial selection complete
Sun Apr 03 14:44:52 2011 R0: -1435442859724036989108407
Sun Apr 03 14:44:52 2011 R1: 26386304610883
Sun Apr 03 14:44:52 2011 A0: 36621874029161643309794237076
Sun Apr 03 14:44:52 2011 A1: -4389786114023453402424
Sun Apr 03 14:44:52 2011 A2: -26705947173531107
Sun Apr 03 14:44:52 2011 A3: 316114064
Sun Apr 03 14:44:52 2011 A4: 240
Sun Apr 03 14:44:52 2011 skew 5931426.95, size 1.241e-013, alpha -5.044, combined = 1.319e-008 rroots = 4
mnh001 is offline   Reply With Quote
Old 2011-04-03, 20:41   #601
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

67018 Posts
Default

Quote:
Originally Posted by mnh001 View Post

Now what?
Two things.

1) open a command prompt, navigate to the directory where ggnfs.job is located, and enter the following command:
Code:
type ggnfs.job
Post whatever is returned by this.

2) If the ggnfs.job file is not empty, enter the following command:
Code:
<your-directory-here>\gnfs-lasieve4I12e.exe -a ggnfs.job -f 1000000 -c 100 -o test.dat
where you've substituted the absolute path to your binaries as indicated. If everything works, you should see something like the following:
Code:
 Warning:  lowering FB_bound to 999999.
total yield: 242, q=1000117 (0.00444 sec/rel)
If so, post it. If all of this works, then there might be something wrong with yafu... but right now I still suspect faulty gnfs-lasieve binaries or corrupted files.
bsquared is offline   Reply With Quote
Old 2011-04-03, 21:09   #602
mnh001
 
Apr 2011

26 Posts
Default

Ok, I did it. Couldn't remember my DOS very well so I copied the files to C:\ first and did it from there.

For the contents of ggnfs.job :
Code:
C:\>type ggnfs.job
n: 10189793374562250357149340250753442882050548633231669206963346252389683743074
90538496140762051312209
skew: 5931426.95
Y0: -1435442859724036989108407
Y1:  26386304610883
c0:  36621874029161643309794237076
c1: -4389786114023453402424
c2: -26705947173531107
c3:  316114064
c4:  240
rlim: 1800000
alim: 1800000
lpbr: 26
lpba: 26
mfbr: 52
mfba: 52
rlambda: 2.500000
alambda: 2.500000
For running gnfs-lasieve4I12e.exe I got :

Code:
C:\>c:\gnfs-lasieve4I12e.exe -a ggnfs.job -f 1000000 -c 100 -o test.dat
 Warning:  lowering FB_bound to 999999.
total yield: 877, q=1000117 (0.00210 sec/rel)
mnh001 is offline   Reply With Quote
Old 2011-04-04, 00:23   #603
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7×503 Posts
Default

Ok... try copying yafu-32k-Win32.exe yafu.ini and gnfs-lasieve4I12e into the same directory as the ggnfs.job file and change the line in yafu.ini to ggnfs_dir=.\

Make a copy of the ggnfs.job file, so that you don't have to redo the poly selection if something goes wrong. Then restart yafu nfs() with the same N.
bsquared is offline   Reply With Quote
Old 2011-04-04, 01:10   #604
mnh001
 
Apr 2011

6410 Posts
Default

Ok I tried all that. Here's what I got:

screen output while running
Code:
Found expression: 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
nfs: commencing gnfs on c100: 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
nfs: continuing job - could not determine last special q; using default startq
nfs: commencing lattice sieving over range: 900000 - 940000
 Warning:  lowering FB_bound to 899999.
total yield: 12410, q=900743 (0.00215 sec/rel)
factor.log afterwards
Code:
04/03/11 20:39:26 v1.24 @ HOME, nfs: commencing gnfs on c100: 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
04/03/11 20:39:26 v1.24 @ HOME, nfs: commencing NFS restart - searching for last special-q
04/03/11 20:39:26 v1.24 @ HOME, nfs: continuing job - could not determine last special q; using default startq
04/03/11 20:39:26 v1.24 @ HOME, nfs: commencing lattice sieving with 1 threads
04/03/11 21:00:52 v1.24 @ HOME, nfs: commencing msieve filtering
I'm not sure if it used the ggnfs.job but here it is after run
Code:
C:\>type ggnfs.job
n: 10189793374562250357149340250753442882050548633231669206963346252389683743074
90538496140762051312209
skew: 5931426.95
Y0: -1435442859724036989108407
Y1:  26386304610883
c0:  36621874029161643309794237076
c1: -4389786114023453402424
c2: -26705947173531107
c3:  316114064
c4:  240
rlim: 1800000
alim: 1800000
lpbr: 26
lpba: 26
mfbr: 52
mfba: 52
rlambda: 2.500000
alambda: 2.500000
Just as it finished running the lattice sieving I saw something about 'cat' could not be run, not sure exactly what it said because it was only there for a moment before it crashed and disappeared. And it didn't do any of the poly testing, just the lattice sieve from 900000 to 940000.

Last fiddled with by mnh001 on 2011-04-04 at 01:17
mnh001 is offline   Reply With Quote
Old 2011-04-04, 01:16   #605
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7·503 Posts
Default

Quote:
Originally Posted by mnh001 View Post
...crashed and disappeared.
It shouldn't do that... I don't know how you are running the program but in a console window the text won't disappear. Running in a console window is the only method of running yafu that I know how to support.
bsquared is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
Yafu bug. storflyt32 YAFU 2 2015-06-29 05:19
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 05:34.


Fri Aug 6 05:34:37 UTC 2021 up 14 days, 3 mins, 1 user, load averages: 3.56, 3.05, 2.75

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