![]() |
![]() |
#1 |
Random Account
"Norman D. Powell"
Aug 2009
Indiana, USA.
74F16 Posts |
![]()
When GMP-ECM find a factor, it displays it on the screen. That is all well and good. Does it write the factor into a file somewhere? Its results file is rather convoluted.
![]() |
![]() |
![]() |
#2 |
"Mike"
Aug 2002
174538 Posts |
![]()
When you run it, you redirect the screen output to a file.
You can use tee to do this. (It will bifurcate the output.) Instead of using tee, we redirect to a file and then use watch to display the file contents at regular intervals. One example: ecm > results.txt & watch -n 60 cat results.txt The & puts the ecm process into the background while leaving it running. Or you could grep the results file for factor lines: ecm > results.txt & watch -n 60 grep actor results.txt You will want to read up on "job control". |
![]() |
![]() |
#3 | |
Random Account
"Norman D. Powell"
Aug 2009
Indiana, USA.
1,871 Posts |
![]() Quote:
![]() I believe the majority of what you have written above is for Linux. I am using Windows 7 Pro x64. I have used a small program called mtee in the past. It duplicates everything on the screen into a text file without blanking the screen. I don't understand why anyone would write a program like this and not include a critical item as part of the results. ![]() |
|
![]() |
![]() |
#4 | ||
"Mike"
Aug 2002
174538 Posts |
![]() Quote:
Quote:
|
||
![]() |
![]() |
#5 | |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
101001010110112 Posts |
![]() Quote:
|
|
![]() |
![]() |
#6 |
Random Account
"Norman D. Powell"
Aug 2009
Indiana, USA.
1,871 Posts |
![]()
I am going to quote myself:
I just want to make sure it was not missed the first time. I have nothing against Linux. As a matter of fact, I have Ubuntu on Windows loaded on my Windows 10 rig, and it works well. I only know enough to get by. I am content to use mtee to duplicate my results into a text file. The file gets big in a hurry though. I use Notepad++ to browse it while it is being added to. It opens any file as a copy then closes it, but stays aware of the file being changed if left loaded in a tab, even when unloaded itself. A handy tool. |
![]() |
![]() |
#7 |
"Curtis"
Feb 2005
Riverside, CA
2×5×467 Posts |
![]()
If you like your solution, then you don't need to keep telling us you run Win7.
If you like someone else's solution, then grab the relevant unix utility for windows, drop it into your ECM folder (or install globally, if you prefer), and use their solution. A search engine will turn up plenty of these simple unix programs for Win7, though I can't promise each one mentioned in this thread is available. |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
And now for some TF results... | lycorn | Data | 211 | 2020-08-08 17:42 |
Statistical properties of categories of GIMPS results and interim results | kriesel | Probability & Probabilistic Number Theory | 1 | 2019-05-22 22:59 |
Interpreting a paper: ei and erf | CRGreathouse | Math | 2 | 2009-05-14 15:39 |
Interpreting Screen Info. | A_Pryme | Data | 16 | 2005-02-13 23:05 |
0x results... | Mike | PrimeNet | 11 | 2004-05-23 12:55 |