mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   srsieve/sr2sieve enhancements (https://www.mersenneforum.org/showthread.php?t=15833)

rogue 2012-10-24 19:51

[QUOTE=Antonio;315818]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.[/QUOTE]

Apparently sr1sieve does not support that although ppsieve does. It shouldn't be hard to add

henryzz 2012-12-20 09:52

Discovered what is apparently an arm port of sr2sieve.
[url]https://github.com/matszpk/native-boinc-for-android/tree/master/src/sr2sieve-1.8.11[/url]

ValerieVonck 2012-12-23 13:41

1 Attachment(s)
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
[/code]

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
[/code]

For the rest the Makefile is untouched.
Then I do make all

Following errors are shown:

[code]
... see attached file ...
[/code]

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
[/code]

Can anyone please point me in the correct way?

ValerieVonck 2012-12-23 13:45

hmm ...

/Developer/SDKs/MacOSX10.5.sdk

is empty??

rogue 2012-12-23 14:10

[QUOTE=CedricVonck;322409][code]
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
[/code]

Can anyone please point me in the correct way?[/QUOTE]

I'll fix it and post new sources.

rogue 2012-12-23 15:22

I have posted [URL="home.roadrunner.com/~mrodenkirch/sr1sieve_1.4.4.zip"]sr1sieve[/URL] (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.

ValerieVonck 2012-12-23 19:04

it did compile correctly ... very much appreciated!

rogue 2012-12-24 18:29

[QUOTE=rogue;322417]I have posted [URL="home.roadrunner.com/~mrodenkirch/sr1sieve_1.4.4.zip"]sr1sieve[/URL] (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.[/QUOTE]

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.

ValerieVonck 2012-12-24 19:01

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,

rogue 2012-12-24 21:29

[QUOTE=CedricVonck;322534]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)[/QUOTE]

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 2012-12-28 20:40

I have posted [URL="home.roadrunner.com/~mrodenkirch/srsieve_1.0.6.zip"]srsieve[/URL] (v 1.0.6), [URL="home.roadrunner.com/~mrodenkirch/sr2sieve_1.9.2.zip"]sr2sieve[/URL] (v 1.9.2), and [URL="home.roadrunner.com/~mrodenkirch/sr1sieve_1.4.5.zip"]sr1sieve[/URL] (v 1.4.6)

These should build cleanly on both 64-bit Windows and OS X.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.