mersenneforum.org srsieve/sr2sieve enhancements
 Register FAQ Search Today's Posts Mark Forums Read

2012-10-24, 19:51   #56
rogue

"Mark"
Apr 2003
Between here and the

22·52·59 Posts

Quote:
 Originally Posted by Antonio Tried that (for -P anyway), but no joy - just returns 'argument malformed'. Tried it as -P2b37, -P 2b37, -P2b 37, all variations return the same error. I noticed it will accept -P137e9 (ie standard decimal form) which makes life easier.
Apparently sr1sieve does not support that although ppsieve does. It shouldn't be hard to add

 2012-12-20, 09:52 #57 henryzz Just call me Henry     "David" Sep 2007 Cambridge (GMT/BST) 10110010110102 Posts Discovered what is apparently an arm port of sr2sieve. https://github.com/matszpk/native-bo...r2sieve-1.8.11
2012-12-23, 13:41   #58
ValerieVonck

Mar 2004
Belgium

83710 Posts

I have a slight problem when I am trying to compile sr1sieve 1.4.3 from the above link.

uname -a

Code:
Darwin imac-van-cedric-vonck.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
so this a 64 bit machine...

In Xcode I have installed the command line tools (make, gcc, ...)

In the Makefile I did choose the following architecture:

Code:
#ARCH=x86-osx       # Intel x86 with Mac OS X
ARCH=x86-64-osx    # Intel x86_64 with Mac OS X
For the rest the Makefile is untouched.
Then I do make all

Following errors are shown:

Code:
... see attached file ...
All the files are in the same directory.
The only thing I am suspicious is the following:

Code:
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Can anyone please point me in the correct way?
Attached Files
 xcode.pdf (34.2 KB, 188 views)

 2012-12-23, 13:45 #59 ValerieVonck     Mar 2004 Belgium 33·31 Posts hmm ... /Developer/SDKs/MacOSX10.5.sdk is empty??
2012-12-23, 14:10   #60
rogue

"Mark"
Apr 2003
Between here and the

10111000011002 Posts

Quote:
 Originally Posted by CedricVonck Code: /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 Can anyone please point me in the correct way?
I'll fix it and post new sources.

 2012-12-23, 15:22 #61 rogue     "Mark" Apr 2003 Between here and the 22·52·59 Posts I have posted sr1sieve (v 1.4.4) which fixes the build issues on OS X. I need to rebuild on Windows to make sure that platform isn't affected by the changes I made. Most of the changes were just to bring in changes that I had made to sr2sieve a while ago to address these same problems there. There are no other code changes.
 2012-12-23, 19:04 #62 ValerieVonck     Mar 2004 Belgium 15058 Posts it did compile correctly ... very much appreciated!
2012-12-24, 18:29   #63
rogue

"Mark"
Apr 2003
Between here and the

22×52×59 Posts

Quote:
 Originally Posted by rogue I have posted sr1sieve (v 1.4.4) which fixes the build issues on OS X. I need to rebuild on Windows to make sure that platform isn't affected by the changes I made. Most of the changes were just to bring in changes that I had made to sr2sieve a while ago to address these same problems there. There are no other code changes.
The Windows version no longer builds. I think the fix is easy, but I need to do some testing later to verify that what I'm thinking of will work.

 2012-12-24, 19:01 #64 ValerieVonck     Mar 2004 Belgium 33×31 Posts Hi Rogue, just to let you know that I am only seeing a marginal increase in speed. I will test later on my macbook pro (quad core i7) regards,
2012-12-24, 21:29   #65
rogue

"Mark"
Apr 2003
Between here and the

22·52·59 Posts

Quote:
 Originally Posted by CedricVonck Hi Rogue, just to let you know that I am only seeing a marginal increase in speed. I will test later on my macbook pro (quad core i7)
You shouldn't see any speed increase as I haven't made any changes for speed. The last few releases have been focused on fixing build issues between Win64 and OS X.

BTW, sr1sieve and srsieve have the same build issues on OS X as sr2sieve.

 2012-12-28, 20:40 #66 rogue     "Mark" Apr 2003 Between here and the 22·52·59 Posts I have posted srsieve (v 1.0.6), sr2sieve (v 1.9.2), and sr1sieve (v 1.4.6) These should build cleanly on both 64-bit Windows and OS X.

 Similar Threads Thread Thread Starter Forum Replies Last Post henryzz Twin Prime Search 0 2014-03-18 12:44 ixfd64 Hardware 8 2012-02-10 20:32 kar_bon No Prime Left Behind 10 2008-03-28 11:21 Greenbank Octoproth Search 2 2006-12-03 17:28 Reboot It Software 16 2003-10-17 01:31

All times are UTC. The time now is 15:50.

Mon Sep 21 15:50:24 UTC 2020 up 11 days, 13:01, 1 user, load averages: 0.93, 1.39, 1.57