mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Prime Gap Searches

Reply
 
Thread Tools
Old 2016-04-04, 16:56   #1
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

5×397 Posts
Default New CGLP4

Dr Nicely wrote to me, as I had problems running the CGLP4 code. He has fixed the error now - he writes

Quote:
Corrected and updated versions of cglp4.zip, trn.zip, and conio3.zip have now been posted at http://www.trnicely.net
robert44444uk is offline   Reply With Quote
Old 2016-04-04, 17:02   #2
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

10011011111012 Posts
Default

How do you run cglp4.exe?
pinhodecarlos is online now   Reply With Quote
Old 2016-04-04, 17:27   #3
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

5×397 Posts
Default

CGLP4 checks primes gaps for correctness. It runs from a DOS console and takes a file with gaps in Dr Nicely's format and certifies them.

I use the command c:\ foldername> cglp4.exe filename

Last fiddled with by robert44444uk on 2016-04-04 at 17:29
robert44444uk is offline   Reply With Quote
Old 2016-04-04, 17:43   #4
danaj
 
"Dana Jacobsen"
Feb 2011
Bangkok, TH

32·101 Posts
Default

What was the problem?

I found cglp4 to be quite a bit slower than my code, but if it is configured to call PFGW then it is faster for inputs over ~4000 digits. I had some troubles getting it to work with PFGW -- had to write my own simple clear.bat file and do something to make sure it found the PFGW executable.
danaj is offline   Reply With Quote
Old 2016-04-04, 18:16   #5
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

5×397 Posts
Default

Nicely reports:

Quote:

It was not in cglp4, but in one of the library support routines, iEvalExprMPZ, a lengthy and dense symbolic expression parser in trn.c. The crashes finally traced to an irregular buffer overflow, although this was not being correctly diagnosed by the crash handler.
I'm so happy not being a programmer!

I am quite good at crashing things - maybe I should work for Gates
robert44444uk is offline   Reply With Quote
Old 2016-04-04, 18:19   #6
danaj
 
"Dana Jacobsen"
Feb 2011
Bangkok, TH

32×101 Posts
Default

Nicely found! (pun wasn't intended, but I think it's a keeper)

IIRC some of your expressions were longer than the normal ones. It's too bad the expressions get collapsed.
danaj is offline   Reply With Quote
Old 2016-04-04, 18:46   #7
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

198510 Posts
Default

That's the problem - my expressions seem to be as long as the digital expansion

Sadly, the Nicely site does not show the full expansion, so an outsider has to take the record at face value, and does not know how the record was constructed.
robert44444uk is offline   Reply With Quote
Reply

Thread Tools


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


Wed Dec 8 22:31:07 UTC 2021 up 138 days, 17 hrs, 0 users, load averages: 1.24, 1.47, 1.42

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.