32 and 64 Bit Intel builds (GCC) are available here: http://www.leakyheap.de/macchess/.
Mary Xmas,
Holger
Stockfish 1.6 (Mac)
Moderators: hgm, Rebel, chrisw
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Stockfish 1.6 (Mac)
Thanks !schlucke wrote:32 and 64 Bit Intel builds (GCC) are available here: http://www.leakyheap.de/macchess/.
Mary Xmas,
Holger
Merry Xmas also to you
-
- Posts: 496
- Joined: Wed Mar 08, 2006 9:45 pm
- Location: Portland, OR
Re: Stockfish 1.6 (Mac)
Note: these have been built to run only on Mac OS X 10.6. When building on 10.6, you need to explicitly build for earlier platforms in order to use appropriate frameworks and older dynamic loader commands. Tord can probably supply details.schlucke wrote:32 and 64 Bit Intel builds (GCC) are available here: http://www.leakyheap.de/macchess/.
Mary Xmas,
Holger
Also, which optimization flags were used? The default is -O3, but there are recent reports of incorrect behavior when using -O2 or -O3. You should probably try a -O1 build and check whether it is stronger.
Ian
-
- Posts: 496
- Joined: Wed Mar 08, 2006 9:45 pm
- Location: Portland, OR
Re: Stockfish 1.6 (Mac)
Also, I've had success with the Apple-specific gcc -fast option when compiling crafty on the Mac. It subsumes -O3 and adds a handful of other speed optimizations.
As it stands, Stockfish 1.6 is the first Mac engine I've tested which has managed to defeat Hiarcs 12.1 in a match at fast time controls. My Mac engine ranking is now:
As it stands, Stockfish 1.6 is the first Mac engine I've tested which has managed to defeat Hiarcs 12.1 in a match at fast time controls. My Mac engine ranking is now:
- Stockfish 1.6
- HIARCS 12.1
- Stockfish 1.5.1
- Rybka 2.2n2 + microwine
- Stockfish 1.4
- Glaurung 2.2
- Toga 1.4 beta5
- Fruit 2.3.1 (SP)
- Crafty 23.1
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Stockfish 1.6 (Mac)
Another option to consider: With Apple's gcc you can create a universal binary, which contains both i386 and x86_64 code. Simply use -arch i386 and -arch x86_64 in both CXXFLAGS and LDFLAGS.
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Stockfish 1.6 (Mac)
I suspect RobboLito would top that list, though I understand if you're reluctant to consider it. It did compile easily on my MacBook running 10.6.2. Just had to make two or three changes (in uci.c and utils.c, if I recall correctly).IanO wrote:Also, I've had success with the Apple-specific gcc -fast option when compiling crafty on the Mac. It subsumes -O3 and adds a handful of other speed optimizations.
As it stands, Stockfish 1.6 is the first Mac engine I've tested which has managed to defeat Hiarcs 12.1 in a match at fast time controls. My Mac engine ranking is now:Ian
- Stockfish 1.6
- HIARCS 12.1
- Stockfish 1.5.1
- Rybka 2.2n2 + microwine
- Stockfish 1.4
- Glaurung 2.2
- Toga 1.4 beta5
- Fruit 2.3.1 (SP)
- Crafty 23.1
Also, you can get a free 30-day trial version of Intel's icc, which still yields faster binaries than gcc.
-
- Posts: 58
- Joined: Thu Apr 09, 2009 1:38 pm
Re: Stockfish 1.6 (Mac)
As I am running on 10.6 I do only 10.6 builds. But you're right, I've to quote that more exactly (perhaps in the filename).Note: these have been built to run only on Mac OS X 10.6. When building on 10.6, you need to explicitly build for earlier platforms in order to use appropriate frameworks and older dynamic loader commands. Tord can probably supply details.
I used the default -O3, but I didn't notice the problems. Perhaps I just missed them, or the GCC 4.2 (from Apple) didn't produce the incorrect behavior.Also, which optimization flags were used? The default is -O3, but there are recent reports of incorrect behavior when using -O2 or -O3. You should probably try a -O1 build and check whether it is stronger.
-
- Posts: 58
- Joined: Thu Apr 09, 2009 1:38 pm
Re: Stockfish 1.6 (Mac)
Thanks. I'll try that with the nect version (1.6.1?).IanO wrote:Also, I've had success with the Apple-specific gcc -fast option when compiling crafty on the Mac. It subsumes -O3 and adds a handful of other speed optimizations.
-
- Posts: 58
- Joined: Thu Apr 09, 2009 1:38 pm
Re: Stockfish 1.6 (Mac)
I know, but I have no PPC to test the build. And are all the bitfiddling tricks working on a PPC? I've tried carfty on IBM POWER6, the result was horrible in terms of nodes per second ...zullil wrote:Another option to consider: With Apple's gcc you can create a universal binary, which contains both i386 and x86_64 code. Simply use -arch i386 and -arch x86_64 in both CXXFLAGS and LDFLAGS.
-
- Posts: 58
- Joined: Thu Apr 09, 2009 1:38 pm
Re: Stockfish 1.6 (Mac)
I won't provide a Robbo build, for obvious reasons!zullil wrote:I suspect RobboLito would top that list, though I understand if you're reluctant to consider it. It did compile easily on my MacBook running 10.6.2. Just had to make two or three changes (in uci.c and utils.c, if I recall correctly).IanO wrote:Also, I've had success with the Apple-specific gcc -fast option when compiling crafty on the Mac. It subsumes -O3 and adds a handful of other speed optimizations.
As it stands, Stockfish 1.6 is the first Mac engine I've tested which has managed to defeat Hiarcs 12.1 in a match at fast time controls. My Mac engine ranking is now:Ian
- Stockfish 1.6
- HIARCS 12.1
- Stockfish 1.5.1
- Rybka 2.2n2 + microwine
- Stockfish 1.4
- Glaurung 2.2
- Toga 1.4 beta5
- Fruit 2.3.1 (SP)
- Crafty 23.1
Also, you can get a free 30-day trial version of Intel's icc, which still yields faster binaries than gcc.
I currently have no Intel C on my box at home and the one at work has gone to another department
Can I reinstall the trail after 30 days? I guess not!?