![]() |
|
|
#1 |
|
Feb 2006
5 Posts |
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 |
|
|
|
|
|
#2 |
|
Jun 2003
Ottawa, Canada
3×17×23 Posts |
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. |
|
|
|
|
|
#3 |
|
Feb 2006
5 Posts |
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 |
|
|
|
|
|
#4 |
|
Feb 2004
France
22×229 Posts |
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 |
|
|
|
|
|
#5 |
|
Feb 2006
5 Posts |
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 |
|
|
|
|
|
#6 |
|
100100010101112 Posts |
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!
|
|
|
|
#7 |
|
Feb 2006
5 Posts |
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 |
|
|
|
![]() |
| 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 |