mersenneforum.org > YAFU YAFU on MacOS X
 Register FAQ Search Today's Posts Mark Forums Read

 2012-02-14, 23:44 #1 cgy606   Feb 2012 32·7 Posts YAFU on MacOS X I just got a Mac and was wondering how to run yafu on it? The downloads are for windows and linux.
2012-02-15, 04:47   #2
bsquared

"Ben"
Feb 2007

3×19×59 Posts

Quote:
 Originally Posted by cgy606 I just got a Mac and was wondering how to run yafu on it? The downloads are for windows and linux.
I don't have a Mac, so I can't easily provide a download. It should compile just fine though, and I encourage you to try. You will also need to compile gmp, gmp-ecm, and msieve.

2012-02-21, 04:32   #3
bsquared

"Ben"
Feb 2007

64438 Posts

Some hints for building yafu on a mac:

Get GMP, GMP-ECM, and msieve, and install them so that they exist parallel to the yafu install. i.e.:

Code:
yafu
build.vc10

gmp
build.vc10

gmp-ecm
build.vc10

msieve
build.vc10
Note that msieve should be compiled with NO_ZLIB=1 ECM=1

Then you should be able to build yafu with:
Quote:
 make x86_64 NFS=1
I've only seen this work with 64 bit systems. If anyone has gotten it to work on 32 bit, let me know.

Last fiddled with by bsquared on 2012-02-21 at 04:33 Reason: code instead of quote

 Similar Threads Thread Thread Starter Forum Replies Last Post EdH YAFU 8 2018-03-14 17:22 johnadam74 YAFU 4 2017-05-22 16:25 xilman Msieve 8 2017-05-20 00:12 ixfd64 Software 0 2017-05-11 17:25 schneelocke Software 9 2005-12-31 02:55

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

Thu Jan 28 06:01:14 UTC 2021 up 56 days, 2:12, 0 users, load averages: 2.28, 2.40, 2.44