Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Running Windows engines under Linux + xboard howto :) works

Author: Tom Likens

Date: 14:18:54 09/23/05

Go up one level in this thread


On September 23, 2005 at 16:35:56, Anton Worsman wrote:

>On September 23, 2005 at 15:23:00, Tom Likens wrote:
>
>>On September 23, 2005 at 14:19:03, Joshua Shriver wrote:
>>
>>Josh,
>>
>>Thanks for the info.  I'm not sure where the latest version of Zappa is
>>available.  You might try Leo's excellent WBEC site (he has a dropdown
>>download menu that has most a link to most freely available engines).
>>
>>regards,
>>--tom
>>
>>
>>>Good Afternoon,
>>>
>>>    I've tested this on 2 machines, both 32 bit Celeron 700mhz and 1ghz
>>>machines, yes I need to upgrade ;) Running Debian Linux 3.1Ra, with
>>>linux-2.6.11.6 kernel.
>>>
>>>The version of wine I use is "Wine 20050310" which is the stable version within
>>>the latest Debian. I just did "apt-get install wine".
>>>
>>>I'm using "fake-windows" and not an installed windows partition, so windows
>>>really isn't needed at all.
>>>
>>>Both machines have 512megs SDRAM.
>>>
>>>If you wanted to play the engines from the shell you can run "wineconsole
>>>engine.exe" to play. Though if you chmod +x it you can just ./engine.exe to run.
>>>
>>>By chance know where to get the open sourced version of Zappa? If not I'll
>>>search the archives back a week or so, remember seeing a link.
>>>
>>>Take care,
>>>Josh
>>>
>>>>
>>>>Thanks Josh,
>>>>
>>>>This is interesting to say the least.  I do *ALL* my development in Linux and
>>>>then release both a Linux and a Windows version.  By far, the Linux version
>>>>gets the most testing--but using this method, I could test the Windows version
>>>>almost exclusively when planning a release. This would be a huge win for me!
>>>>And as you say it would extend the number of potential opponents to test
>>>>against the engine.
>>>>
>>>>One quick question, you mentioned that you have Wine installed--what are the
>>>>other particulars of your setup?  For example, which version of Linux are you
>>>>running, are you using a 2.4.6 kernel, is your system 32-bit or 64-bit sytem,
>>>>which processor (Intel or AMD) etc. etc.  I'll definitely give this a try
>>>>this weekend.
>>>>
>>>>regards,
>>>>--tom
>
>a few months ago i did some testing of my chess engine, compiled in debian linux
>with gcc, i then ran the same benchmark using 'wine', combined with a version i
>had built in windows with mingw (using the same optimizations).
>to my surprise, i found the version compiled in mingw, and running with wine,
>was roughly 10% faster than the binary built in linux.
>
>your post has made me curious, i now am running slackware 10.2 (without wine).
>is it possible to run winboard + winboard.ini using wine?? thus run all the
>engines and tournaments i used to run under windows, as i have allways preferred
>using winboard to xboard.
>has anyone tried this?
>regards,
>anton.

Hello Anton,

I have the Intel compiler for both Linux and Windows.  I intend to create
a Windows executable and a Linux executable (from the same code base) with
the same compiler switches.  I'm then going to benchmark the two against each
other with one being native Linux and the other being the window's executable
under Wine.  I'll report back what I find out--but it's intriguing to say the
least.  If this works, it will completely change the way I test things.

My only caveat is that my main development system is a 64-bit Athlon box
running SUSE 9.3.  I'm not yet sure how that will change things, but since
it supports 32-bit code out of the box, hopefully not at all.

regards,
--tom



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.