mersenneforum.org How do I run the twin prime program?
 Register FAQ Search Today's Posts Mark Forums Read

 2020-07-19, 21:50 #1 Bobby Jacobs     May 2018 2×107 Posts How do I run the twin prime program? How do I run the twin prime gap program? I have been trying to do it, but I keep getting errors. The program is twingaps.exe. What is wrong? Attached Thumbnails
2020-07-20, 09:30   #2
mart_r

Dec 2008
you know...around...

28C16 Posts

Quote:
 Originally Posted by Bobby Jacobs How do I run the twin prime gap program? I have been trying to do it, but I keep getting errors. The program is twingaps.exe. What is wrong?
Apparently the Windows version doesn't run on Mac PCs. Have you tried the Linux version? I think it's this one: https://www.mersenneforum.org/showpo...&postcount=142

I'm not quite an expert in program compatibility on different systems, so I can't be of any further help here I'm afraid.

May I suggest this discussion to be attached to the twin prime gap search thread (maybe after Bobby has read my reply) - thanks in advance.

2020-07-20, 09:38   #3
paulunderwood

Sep 2002
Database er0rr

2·11·167 Posts

Quote:
 Originally Posted by Bobby Jacobs How do I run the twin prime gap program? I have been trying to do it, but I keep getting errors. The program is twingaps.exe. What is wrong?
I think you are conflating compiling with gcc and running an executable. Try the command without gcc -c prepended. You might have to start with ./twingaps.exe

Last fiddled with by paulunderwood on 2020-07-20 at 09:40

 2020-07-30, 22:26 #4 Bobby Jacobs     May 2018 2·107 Posts The program does not seem to be working on my computer, so I will let you have the range. I guess it was OK for you to have an infinite range. By the way, the reason that I started a new thread is because the other thread about twin primes is getting long. I might reserve another range later if I can figure it out on my computer.
2020-11-15, 09:28   #5
pinhodecarlos

"Carlos Pinho"
Oct 2011
Milton Keynes, UK

26×7×11 Posts

Too late but this is how I managed to run the client under windows.

1) Create a batch file called "test0.bat" with

Code:
@echo off

SET kmin="1.15e16"
SET kmax="1.16e16"
SET mingap=4000

twingaps0.exe -k1 %kmin% -k2 %kmax% -mingap %mingap%

2) Create another batch file called "start0.bat" with

Code:
test0.bat >> logfile0.txt

3) Rename twingaps.exe to twingaps0.exe
4) On start0.bat change "SET" for your range
5) Start testing with test0.bat (core0).

6) Example attached
7)No checkpoints available so you will need to control your progress throughout the logfile.txt
Attached Files
 core0.zip (1.11 MB, 77 views)

 Similar Threads Thread Thread Starter Forum Replies Last Post hunson Twin Prime Search 6 2020-07-12 19:15 hal1se Miscellaneous Math 13 2018-11-05 16:34 hydeer Lone Mersenne Hunters 9 2018-04-03 22:54 mathPuzzles Math 10 2017-06-24 08:41 cuBerBruce Puzzles 3 2014-12-01 18:15

All times are UTC. The time now is 00:07.

Sat May 15 00:07:47 UTC 2021 up 36 days, 18:48, 0 users, load averages: 2.45, 2.22, 2.04