mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Closed Thread
 
Thread Tools
Old 2003-12-03, 15:27   #1
Matthias C. Noc
 
Matthias C. Noc's Avatar
 
Dec 2003

23×3 Posts
Question Question "How many stages"?

Hello,

I'm new and my client just started to crunch. The window is showing from time to time the info that stage 1 is XX % complete. Just to get a better understanding of the process, how many stages are there for "p-1 factoring"?

Thanks,

Matthias Noch
Matthias C. Noc is offline  
Old 2003-12-03, 15:32   #2
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

22·5·13 Posts
Default

There are 2 stages of what is called P1 factoring. If the client doesn't find a factor it will proceed to the Lucas-Lehmer test.

Welcome to GIMPS . Good hunting

PM
Prime Monster is offline  
Old 2003-12-03, 16:45   #3
Unregistered
 

2·3·1,151 Posts
Default

Can factors be found at the end of both stages or at the end of stage 2 only?
 
Old 2003-12-03, 16:46   #4
Matthias C. Noc
 
Matthias C. Noc's Avatar
 
Dec 2003

23·3 Posts
Default

Okay, I see. Thank you. And after the LL-Test?
How can I see how much progress the calculation has done in general; compared to the total necessary for this one?

Back at seti@home we had a kind of status-bar, is there something like this for this programm too? Maybe a 3rd party tool?

Thanks,

Matthias
Matthias C. Noc is offline  
Old 2003-12-03, 16:52   #5
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

4048 Posts
Default

If you are running the windows client it will tell you if you hold the mouse over the taskbar icon. It will also tell you in the window.

If you are running Linux there is a utility called gkrellmGIMPS, that will monitor the client and display the status.

PM
Prime Monster is offline  
Old 2003-12-03, 18:12   #6
GP2
 
GP2's Avatar
 
Sep 2003

13·199 Posts
Default

If you are using Linux, there is a small Perl utility that you can use to determine how many iterations the calculation has progressed.

Look for the save files p.... and q.... in your mprime directory, then run the following Perl script with the p.... filename as the argument:

Code:
#!/usr/bin/perl
 
$file = shift || die;
 
open (FILE,"<$file") || die;
 
read(FILE,$temp,6);
 
($type, $counter) = unpack("sL",$temp);
 
print "$type $counter\n";
 
close (FILE);
GP2 is offline  
Old 2003-12-03, 18:13   #7
GP2
 
GP2's Avatar
 
Sep 2003

13·199 Posts
Default

Quote:
Originally posted by Unregistered
Can factors be found at the end of both stages or at the end of stage 2 only?
Factors can be found in either stage 1 or stage 2... or neither (no factor found).
GP2 is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Who "manages" Misfit and can answer a question? Madpoo MISFIT 9 2017-02-05 17:27
Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" wildrabbitt Miscellaneous Math 11 2015-03-06 08:17
"Most Wanted Factorizations?" question jasong Factoring 9 2006-03-23 22:39
Would Minimizing "iterations between results file" may reveal "is not prime" earlier? nitai1999 Software 7 2004-08-26 18:12

All times are UTC. The time now is 00:48.

Fri Apr 16 00:48:59 UTC 2021 up 7 days, 19:29, 0 users, load averages: 1.31, 1.60, 1.64

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.