mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2016-06-02, 21:40   #155
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

32·5·67 Posts
Default

Be careful with the -o output file. I tested the very first version you added to this thread on May 14th and I tested on the first 1000000 digits of pi and it created a huge output file which was > 50 GB in a few minutes before I noticed it and stopped it.
ATH is offline   Reply With Quote
Old 2016-06-02, 22:01   #156
J F
 
J F's Avatar
 
Sep 2013

23·7 Posts
Default

Mhm, this is not the only case where it is better to break a big range into some chunks
instead of doing it in one run. Learned long time ago that stopping/restarting PFGW often
with multi-GB files is not the smart thing do to, for instance.
J F is offline   Reply With Quote
Old 2016-06-02, 22:05   #157
J F
 
J F's Avatar
 
Sep 2013

23·7 Posts
Default

ETA 29 Mar 22:47

But, what year?
J F is offline   Reply With Quote
Old 2016-06-02, 22:09   #158
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

182F16 Posts
Default

Quote:
Originally Posted by J F View Post
Cool toy!

Note: v2.0 complained 3 DLLs missing (libgcc_s_seh-1, libstdc++-6
and libwinpthread-1 - someting MinGW-ish?). I could use the ones
from my SMPlayer (portable, so no DLLs registered system-wide)
Don't know how common these are on a non-programmers machine,
static link might be better for others who want to use this too.
Yes, it was built with MinGW64. I wasn't aware of dependencies. 1.2 was built with the same compiler, but doesn't requires those libraries. 2.0 uses C++ and 1.2 uses C.
rogue is offline   Reply With Quote
Old 2016-06-02, 22:10   #159
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

41·151 Posts
Default

Quote:
Originally Posted by J F View Post
Mhm, this is not the only case where it is better to break a big range into some chunks
instead of doing it in one run. Learned long time ago that stopping/restarting PFGW often
with multi-GB files is not the smart thing do to, for instance.
Agreed. Since the run time of PRP tests varies significantly, doing it in chunks makes a lot more sense WRT the desired removal rate.
rogue is offline   Reply With Quote
Old 2016-06-02, 22:12   #160
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

140578 Posts
Default

Quote:
Originally Posted by ATH View Post
Be careful with the -o output file. I tested the very first version you added to this thread on May 14th and I tested on the first 1000000 digits of pi and it created a huge output file which was > 50 GB in a few minutes before I noticed it and stopped it.
One advantage of 2.0 is that it only writes at the end, but it will still write those massive strings. I could add a feature to pfgw to take a file, like an ABC file, and use it. The first line would be the decimal representation and the subsequent lines would have an offset and length of each term for the one specified on the first line.
rogue is offline   Reply With Quote
Old 2016-06-02, 22:27   #161
J F
 
J F's Avatar
 
Sep 2013

3816 Posts
Default

Quote:
Originally Posted by rogue View Post
One advantage of 2.0 is that it only writes at the end, but it will still write those massive strings. I could add a feature to pfgw to take a file, like an ABC file, and use it. The first line would be the decimal representation and the subsequent lines would have an offset and length of each term for the one specified on the first line.
Does this have other uses than cutting down file size (which we just agreed shouldn't be
too large anyway)?
J F is offline   Reply With Quote
Old 2016-06-03, 00:28   #162
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

41×151 Posts
Default

Quote:
Originally Posted by J F View Post
Does this have other uses than cutting down file size (which we just agreed shouldn't be
too large anyway)?
I don't know. I can make it only so generic.
rogue is offline   Reply With Quote
Old 2016-06-03, 01:02   #163
J F
 
J F's Avatar
 
Sep 2013

23·7 Posts
Default

Uhhh, composites...
command line
pixsieve -sPi1M.txt -S380 -P1e13 -l275500 -L280K -o_NoF -m1e16 -f20 -t3 -C5K
I did let it run for a while, ctrl-C, waiting for threads to finish and output
written, hand _NoF over to pfgw64 -i -V -l -f2 _NoF ... tons of small factors.
Trying good old -S10 -L20K: the same

I hope I'm doing something wrong with my parameters.
J F is offline   Reply With Quote
Old 2016-06-03, 02:02   #164
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

41·151 Posts
Default

Quote:
Originally Posted by J F View Post
Uhhh, composites...
command line
pixsieve -sPi1M.txt -S380 -P1e13 -l275500 -L280K -o_NoF -m1e16 -f20 -t3 -C5K
I did let it run for a while, ctrl-C, waiting for threads to finish and output
written, hand _NoF over to pfgw64 -i -V -l -f2 _NoF ... tons of small factors.
Trying good old -S10 -L20K: the same

I hope I'm doing something wrong with my parameters.
The last byte in the output file with terms is truncated. I'll fix that tomorrow.

Last fiddled with by rogue on 2016-06-03 at 02:11
rogue is offline   Reply With Quote
Old 2016-06-03, 13:07   #165
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

41×151 Posts
Default

Fixed. I also fixed a threading issue where it wouldn't terminate very quickly if you had many threads.

In the next version I hope to have this working nicely with the pfgw changes I am working on. Those changes will reduce the size of the factor file and the terms file. I'll put those updates in this thread when they are ready.
rogue is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mersenne Primes p which are in a set of twin primes is finite? carpetpool Miscellaneous Math 3 2017-08-10 13:47
Distribution of Mersenne primes before and after couples of primes found emily Math 34 2017-07-16 18:44
Conjecture about Mersenne primes and non-primes v2 Mickey1 Miscellaneous Math 1 2013-05-30 12:32
A conjecture about Mersenne primes and non-primes Unregistered Information & Answers 0 2011-01-31 15:41
possible primes (real primes & poss.prime products) troels munkner Miscellaneous Math 4 2006-06-02 08:35

All times are UTC. The time now is 03:02.

Wed Jan 27 03:02:20 UTC 2021 up 54 days, 23:13, 0 users, load averages: 4.00, 4.14, 4.12

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.