Ivanhoe 57

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
roadrunner
Posts: 5
Joined: Fri Jun 11, 2010 3:05 pm
Real Name: 1P8GBL

Ivanhoe 57

Post by roadrunner » Sun Jun 20, 2010 6:01 pm

57 version AS IS (x64 pgo) http://www.megaupload.com/?d=MRIMR7QQ

From bankuss

User avatar
DaveD
Posts: 38
Joined: Thu Jun 10, 2010 3:04 am

Re: Ivanhoe 57

Post by DaveD » Sun Jun 20, 2010 6:03 pm

roadrunner wrote:57 version AS IS (x64 pgo) http://www.megaupload.com/?d=MRIMR7QQ

From bankuss
Is there a 32-bit version?

royb
Posts: 44
Joined: Thu Jun 10, 2010 1:09 am

Re: Ivanhoe 57

Post by royb » Sun Jun 20, 2010 6:05 pm

DaveD wrote:
roadrunner wrote:57 version AS IS (x64 pgo) http://www.megaupload.com/?d=MRIMR7QQ

From bankuss
Is there a 32-bit version?
How about a 32/64 bit Linux executable?

TheKnilch
Posts: 12
Joined: Thu Jun 10, 2010 5:10 pm

Re: Ivanhoe 57

Post by TheKnilch » Sun Jun 20, 2010 6:23 pm

How about, downloading the source files, typing MAKE and having an executable?

It's far more easy.

TK

User avatar
xshat
Posts: 98
Joined: Sat Jun 19, 2010 10:44 am

Re: Ivanhoe 57

Post by xshat » Sun Jun 20, 2010 6:25 pm

TheKnilch wrote:How about, downloading the source files, typing MAKE and having an executable?

It's far more easy.

TK
I installed Cygwin, GCC + Make packages and I still get about 50 errors when I try to compile using MAKE command. I even removed the 64 bit define and other 64 bit stuff and it still didn't work. So, I can't even get the linux exe to compile. If anyone can post the 32 bit exe I think you can just throw in the cygwin dll and should work.

royb
Posts: 44
Joined: Thu Jun 10, 2010 1:09 am

Re: Ivanhoe 57

Post by royb » Sun Jun 20, 2010 7:33 pm

TheKnilch wrote:How about, downloading the source files, typing MAKE and having an executable?

It's far more easy.

TK
Great idea -- if only the source were available somewhere. I've not found it yet...

Can someone provide a link to the source for this version?

Thanks

TheKnilch
Posts: 12
Joined: Thu Jun 10, 2010 5:10 pm

Re: Ivanhoe 57

Post by TheKnilch » Sun Jun 20, 2010 7:41 pm

Hi all,

32/64 Bit Compile from Ahmed for Windows Users
http://www.speedyshare.com/files/230...vanHoe_T57.rar

57 Sources for Linux / Mac Users
http://ippolit.wikispaces.com/file/d...9957a-Beta.tar

Greetings
TK

User avatar
xshat
Posts: 98
Joined: Sat Jun 19, 2010 10:44 am

Re: Ivanhoe 57

Post by xshat » Sun Jun 20, 2010 7:49 pm

I have finally been able to get my own 32 bit compile of Ivan58m to work after some changes to the source code. There were several errors when compiling so it may be buggy or crash. I will try to work on the 57 version next to see if I can learn more or improve compiles.

Here's the link to my own compile: http://www.mediafire.com/?jjn0i3hdgnq

Here's the instructions I used to modify the source:

Code: Select all

There is just a line missing:
#include <sys/time.h>
at line 190 of utility.c

The default compile is 64 bits, so I had to remove the -Dx86_64 in the makefile, but you may not have the same problem (I'm using 32 bits).


input.c:
after line 1133:
#include <io.h>
added
#include <conio.h>

SMP_init.c
function NANO_SLEEP:
void NANO_SLEEP (int x)
{
struct timespec TS[1];
TS->tv_sec = 0;
TS->tv_nsec = x;
nanosleep (TS, NULL);
}
changed into
INLINE void NANO_SLEEP (int x)
{
#ifdef WINDOWS
Sleep(x / 1000000);
#else
struct timespec TS[1];
TS->tv_sec = 0;
TS->tv_nsec = x;
nanosleep (TS, NULL);
#endif
}

changed line 104:
{ LPDWORD w; do { GetExitCodeThread (x, &w); } while (w != STILL_ACTIVE);
in
{ DWORD w; do { GetExitCodeThread (x, &w); } while (w != STILL_ACTIVE); }

changed line 120-121
PTHREAD_DELETE (PTHREAD[cpu]);
pthread_join (PTHREAD[cpu], NULL);
in
#ifdef WINDOWS
PTHREAD_DELETE (&PTHREAD[cpu]);
PTHREAD_JOIN (&PTHREAD[cpu], NULL);
#else
PTHREAD_DELETE (PTHREAD[cpu]);
pthread_join (PTHREAD[cpu], NULL);
#endif

removed line 140
struct timespec TS[1];

replaced line 171-173
TS->tv_sec = 0;
TS->tv_nsec = 1000000; /* 1 ms */
nanosleep (TS, NULL);
with
NANO_SLEEP(1000000);

replaced line 176-178
TS->tv_sec = 0;
TS->tv_nsec = 1000000; /* 1 ms */
nanosleep (TS, NULL);
with
NANO_SLEEP(1000000);


User avatar
xshat
Posts: 98
Joined: Sat Jun 19, 2010 10:44 am

Re: Ivanhoe 57

Post by xshat » Sun Jun 20, 2010 8:16 pm

Here is my IvanHoe57a compile for 32 bit:
http://www.mediafire.com/?ngyz2d3mami

royb
Posts: 44
Joined: Thu Jun 10, 2010 1:09 am

Re: Ivanhoe 57

Post by royb » Sun Jun 20, 2010 9:43 pm

TheKnilch wrote:Hi all,

32/64 Bit Compile from Ahmed for Windows Users
http://www.speedyshare.com/files/230...vanHoe_T57.rar

57 Sources for Linux / Mac Users
http://ippolit.wikispaces.com/file/d...9957a-Beta.tar

Greetings
TK
The link is broken for the Linux source. Can someone take a look and fix it please?

Thanks!

Post Reply