mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   GIMPS on Intel based Mac OS X (https://www.mersenneforum.org/showthread.php?t=7266)

stevecody 2007-03-06 00:52

GIMPS on Intel based Mac OS X
 
I have been working on getting Mlucas or Glucas working on my new Intel Quad Xeon Mac Pro for the last couple of weeks and I cannot get either of them to compile.

I cannot find explicit instructions for compiling the code with the correct GCC options or anything like that. I am desperate to get this working soon.

Can anyone provide some instructions or a binary for a new Intel based Mac?

My specs:

Dual Processor, Dual Core Xeon processors (64 bit)
64 bit Mac OS X 10.4

Thank you!
Steve Cody

Jeff Gilchrist 2007-03-09 20:29

If you are using GCC with glucas you can compile a version that uses 4 threads using this:

./configure CC=gcc --enable-pthread=4
./make

That will create a Makefile to use gcc and 4 threads using the pthread library.

stevecody 2007-03-19 23:26

Thanks for the info. That's pretty cool. Unfortunately, this is what I get when I do a make. This is at the very end. I don't get any errors running configure, just when compiling. Can you help?

ynormm_5.c: In function 'dit_carry_norm_dif_5_mp_sse2':
ynormm_5.c:1034: internal compiler error: output_operand: unterminated assembly dialect alternative
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [ynormm_5.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Thanks!
Steve

T.Rex 2007-03-23 18:20

Steve,
The message you get seems to say that there is a bug in the version of GCC you are using. I would recommend you to get another (more stable) version of GCC for your architecture.
Tony

stevecody 2007-03-23 20:21

Thanks. It may be as simple as that.

I've been corresponding with the author of MLucas and he wants me to try the Intel C compiler. I'm going to give it a shot.

I have, however, come up with a temp solution while I'm away from my system. My Mac is at home for the next 6 weeks or so while I'm travelling the world. :) Just before I left, I installed Sabayon Linux on it. I can dual boot OS X, and Sabayon.

Anyway, right now, I'm running mprime for Linux on it with an instance on each of the four cores and it's running pretty well. That was my goal while I'm on this trip so I might not mess with it until I get home and have OS X running most of the time.

Thanks for looking into my errors.
Steve

brokenjago 2007-03-24 21:16

I am also very interested in finding out how to get this program to work for me on my Mac Pro... I have so much in the way of idle CPU time that goes to waste that could be used on more esoteric things such as this!

stevecody 2007-03-25 01:00

I am still interested in getting this working in OS X. It'll be several weeks before I am back home to work on it. Until then, my processors are pounding away using Sabayon Linux and mprime for Linux.

I'll post information on my progress.

Steve


All times are UTC. The time now is 06:25.

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