mersenneforum.org mfaktc: a CUDA program for Mersenne prefactoring
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

 2016-10-02, 16:39 #2652 Mark Rose     "/X\(‘-‘)/X\" Jan 2013 2×3×5×97 Posts I've had hundreds of lines in worktodo.txt before. Interesting.
2016-10-02, 19:27   #2653
Gordon

Nov 2008

7658 Posts

Quote:
 Originally Posted by Karl M Johnson Found my first bug for mfaktc by getting overnight TF work. It would seem that 128 lines in worktodo file cause some kind of overflow, and mfaktc complains about invalid format in such a case (and doesn't start). Will report further findings later.
I currently have 1723 lines in my worktodo and it's running sweet as a nut.

The new version puts out just over 500 days/day on my 970, previous version was about 470 days/day

2016-10-02, 21:28   #2654
James Heinrich

"James Heinrich"
May 2004
ex-Northern Ontario

1100011001112 Posts

Quote:
 Originally Posted by TheJudger P.P.S. How high is the demand for Wagstaff and/or LessClasses?
I would normally request LessClasses, but my newest GPU is a 670 so I don't have any immediate need for it until a GTX 1080 magically falls out of the sky

 2016-10-02, 23:35 #2655 kladner     "Kieren" Jul 2011 In My Own Galaxy! 112·83 Posts CUDA 8.0 made little difference on my currently-running 580. No surprise, for something that old.
2016-10-03, 00:52   #2656
flashjh

"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts

Quote:
 Originally Posted by James Heinrich I would normally request LessClasses, but my newest GPU is a 670 so I don't have any immediate need for it until a GTX 1080 magically falls out of the sky
I just compiled the 32 and 64 bit versions of lessclass, Wagstaff, and lessclass Wagstaff.

I emailed to Oliver a few minutes ago, I'm sure he'll post them soon ;)

2016-10-03, 00:55   #2657
flashjh

"Jerry"
Nov 2011
Vancouver, WA

100011000112 Posts

Quote:
 Originally Posted by kladner CUDA 8.0 made little difference on my currently-running 580. No surprise, for something that old.
On this note, I'm sad to say that the workhorse 580s are soon obsolete based on CUDA versions -- If they're not already ;)

Current compiler warning:
Code:
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
Won't change much either way, just sad.

2016-10-03, 00:59   #2658
flashjh

"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts

Quote:
 Originally Posted by Karl M Johnson Found my first bug for mfaktc by getting overnight TF work. It would seem that 128 lines in worktodo file cause some kind of overflow, and mfaktc complains about invalid format in such a case (and doesn't start). Will report further findings later.
Back in my HayDay of running mfaktc I had thousands of lines in many instances running with no problems. Have you checked for any non-text characters in the file? That might cause a problem.

2016-10-03, 02:06   #2659
Mark Rose

"/X\(‘-‘)/X\"
Jan 2013

B5E16 Posts

Quote:
 Originally Posted by flashjh Back in my HayDay of running mfaktc I had thousands of lines in many instances running with no problems. Have you checked for any non-text characters in the file? That might cause a problem.
I did have a problem with line endings once, IIRC.

2016-10-03, 02:44   #2660
Karl M Johnson

Mar 2010

3×137 Posts

Quote:
 Originally Posted by Mark Rose I did have a problem with line endings once, IIRC.
Nailed it!
Turns out, it was not related to mfaktc, but which EOL worktodo.txt used.
I've realised this only when I've noticed a 'Macintosh' EOL being used n Notepad++ and I'm not sure how this happened.
False alarm

2016-10-03, 03:09   #2661

"Kieren"
Jul 2011
In My Own Galaxy!

112×83 Posts

Quote:
 Originally Posted by flashjh On this note, I'm sad to say that the workhorse 580s are soon obsolete based on CUDA versions -- If they're not already ;) Current compiler warning: Code: nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). Won't change much either way, just sad.
One point I am uncertain about: I have always run 32 bit versions of mfaktc, because they have a very slight performance edge over the 64 bit. My experiment was with the 64 bit version of CUDA 8.0. Still, any differences were within normal fluctuations in everyday running.

2016-10-03, 03:29   #2662
James Heinrich

"James Heinrich"
May 2004
ex-Northern Ontario

52×127 Posts

Quote:
 Originally Posted by Karl M Johnson Turns out, it was not related to mfaktc, but which EOL worktodo.txt used.
Vaguely related: I discovered while writing a script to fetch new worktodo that mfaktc always rewrites all of worktodo.txt and always uses \r\n even if the file had \n line-endings (which mfaktc can read fine).

 Similar Threads Thread Thread Starter Forum Replies Last Post Bdot GPU Computing 1657 2020-10-27 01:23 firejuggler GPU Computing 752 2020-09-08 16:15 froderik GPU Computing 4 2016-10-30 15:29 fivemack Programming 112 2015-02-12 22:51 xilman Programming 1 2009-11-16 10:26

All times are UTC. The time now is 22:18.

Mon Nov 23 22:18:45 UTC 2020 up 74 days, 19:29, 4 users, load averages: 2.53, 2.81, 2.71