Do these binaries run on your Linux-PC or your Mac?

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 8:29 pm

Do these binaries run on your Linux-PC or your Mac?

Post by Roman Hartmann »

Hi,
I would like to know if the binaries I provide for Linux and Mac on my site do run on any other computers than mine. So if you're running Linux on your PC or own a Mac I would appreciate if you could check if Roce runs on your particular computer and if it does or doesn't what distro/cpu/version you own.

Linux, roce0.037, shared libs: Linux, roce037

Linux, roce0.037, -static: Linux, static, roce037

If you're the owner of a Mac I would like to know if the following binaries run on your computer. The 64-bit version will most probably only run on new intel-Macs. The binaries were compiled with gcc on a Intel-MacBook running Leopard.

Mac, roce0.037, 32-bit: Mac, roce037

Mac, roce03.037, 64-bit: Mac, 64-bit, roce037

Just doubleclick on the binary file and type 'analyze' to see if it works on your particular computer. 'stop' will stop the search. 'quit' will terminate the program.

best regards
Roman
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Do these binaries run on your Linux-PC or your Mac?

Post by BBauer »

On my 64-bit ubuntu I get

Code: Select all

./roce37
Roce version: 0.0370 - Roman's Own Chess Engine
Copyright (C) 2003-2007 Roman Hartmann, Switzerland. All rights reserved.
loading: Roce.cfg

roce: go

input correct ?: go
roce: setboard 2k5/8/3K4/1p6/p7/P7/1B6/8 w - - 

roce: post

input correct ?: post
roce: analyze

 D.   Time    Score  Best line
  1   0.71    3.00   Kd6-c6 
  2   0.71    3.00   Kd6-c6 kc8-d8 
  3   0.71    3.03   Kd6-c6 kc8-d8 Bb2-f6+ kd8-e8 
  4   0.71    3.75   Kd6-c5 b5-b4 Kc5xb4 kc8-d7 
  5   0.72    3.75   Kd6-c5 b5-b4 Kc5xb4 kc8-d7 Kb4xa4 
  6   0.74    3.83   Kd6-c5 b5-b4 Kc5xb4 kc8-c7 Kb4xa4 kc7-d6 
  7   0.86    3.76   Kd6-c5 b5-b4 Kc5xb4 kc8-d7 Kb4xa4 kd7-e6 Ka4-b3 
  8   1.33    3.82   Kd6-c5 kc8-d7 Kc5xb5 kd7-e6 Kb5xa4 ke6-d5 Ka4-b3 
                     kd5-e4 
  9   2.26    3.76   Kd6-c5 b5-b4 Kc5xb4 kc8-d7 Kb4xa4 kd7-e6 Ka4-b3 
                     ke6-d5 Bb2-c3 
 10   5.96    3.85   Kd6-c6 kc8-d8 Kc6xb5 kd8-c7 Kb5xa4 kc7-d6 Ka4-b3 
                     kd6-d5 Bb2-c3 kd5-e4 
 11  19.55    3.85   Kd6-c6 kc8-d8 Bb2-f6+ kd8-c8 Kc6xb5 kc8-d7 Kb5xa4 
                     kd7-e6 Bf6-c3 ke6-d5 Ka4-b3 kd5-e4 
so it seams to run :D
kind regards
Bernhard
Guetti

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Guetti »

Roman Hartmann wrote:Hi,
I would like to know if the binaries I provide for Linux and Mac on my site do run on any other computers than mine. So if you're running Linux on your PC or own a Mac I would appreciate if you could check if Roce runs on your particular computer and if it does or doesn't what distro/cpu/version you own.

Linux, roce0.037, shared libs: Linux, roce037

Linux, roce0.037, -static: Linux, static, roce037

If you're the owner of a Mac I would like to know if the following binaries run on your computer. The 64-bit version will most probably only run on new intel-Macs. The binaries were compiled with gcc on a Intel-MacBook running Leopard.

Mac, roce0.037, 32-bit: Mac, roce037

Mac, roce03.037, 64-bit: Mac, 64-bit, roce037

Just doubleclick on the binary file and type 'analyze' to see if it works on your particular computer. 'stop' will stop the search. 'quit' will terminate the program.

best regards
Roman
I guess you mean Intel-based Macs, because the provided binaries seem not to be universal binaries and thus won't work on a PowerPC-based Mac.
All i get is:
zsh: bad CPU type in executable: roce37m
Eizenhammer

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Eizenhammer »

Hello Roman,

