![]() |
|
|
#111 |
|
May 2009
Russia, Moscow
2,593 Posts |
sr1sieve 1.4.5 and sr2sieve 1.9.3 are both compiled and work well.
I've "patched" srsieve sources, it is now able to compile but crashes with "Floating point exception" error.
|
|
|
|
|
|
#112 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
|
|
|
|
|
|
|
#113 |
|
"Mark"
Apr 2003
Between here and the
635210 Posts |
I think I have some changes I made on my Mac to address some issues, but never ported them back to Windows. I'll take a look tonight.
|
|
|
|
|
|
#114 |
|
Dec 2011
After milion nines:)
23·181 Posts |
Can you in sr1sieve set -f option by default - so you dont have add it in command line ( like in sr2sieve)?
|
|
|
|
|
|
#115 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
|
|
|
|
|
|
#116 |
|
Mar 2004
Belgium
15118 Posts |
Rogue,
when compiling on Mac Os X 10.9 I get the following error: Code:
imac-van-cedric-vonck:srsieve_1.0.7 cedricvonck$ make
gcc -O2 -fomit-frame-pointer -ffast-math -march=k8 -m64 -Wall -DHAVE_CMOV -DUSE_ASM -DNDEBUG -c -o srsieve.o srsieve.c
gcc -O2 -fomit-frame-pointer -ffast-math -march=k8 -m64 -Wall -DHAVE_CMOV -DUSE_ASM -DNDEBUG -c -o arithmetic32.o arithmetic32.c
gcc -O2 -fomit-frame-pointer -ffast-math -march=k8 -m64 -Wall -DHAVE_CMOV -DUSE_ASM -DNDEBUG -c -o arithmetic64.o arithmetic64.c
gcc -O2 -fomit-frame-pointer -ffast-math -march=k8 -m64 -Wall -DHAVE_CMOV -DUSE_ASM -DNDEBUG -c -o bitmap.o bitmap.c
In file included from bitmap.c:18:
In file included from ./memset_fast32.h:21:
./asm-x86-64-gcc.h:394:41: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
"=m" (*(struct { uint_fast32_t dummy[count]; } *)dst)
^
1 error generated.
make: *** [bitmap.o] Error 1
imac-van-cedric-vonck:srsieve_1.0.7 cedricvonck$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
imac-van-cedric-vonck:srsieve_1.0.7 cedricvonck$
Thank you Last fiddled with by ValerieVonck on 2013-11-13 at 09:00 |
|
|
|
|
|
#117 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
|
|
|
|
|
|
|
#118 |
|
Jun 2012
2·53 Posts |
Has the stop on removal rate feature been added to sr1sieve? I have tried using -R and -r, and neither argument is handled by the program...
|
|
|
|
|
|
#119 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
No. -r is used when sieving for RieselSieve and I don't even know if they use it for that project. -R was never added to sr1sieve.
|
|
|
|
|
|
#120 |
|
"Antonio Key"
Sep 2011
UK
32×59 Posts |
While demonstrating srsieve to a friend we happened to try 2^n-1 for n=1 to 1M with the following results in the output file:
Code:
pmin=16481841017 2^n-1 1 3 7 13 17 19 31 61 89 . . . etc (Note. Geoffrey Reynolds' srsieve ver. 0.6.17 doesn't have this problem) |
|
|
|
|
|
#121 |
|
"Mark"
Apr 2003
Between here and the
11000110100002 Posts |
It seems to be something that was introduced in 1.0.7. 1.0.6 has the correct output. I'll look into it.
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sieving twins with srsieve | henryzz | Twin Prime Search | 0 | 2014-03-18 12:44 |
| Intel announces multi-core enhancements for Haswell chips | ixfd64 | Hardware | 8 | 2012-02-10 20:32 |
| LLRnet enhancements | kar_bon | No Prime Left Behind | 10 | 2008-03-28 11:21 |
| TODO list and suggestions/comments/enhancements | Greenbank | Octoproth Search | 2 | 2006-12-03 17:28 |
| Suggestions for future enhancements | Reboot It | Software | 16 | 2003-10-17 01:31 |