mersenneforum.org Carol / Kynea Coordinated Search - Reservations/Status
 Register FAQ Search Today's Posts Mark Forums Read

2018-01-12, 05:22   #111
gd_barnes

May 2007
Kansas; USA

5·2,143 Posts

Quote:
 Originally Posted by wombatman Lucky for you I'm taking tomorrow off from work, so here's a Windows version compiled with the generic x86-64 GCC flags. Try it out and see if it works for you.
Excellent! It works! Thank you!

Perhaps Mark could post this more generic version on his site.

Mark, I will reserve bases 56 and 58 to n=10K. I'll post primes in the other thread.

2018-01-12, 06:35   #112
wombatman
I moo ablest echo power!

May 2013

22·449 Posts

Quote:
 Originally Posted by gd_barnes Excellent! It works! Thank you! Perhaps Mark could post this more generic version on his site. Mark, I will reserve bases 56 and 58 to n=10K. I'll post primes in the other thread.
Very welcome!

2018-01-12, 14:09   #113
rogue

"Mark"
Apr 2003
Between here and the

19·347 Posts

Quote:
 Originally Posted by gd_barnes Make or Makefile are not executables so trying to execute them does not work. When I type "make" or "makefile" at the command prompt it just says: Code: 'make' is not recognized as an internal or external command, operable program or batch file. What does "mingw64" mean? I have not compiled C programs in Windows/Linux before so you are going to have to be very basic here.
mingw64 is an application which give you access to many of the unix command line programs that you are familiar with from Linux, such as grep and diff. It also has gcc/g++, a compiler for C/C++ code. make is another program that is bundled with mingw64 that will build libraries or executables using a makefile, which has the switches and other settings needed to build said library/executable.

mingw64 is free to d/l and install and everything that comes with it is free to use. You just need to add mingw64's bin directory to the PATH environment variable.

For your Linux distro you would need to install the packages that include make and gcc/g++ then you can build.

2018-01-12, 14:13   #114
rogue

"Mark"
Apr 2003
Between here and the

19×347 Posts

Quote:
 Originally Posted by wombatman Lucky for you I'm taking tomorrow off from work, so here's a Windows version compiled with the generic x86-64 GCC flags. Try it out and see if it works for you.
I assume you modified the makefile. Let me know what compile and link switches you used I would guess that you removed "-march=native". In most of my software I avoid using -march as much as possible as it reduces cross-platform compatibility, but not in cksieve as I started with a makefile used by another program. I will eventually make that multi-threaded and when I do it will not use that switch.

2018-01-12, 16:11   #115
wombatman
I moo ablest echo power!

May 2013

22·449 Posts

Quote:
 Originally Posted by rogue I assume you modified the makefile. Let me know what compile and link switches you used I would guess that you removed "-march=native". In most of my software I avoid using -march as much as possible as it reduces cross-platform compatibility, but not in cksieve as I started with a makefile used by another program. I will eventually make that multi-threaded and when I do it will not use that switch.
I changed from "native" to "x86-64" as that appeared to be the most generalized 64-bit flag I could use. That was the only change and it compiled under MinGW and the Win10 Ubuntu bash shell without any other modification needed.

The GLIBC error Gary got appears to be due to using the older version of Ubuntu. From a quick search around, it seems that one simply can't get the appropriate version of GLIBC unless you compile it yourself for the older distros.

Edit: And I set the ARCH flag to x86-64, not sse.

Last fiddled with by wombatman on 2018-01-12 at 16:11

 2018-01-12, 22:31 #116 gd_barnes     May 2007 Kansas; USA 29DB16 Posts Base 56 is complete to n=10K; 3 new primes were found for n=1000-10K; base released. Base 58 is complete to n=10K; 3 new primes were found for n=1000-10K; base released. Reserving base 202 to n=10K.
 2018-01-14, 10:04 #117 gd_barnes     May 2007 Kansas; USA 5·2,143 Posts Base 202 is complete to n=10K; 11 new primes were found for n<=10K; base released. All bases <= 204 are now complete to n=10K. :-) Last fiddled with by gd_barnes on 2018-01-14 at 10:04
 2018-01-17, 01:54 #118 gd_barnes     May 2007 Kansas; USA 5×2,143 Posts For historical reference: All bases shown on the primes page have been doublechecked to n=2500. Base 22 has been doublechecked to n=10K. PRP tests have been run on primes n>2500 for all bases. All corrections have been made. This includes all bases <= 204, 214, 218, 220, 222, 228, 252, 278, 290, 316, 326, 640, 688, 720, 1656, 1968, 2010, 2026, 2264, 2482, and 2634.
 2018-01-17, 03:43 #119 gd_barnes     May 2007 Kansas; USA 5×2,143 Posts Reserving base 34 to n=30K. I will doublecheck it to n=10K.
2018-01-24, 06:52   #120
gd_barnes

May 2007
Kansas; USA

5·2,143 Posts

Base 34 is complete to n=30K. No primes were found for n=10K-30K.

This was unexpected. It is the largest primeless gap for b<38 and n<=30K. It is a fairly heavy weight base and the last prime was at n=8093. For that reason I'm attaching results.

Base 34 was also doublechecked to n=10K. No problems found.
Attached Files
 results-near-squares-base34-10K-30K.txt (383.6 KB, 246 views)

Last fiddled with by gd_barnes on 2018-01-24 at 07:07

2018-01-24, 20:07   #121
sweety439

"99(4^34019)99 palind"
Nov 2016
(P^81993)SZ base 36

23×32×47 Posts

Quote:
 Originally Posted by gd_barnes Base 34 is complete to n=30K. No primes were found for n=10K-30K. This was unexpected. It is the largest primeless gap for b<38 and n<=30K. It is a fairly heavy weight base and the last prime was at n=8093. For that reason I'm attaching results. Base 34 was also doublechecked to n=10K. No problems found.
Don'e forget, the bases b<38 include bases 4, 8, 16, 32 and 36, although they are not shown in the webpage.

 Similar Threads Thread Thread Starter Forum Replies Last Post rogue And now for something completely different 256 2022-05-17 19:50 rogue And now for something completely different 10 2021-10-01 22:17 sweety439 And now for something completely different 3 2020-03-29 23:41 rogue And now for something completely different 37 2016-06-18 17:58 Kosmaj Riesel Prime Search 7 2007-07-13 22:15

All times are UTC. The time now is 08:49.

Sat May 21 08:49:36 UTC 2022 up 37 days, 6:50, 0 users, load averages: 0.72, 1.12, 1.25