mersenneforum.org  

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

Reply
 
Thread Tools
Old 2007-03-06, 00:52   #1
stevecody
 
Feb 2006

5 Posts
Default 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
stevecody is offline   Reply With Quote
Old 2007-03-09, 20:29   #2
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3×17×23 Posts
Default

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.
Jeff Gilchrist is offline   Reply With Quote
Old 2007-03-19, 23:26   #3
stevecody
 
Feb 2006

5 Posts
Default

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
stevecody is offline   Reply With Quote
Old 2007-03-23, 18:20   #4
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22×229 Posts
Default

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
T.Rex is offline   Reply With Quote
Old 2007-03-23, 20:21   #5
stevecody
 
Feb 2006

5 Posts
Default

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
stevecody is offline   Reply With Quote
Old 2007-03-24, 21:16   #6
brokenjago
 

100100010101112 Posts
Default

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!
  Reply With Quote
Old 2007-03-25, 01:00   #7
stevecody
 
Feb 2006

5 Posts
Default

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
stevecody is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
ARM-based servers... debrouxl Hardware 4 2012-08-24 15:05
Calculating E based on B1 c10ck3r Math 1 2012-02-22 06:29
Intel AVX and GIMPS ixfd64 Hardware 15 2011-04-09 12:05
Intel-based Macintosh ct711 Software 7 2008-09-27 16:49
DWT-based calendar ewmayer Puzzles 7 2007-04-19 22:33

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


Fri Aug 6 06:25:19 UTC 2021 up 14 days, 54 mins, 1 user, load averages: 2.31, 2.59, 2.70

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