![]() |
![]() |
#1 |
"Ted Dziuba"
Sep 2013
San Francisco, CA
2 Posts |
![]()
I managed to get mfaktc 0.20 compiled and running on Mac OS X 10.8.4.
I've attached the relevant Makefile for other Mac users. Step 1: Install the Mac CUDA Toolkit from NVIDIA: https://developer.nvidia.com/cuda-downloads Step 2: Get the source code to mfaktc-0.20 here: http://www.mersenneforum.org/mfaktc/...tc-0.20.tar.gz Step 3: Set a couple of environment variables: Code:
export PATH=/Developer/NVIDIA/CUDA-5.5/bin:$PATH export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-5.5/lib:$DYLD_LIBRARY_PATH Step 5: Compile mfaktc Step 6: Run the mfaktc self-tests (they should all pass, at least they do on my iMac), then get factoring! My iMac is now GPU272ing all day long. It's got a built-in GeForce GTX 680MX that can crunch 200 GHz-days/day, so I checked M63475199 from 2^73 to 2^74 in 3.5 hours. |
![]() |
![]() |
![]() |
#2 |
Romulan Interpreter
Jun 2011
Thailand
83×113 Posts |
![]()
Welcome!
And a big thumb up! ![]() Kotgw! |
![]() |
![]() |
![]() |
#3 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
3×107 Posts |
![]()
How easy is it to run trial factoring just on the GPU on my Mac, but not be running P95 on any of the cpu cores?
How would you initiate the factoring to take place? I am presuming in Terminal Thanks |
![]() |
![]() |
![]() |
#4 | |
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
![]() Quote:
mfaktc is a command line program in Widows and Linux, so I imagine the same would be true in OSX. |
|
![]() |
![]() |
![]() |
#5 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
3×107 Posts |
![]()
Thanks
I did just try compiling mfaktc but failed miserably. I really need a refresher on how to do it, so hopefully there will be a Mac user able to assist ![]() |
![]() |
![]() |
![]() |
#6 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
32110 Posts |
![]()
I've just realised that I may not have the latest version of Xcode, so I am downloading it now to see if that helps
|
![]() |
![]() |
![]() |
#7 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
3×107 Posts |
![]() |
![]() |
![]() |
![]() |
#8 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
3×107 Posts |
![]()
The source code is only 178 kb which seems very small, considering those for Linux and Windows versions ...
Last fiddled with by bayanne on 2013-09-21 at 10:45 |
![]() |
![]() |
![]() |
#9 |
"Ted Dziuba"
Sep 2013
San Francisco, CA
2 Posts |
![]()
Bayanne, what errors are you getting?
|
![]() |
![]() |
![]() |
#10 |
"Tony Gott"
Aug 2002
Yell, Shetland, UK
3×107 Posts |
![]()
I have cd into src in mfaktc-0.20 folder
Then when I try to Make I just getting the following, having tried a number of different commands: Bilbo:src tony$ ./make -bash: ./make: No such file or directory Bilbo:src tony$ Makefile.macosx -bash: Makefile.macosx: command not found Bilbo:src tony$ Make Makefile.macosx -bash: Make: command not found As I said not sure what to do for sure ... |
![]() |
![]() |
![]() |
#11 |
Sep 2009
22·3·132 Posts |
![]()
Try cd'ing into the directory and typing "make" (without the quotes). UNIX is case sensitive so make and Make are different commands.
Also try ls which will list the files in the directory, there should be one called Makefile. I don't have a Mac so I'm just guessing it's similar to other UNIX systems. But I hope this helps. Chris |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
compiling GMP-ECM | ATH | GMP-ECM | 69 | 2017-01-04 12:03 |
mfaktc on a Mac | bayanne | GPU Computing | 0 | 2013-10-18 09:59 |
mfaktc (0.20) | fairsky | Software | 9 | 2013-09-24 12:58 |
mfaktc | tichy | GPU Computing | 4 | 2010-12-03 21:51 |
Compiling 24.14 | CBoland | Software | 6 | 2007-08-01 00:11 |