mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
Thread Tools
Old 2016-07-17, 05:00   #826
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

1041410 Posts
Default

Quote:
Originally Posted by Puzzle-Peter View Post
Done. Uploading the results file to sendspace right now. Gary will receive a message as to where to download the data.

Reserving k=23G to 25G
I got the results (residues) file but not a primes file. The file is too large for me to easily extract the primes. I will need a separate file.
gd_barnes is online now   Reply With Quote
Old 2016-07-18, 17:11   #827
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

68410 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
I got the results (residues) file but not a primes file. The file is too large for me to easily extract the primes. I will need a separate file.
Sorry, I forgot you're running windows. It's so easy using linux. I'll extract the primes into a separate file.
Puzzle-Peter is offline   Reply With Quote
Old 2016-07-19, 07:27   #828
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Quote:
Originally Posted by Puzzle-Peter View Post
Sorry, I forgot you're running windows. It's so easy using linux. I'll extract the primes into a separate file.
FWIW, I believe Gary has Cygwin installed on his Windows box, so he should be able to run Linux commands like "grep".

In this case, the command to extract prime results from an LLR results file is:
Code:
grep prime! results_file.txt > primes_file.txt
...which will write just the lines containing the text "prime!" to primes_file.txt. (If either of the file names contain spaces, put quotes "" around them.)

If you want just the prime numbers themselves, and not the full line e.g. "k*b^n+c is prime! Time : 0.0 sec.", then use this command instead:
Code:
grep prime! results_file.txt | cut -f1 -d ' ' > primes_file.txt
...which passes the output through the "cut" command, which removes everything but the 1st field (-f1) using the space character as the field delimiter (-d ' ').

Grep and cut are very fast programs, so this technique will scale for even the largest files. (Unlike using find/replace in a text editor, they can work on the file as a "stream", rather than having to load the whole thing into memory and write it back out, which is the bottleneck with that approach.)
mdettweiler is offline   Reply With Quote
Old 2016-07-19, 07:48   #829
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

2·41·127 Posts
Default

I would prefer to get the primes file instead of having to create it from a large file. I'd rather not add any more admin time to things.
gd_barnes is online now   Reply With Quote
Old 2016-07-19, 14:42   #830
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

10101011002 Posts
Default

Quote:
Originally Posted by mdettweiler View Post

If you want just the prime numbers themselves, and not the full line e.g. "k*b^n+c is prime! Time : 0.0 sec.", then use this command instead:
Code:
grep prime! results_file.txt | cut -f1 -d ' ' > primes_file.txt
...which passes the output through the "cut" command, which removes everything but the 1st field (-f1) using the space character as the field delimiter (-d ' ').
That's interesting, I used awk for separating the primes from the rest of the line. I didn't know about the "cut" command.

The primes file is attached.
Attached Files
File Type: txt R3_primes_K21G-22G_n25k-100k.txt (92.6 KB, 160 views)
Puzzle-Peter is offline   Reply With Quote
Old 2016-07-30, 08:15   #831
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

26×32×5 Posts
Default

R3 tested to n=200k (150-200k) (2.147-4G)

454 primes found, 1721 remain in this range

Results emailed, Base released
rebirther is offline   Reply With Quote
Old 2016-08-13, 19:07   #832
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

26×32×5 Posts
Default

Reserving R3 to n=500k (300-500k) (4-6G) for BOINC
rebirther is offline   Reply With Quote
Old 2016-09-12, 14:14   #833
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

68410 Posts
Default

I do not understand the following LLR output:
My input looks like this:
Code:
 
  23566399112 59508 -1
  23566399112 59543 -1
  23566399112 59568 -1
and lresults.txt looks like this:
Code:
 23566399112*3^59508-1 is not prime.  RES64: DBDD7F48F65B3879.  OLD64: A7B882071AD77B5A  Time : 9.327 sec.
  Iter: 94407/94407, ERROR: ROUND OFF (0.5) > 0.4
  Continuing from last save file.
  Unrecoverable error, Restarting with next larger FFT length...
  U((N+1)/3) is coprime to N!
    Time : 58.448 sec.
  23566399112*3^59568-1 is not prime.  RES64: B3A7CCFC753017E5.  OLD64: 1AF766F55F9047AC  Time : 9.324 sec.
So what does this tell me about n=59543? Prime or no prime?

Thanks
Peter
Puzzle-Peter is offline   Reply With Quote
Old 2016-09-12, 16:57   #834
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

1011010000002 Posts
Default

23566399112*3^59543-1 is prime! (28420 decimal digits, P = 3) Time : 15.033 sec. (i7-4930k)
rebirther is offline   Reply With Quote
Old 2016-09-12, 18:08   #835
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

635610 Posts
Default

I suggest that you send Jean a note to see why LLR didn't output the results to the screen.
rogue is offline   Reply With Quote
Old 2016-09-19, 18:18   #836
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

22·32·19 Posts
Default

k=23G to 25G, n=25k to 100k done. Uploading to sendspace right now
Puzzle-Peter is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bases 33-100 reservations/statuses/primes Siemelink Conjectures 'R Us 1694 2021-08-06 20:41
Bases 6-32 reservations/statuses/primes gd_barnes Conjectures 'R Us 1398 2021-08-06 12:49
Bases 251-500 reservations/statuses/primes gd_barnes Conjectures 'R Us 2305 2021-08-04 15:09
Bases 101-250 reservations/statuses/primes gd_barnes Conjectures 'R Us 908 2021-08-01 07:48
Sierp base 3 reservations/statuses/primes gd_barnes Conjectures 'R Us 388 2020-10-21 19:42

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


Fri Aug 6 22:29:32 UTC 2021 up 14 days, 16:58, 1 user, load averages: 3.14, 3.26, 3.21

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.