the static version runs fine on debian 4, ubuntu 8.04 and opensuse 10.0.
the dynamically linked version runs fine on the ubuntu and failed on debian and suse because
"version `GLIBC_2.4' not found".

All machines 32 Bit, Athlons.

regards
Peter
User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 8:29 pm

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Roman Hartmann »

Hi Bernhard,
thanks for testing. So at least for Linux it seems to work. There is a problem though as it's running way too slow under Linux but that's probably due using an outdated source file.

best regards
Roman
User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 8:29 pm

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Roman Hartmann »

Hi Peter,
thanks for testing. So at least the statically linked version is portable.

best regards
Roman
User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 8:29 pm

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Roman Hartmann »

Hi Andreas,
I was afraid that the binaries would run only on intel-Macs as I created them on an Intel-Mac. I don't know yet how I can create a universal binary on an Intel-Mac from the commandline. But I'm going to find out if and how that can be done.

Thanks for testing.

best regards
Roman
User avatar
Bo Persson
Posts: 264
Joined: Sat Mar 11, 2006 8:31 am
Location: Malmö, Sweden
Full name: Bo Persson

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Bo Persson »

Roman Hartmann wrote:Hi Andreas,
I was afraid that the binaries would run only on intel-Macs as I created them on an Intel-Mac. I don't know yet how I can create a universal binary on an Intel-Mac from the commandline. But I'm going to find out if and how that can be done.

Thanks for testing.

best regards
Roman
On the other hand, the binaries do seem to work on my Mac Mini, both the 32 bit and the 64 bit version. It complains that it cannot locate the .cfg file, but taht's probably because I just started it from the zip-file.
Guetti

Re: Do these binaries run on your Linux-PC or your Mac?

Post by Guetti »

Roman Hartmann wrote:Hi Andreas,
I was afraid that the binaries would run only on intel-Macs as I created them on an Intel-Mac. I don't know yet how I can create a universal binary on an Intel-Mac from the commandline. But I'm going to find out if and how that can be done.

Thanks for testing.

best regards
Roman
You can pass the -arch flag to gcc, ld, and as. The allowable values are i386 and ppc. You can specify both flags as follows:

-arch ppc -arch i386

This is what the documentation says. I just assume if you specify both flags you would get a universal binary. I never tried this myself. To make it more complicated, there are also the flags -arch ppc64 and -arch x86_64 for 64bit binaries.
ml

Re: Do these binaries run on your Linux-PC or your Mac?

Post by ml »

Works on a Core 2 Duo processor running Fedora Core 7 if run from the terminal. Double-clicking in the GUI only generates a continuously expanding byte stream ("octet stream"), Roce.log. This is the output in the terminal:

Code: Select all

Roce version: 0.0370 - Roman's Own Chess Engine
Copyright (C) 2003-2007 Roman Hartmann, Switzerland. All rights reserved.
loading: Roce.cfg

roce: analyze

 D.   Time    Score  Best line
  1   0.04    0.11   Ng1-f3 
  2   0.04    0.05   Ng1-f3 ng8-f6 
  3   0.05    0.11   Nb1-c3 ng8-f6 Ng1-f3 
  4   0.05    0.05   Nb1-c3 nb8-c6 Ng1-f3 ng8-f6 
  5   0.06    0.11   e2-e4 e7-e5 Nb1-c3 bf8-d6 Ng1-f3 
  6   0.09    0.05   e2-e4 nb8-c6 Ng1-f3 e7-e5 Nb1-c3 bf8-d6 
  7   0.30    0.10   e2-e4 ng8-f6 Nb1-c3 nb8-c6 Ng1-f3 d7-d5 e4xd5 
  8   1.11    0.05   e2-e4 e7-e5 Ng1-f3 ng8-f6 Bf1-d3 bf8-d6 O-O  
                     o-o  
  9   5.22    0.11   Nb1-c3 nb8-c6 d2-d4 d7-d5 Bc1-f4 bc8-e6 Nc3-b5 
                     ra8-c8 Ng1-f3 
 10  15.52    0.05   e2-e4 e7-e5 Ng1-f3 bf8-d6 Nb1-c3 ng8-f6 Bf1-c4 
                     o-o  O-O  nb8-c6 
 11  50.55    0.10   e2-e4 e7-e5 Ng1-f3 bf8-d6 Bf1-c4 ng8-f6 Nf3-g5 
                     o-o  O-O  qd8-e7 Nb1-c3 
>12  55.02    0.77   e2e4 [1/20]    
The Mac binaries probably won't run on my Mac with a PowerPC processor running Panther.