mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2011-10-01, 13:54   #1255
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

1101010111012 Posts
Default

Quote:
Originally Posted by Dubslow View Post
(Based on bit length and factors of q-1, I'd say it was found in P-1 stage 2.)
Could be either P-1 or TF, but P-1 is more likely. If you knew the correct P-1 bounds, however, it would be 27x less effort to find it via P-1 than TF (from zero). The factor would be found with default P-1 bounds.
http://mersenne-aries.sili.net/expon...tails=42717929
James Heinrich is offline   Reply With Quote
Old 2011-10-01, 15:35   #1256
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2·5·53 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
Just as an aside, the calculations in your worktodo balancer for seem off.
Use the source, Luke:

Code:
if (preg_match('#^Factor=(|N/A,|[A-F0-9]{32},)([0-9]{4,10}),([0-9]{1,2}),([0-9]{2})$#i', $line, $matches)) {
            @list($all, $aid, $exponent, $tf1, $tf2) = $matches;
            $key = count($GoodAssignmentsLine);
            $GoodAssignmentsLine[$key] = $line;
            $GoodAssignmentsWork[$key] = (($_REQUEST['easyis'] == 'small') ? $exponent : CalcGHzDaysTrialFactor($exponent, $tf1, $tf2));
        }
It adds up the exponents. (And then it gets the hose again.)
ckdo is offline   Reply With Quote
Old 2011-10-01, 20:53   #1257
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

342110 Posts
Default

Quote:
Originally Posted by ckdo View Post
It adds up the exponents.
That's what I get for adding features later on and not checking for side effects I've fixed it now.
(The original incarnation of the balancer did not have a variable definition of "easy", it was just the GHz-days effort, so adding it up made perfect sense.)
James Heinrich is offline   Reply With Quote
Old 2011-10-01, 21:30   #1258
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I happily volunteer my time and PHP expertise to the effort. My own site already parses any and all data from results.txt, so I'm quite familiar with the issues involved.

Incidentally, I also volunteer my services to help rework the reports.

Please let me know what I can do to help in any way; PHP programming is what I've been doing for the last 11 years.
I support the suggestion that James is enabled to help you (George) and Scott with additional development work.

I would also be willing to donate my time to assist James (but without access). While I don't do PHP (except when I have to; and only then under protest -- I'm a Perl guy) I do do Regular Expressions (RegEx) and SQL for a living.
chalsall is offline   Reply With Quote
Old 2011-10-01, 21:36   #1259
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by chalsall View Post
I support the suggestion that James is enabled to help you (George) and Scott with additional development work.
James and I are working on the details.
Prime95 is offline   Reply With Quote
Old 2011-10-02, 05:24   #1260
apsen
 
Jun 2011

131 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That is precisely why you're having trouble. If you submit the "no factor" and "has a factor" together you shouldn't have a problem
What if there're no "no factor lines".

BTW I started doing this after my regular submission were assigned to P-1. From my results page they seem to be at the lowest bit level of an assignment.

What if while reporting "has a factor" result at the lowest bit level of an assignment I swap the lines in manual submission like this:

Code:
found 1 factor(s) for M57841799 from 2^71 to 2^72 [mfaktc 0.17-Win apsen barrett79_mul32]
M57841799 has a factor: 2692557022299923757047
Would that work?

If not what would happen if I add false "no factor" line for previously completed bit levels in front. Like:

Code:
no factor for M57841799 from 2^70 to 2^71 [mfaktc 0.17-Win apsen 71bit_mul24]
M57841799 has a factor: 2692557022299923757047
found 1 factor(s) for M57841799 from 2^71 to 2^72 [mfaktc 0.17-Win apsen barrett79_mul32]

Last fiddled with by apsen on 2011-10-02 at 05:37
apsen is offline   Reply With Quote
Old 2011-10-02, 12:15   #1261
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5·359 Posts
Default

This is why I like the idea that each line is a complete, true, and accurate statement, thus:
Code:
M57841799 has a factor: 265255702299923757047 [mfaktc 0.18-Win Christenson]
found exactly 1 factor(s) for M57841799 from 2^71 to 2^72 [mfaktc 0.18-Win Christenson]
found at least 1 factor for M57841799 from 2^71 to 2^72 [mfaktc 0.18-Win Christenson]
This way we know if you completed the bit level, what you found, and how you found it, no scrambling of lines from results.txt.
Christenson is offline   Reply With Quote
Old 2011-10-02, 13:25   #1262
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11×311 Posts
Default

Quote:
Originally Posted by Prime95 View Post
James and I are working on the details.
It looks like I'll be able to help George revise the parsing logic in the near future. Don't expect anything changed today or tomorrow, but if we can collectively decide on a standardized format for the results (by the end of this week, let's say), I'll see if I can get the results parser to understand it all correctly within a few weeks.
James Heinrich is offline   Reply With Quote
Old 2011-10-02, 17:13   #1263
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5×359 Posts
Default

Hey Oliver:

Just noticed an overflow in the class-by-class status reporting....suddenly got a huge number of seconds reported for the time field that had nothing to do with what was happening on my wristwatch. This is on Linux 64, mfaktc-0.17, under xubuntu 10.10. The box has been up for about 4 days, and runing mfaktc for most of that time.

Eric



This hapened
Christenson is offline   Reply With Quote
Old 2011-10-02, 17:28   #1264
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

Hi Eric,

I know this bug. It doesn't matter how long mfaktc is running (actually I've noticed this rarely while developing with some *very short* runs)

I'll take a look at this.

Oliver
TheJudger is offline   Reply With Quote
Old 2011-10-05, 23:59   #1265
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2·4,909 Posts
Default

Quote:
Originally Posted by ckdo View Post
Use the source, Luke:

It adds up the exponents. (And then it gets the hose again.)
Quote:
Originally Posted by James Heinrich View Post
That's what I get for adding features later on and not checking for side effects I've fixed it now.
(The original incarnation of the balancer did not have a variable definition of "easy", it was just the GHz-days effort, so adding it up made perfect sense.)
It seems that the fix broke the 'easy' definition part. It sorts inverted.
Uncwilly is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 10:29.


Mon Aug 2 10:29:06 UTC 2021 up 10 days, 4:58, 0 users, load averages: 1.55, 1.49, 1.29

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.