mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2016-11-29, 02:57   #1
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

13716 Posts
Post PFGW ABC file handling problem

Hi, I am here to address some problems or struggles with PFGW (and other primality programs and html sites) hoping to improve and extend them. Anyways, my first struggle with PFGW is its ABC file. I have checked that the ABC input files are only able to handle less than 60k "random" digits (of text) (also known as non-trivial numbers since they don't have a trivial easy expression). If the number(s) are greater than 60k digits worth of text, the number will be reduced to a 60k digit string and be repeatedly prp (probable prime) tested over and over again. I am asking to see if anyone (this is directed toward the pfgw authors, someone told me I could find them in this forum) knows how to extend the limit to pfgw's ordinary, or generic numbers limit at 12M digits (of text). Here is a quick description of this problem:

input.txt:

-----
ABC 104053795424.........(100k digits).........318274915356+$a
.........
1
3
5
7
9
11
13
15
17
19
-----

pfgw64.exe input.txt

PRP: 104053795424.........(60k digits).........443211293243 1/199312

which will prp test this cut-off number an infinite number of times. Again, the ABC files work perfectly fine for large numbers with shorter descriptions such as

input.txt:

-----
ABC 10^999999+$a
1
3
5
7
9
11
13
15
17
19
-----

pfgw64.exe input.txt

PRP: 10^999999+1 1/332192

or numbers with less than 60k digits or characters also work normally. Thanks to those who can help fix this problem with the ABC sieve files.
carpetpool is offline   Reply With Quote
Old 2016-11-29, 16:58   #2
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×11×269 Posts
Default

I maintain pfgw. Please send e-mail to rogue@wi.rr.com so we can discuss offline with a few more details, such as a zipped copy of your ABC file.
rogue is online now   Reply With Quote
Old 2016-12-02, 01:15   #3
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

311 Posts
Default

Huge Thanks to Mark for working on extending the ABC files to 1M characters!!!

Last fiddled with by carpetpool on 2016-12-02 at 01:15
carpetpool is offline   Reply With Quote
Old 2016-12-02, 02:26   #4
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,127 Posts
Default

Don't forget that if you can't express your number in less than a million characters, then it is likely will not be a prime. Just a PRP, -- even if you'll find one.
Batalov is offline   Reply With Quote
Old 2016-12-02, 14:03   #5
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

134368 Posts
Default

I've made the code change, but I bumped it to 10,000,000 so that I don't get asked again. Fortunately pfgw has a small memory footprint compared to most applications people run nowadays. I just need to build and put onto sourceforge.
rogue is online now   Reply With Quote
Old 2016-12-03, 00:09   #6
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

311 Posts
Post

Thanks rouge!!! Is there a new version to download?
carpetpool is offline   Reply With Quote
Old 2016-12-03, 03:45   #7
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

171E16 Posts
Default

Hopefully tomorrow
rogue is online now   Reply With Quote
Old 2016-12-03, 16:26   #8
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

311 Posts
Post

Mark, is that the only change to the new version? Also, please paste the link to the new PFGW version here. Thanks.
carpetpool is offline   Reply With Quote
Old 2016-12-03, 16:28   #9
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

311 Posts
Post

Or if there is a specific thread on this forum where you mention updates to PFGW, please let me know.
carpetpool is offline   Reply With Quote
Old 2016-12-03, 22:06   #10
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·11·269 Posts
Default

The Windows version of 3.8.3 has been uploaded. If you need a build for a different OS, please let me know.
rogue is online now   Reply With Quote
Old 2016-12-04, 21:40   #11
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

311 Posts
Default

The new version doesn't seem to work...

C:\Users\User\Documents\PFGW 3.8.3>pfgw64.exe input.txt

(program stops working and quits)


input.txt:

ABC 105729160569.........(200k digits).........379407409053+$a
1
3
5
7
9
11
13
15
17
19

I just downloaded the windows version of it. I still have the 3.8.1 version.
carpetpool is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Minor error in handling worktodo tha Software 1 2015-05-11 13:56
BUG Prime95 Priority handling Win7 workerthread Software 9 2012-05-01 22:02
380W PSU capable handling 9800GTX+? nuggetprime Hardware 8 2009-01-08 03:33
Mprime's signal handling? zukertort Software 1 2005-04-23 12:18
PFGW double check problem? TTn 15k Search 7 2003-07-28 22:27

All times are UTC. The time now is 18:36.

Mon Sep 28 18:36:15 UTC 2020 up 18 days, 15:47, 1 user, load averages: 2.68, 2.44, 2.24

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.