mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2012-10-24, 19:51   #56
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×5×401 Posts
Default

Quote:
Originally Posted by Antonio View Post
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
rogue is online now   Reply With Quote
Old 2012-12-20, 09:52   #57
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

34·71 Posts
Default

Discovered what is apparently an arm port of sr2sieve.
https://github.com/matszpk/native-bo...r2sieve-1.8.11
henryzz is offline   Reply With Quote
Old 2012-12-23, 13:41   #58
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

33×31 Posts
Default

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
File Type: pdf xcode.pdf (34.2 KB, 197 views)
ValerieVonck is offline   Reply With Quote
Old 2012-12-23, 13:45   #59
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

33·31 Posts
Default

hmm ...

/Developer/SDKs/MacOSX10.5.sdk

is empty??
ValerieVonck is offline   Reply With Quote
Old 2012-12-23, 14:10   #60
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·5·401 Posts
Default

Quote:
Originally Posted by CedricVonck View Post
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.
rogue is online now   Reply With Quote
Old 2012-12-23, 15:22   #61
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

601510 Posts
Default

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.
rogue is online now   Reply With Quote
Old 2012-12-23, 19:04   #62
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

34516 Posts
Default

it did compile correctly ... very much appreciated!
ValerieVonck is offline   Reply With Quote
Old 2012-12-24, 18:29   #63
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

10111011111112 Posts
Default

Quote:
Originally Posted by rogue View Post
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.
rogue is online now   Reply With Quote
Old 2012-12-24, 19:01   #64
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

33×31 Posts
Default

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,
ValerieVonck is offline   Reply With Quote
Old 2012-12-24, 21:29   #65
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

10111011111112 Posts
Default

Quote:
Originally Posted by CedricVonck View Post
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.
rogue is online now   Reply With Quote
Old 2012-12-28, 20:40   #66
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·5·401 Posts
Default

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.
rogue is online now   Reply With Quote
Reply

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

All times are UTC. The time now is 14:39.

Sun Nov 29 14:39:39 UTC 2020 up 80 days, 11:50, 3 users, load averages: 1.42, 1.39, 1.34

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.