IvanHoe 999946 Beta

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Re: IvanHoe 999946 Beta

Post by Prima » Fri Nov 18, 2011 2:20 am

kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:Kingliveson, I really hate to be the bearer of bad news, but someone's got to do the dirty job :lol:

Okay here goes: Your IvanHoe 9.46f and/or RobboBaseLib.dll has the same bug as your previous versions noted in IvanHoe 9.46e & the RobboBaseLib.dll. BTW, I noticed the RobboBaseLib.dll version packaged with IH 9.46f is 0.65b. Not sure what the problem could be. I've included a log file, and captured the error message when IH 9.46f is loaded in Winboard GUI.

I'm really sorry for these. I really am....
What version of Windows?
Windows 7 x64.
Does the 32-bit version have this issue, and also, does 999946a x64 work with the new library?
No. The 32-bit and its RobboBaseLib.dll is playing just fine.
But does 999946a x64 work with the library included in 999946f x64? Also, If you put the library file in the same directory where the engine is, then double click the engine, what happens?
Sorry for late response. Winboard GUI is kind of mechanical, unlike the smooth operation of Fritz, Shredder, Arena GUIs...

Okay, 999946a ( IH 9.46a) works with the RobboBaseLib v 0.65b (RBL.dll) that's packaged with 999946f. So far, no crash and/or error message when 999946a + RBL.dll v0.65b is loaded in Winboard GUI. Also when IH999946a is double clicked, in the presence of RBL 0.65b, it recognizes RBL.dll 0.65b.
I have an idea what is causing your crash. Give me few minutes let me upload a build for you to test and see if it crashes. The library is not the issue.
Thanks for the quick fix on such short notice :D . This fix works. It loads just fine without problems in Winboard GUI and is playing against another engine...

Thank you very much. I appreciate this.

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: IvanHoe 999946 Beta

Post by kingliveson » Fri Nov 18, 2011 2:23 am

Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:Kingliveson, I really hate to be the bearer of bad news, but someone's got to do the dirty job :lol:

Okay here goes: Your IvanHoe 9.46f and/or RobboBaseLib.dll has the same bug as your previous versions noted in IvanHoe 9.46e & the RobboBaseLib.dll. BTW, I noticed the RobboBaseLib.dll version packaged with IH 9.46f is 0.65b. Not sure what the problem could be. I've included a log file, and captured the error message when IH 9.46f is loaded in Winboard GUI.

I'm really sorry for these. I really am....
What version of Windows?
Windows 7 x64.
Does the 32-bit version have this issue, and also, does 999946a x64 work with the new library?
No. The 32-bit and its RobboBaseLib.dll is playing just fine.
But does 999946a x64 work with the library included in 999946f x64? Also, If you put the library file in the same directory where the engine is, then double click the engine, what happens?
Sorry for late response. Winboard GUI is kind of mechanical, unlike the smooth operation of Fritz, Shredder, Arena GUIs...

Okay, 999946a ( IH 9.46a) works with the RobboBaseLib v 0.65b (RBL.dll) that's packaged with 999946f. So far, no crash and/or error message when 999946a + RBL.dll v0.65b is loaded in Winboard GUI. Also when IH999946a is double clicked, in the presence of RBL 0.65b, it recognizes RBL.dll 0.65b.
I have an idea what is causing your crash. Give me few minutes let me upload a build for you to test and see if it crashes. The library is not the issue.
Thanks for the quick fix on such short notice :D . This fix works. It loads just fine without problems in Winboard GUI and is playing against another engine...

Thank you very much. I appreciate this.
Great, what I will do is probably rebuild the x64 Windows binaries and re-upload them.
PAWN : Knight >> Bishop >> Rook >>Queen

Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Re: IvanHoe 999946 Beta

Post by Prima » Fri Nov 18, 2011 2:24 am

kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:
kingliveson wrote:
Prima wrote:Kingliveson, I really hate to be the bearer of bad news, but someone's got to do the dirty job :lol:

Okay here goes: Your IvanHoe 9.46f and/or RobboBaseLib.dll has the same bug as your previous versions noted in IvanHoe 9.46e & the RobboBaseLib.dll. BTW, I noticed the RobboBaseLib.dll version packaged with IH 9.46f is 0.65b. Not sure what the problem could be. I've included a log file, and captured the error message when IH 9.46f is loaded in Winboard GUI.

I'm really sorry for these. I really am....
What version of Windows?
Windows 7 x64.
Does the 32-bit version have this issue, and also, does 999946a x64 work with the new library?
No. The 32-bit and its RobboBaseLib.dll is playing just fine.
But does 999946a x64 work with the library included in 999946f x64? Also, If you put the library file in the same directory where the engine is, then double click the engine, what happens?
Sorry for late response. Winboard GUI is kind of mechanical, unlike the smooth operation of Fritz, Shredder, Arena GUIs...

Okay, 999946a ( IH 9.46a) works with the RobboBaseLib v 0.65b (RBL.dll) that's packaged with 999946f. So far, no crash and/or error message when 999946a + RBL.dll v0.65b is loaded in Winboard GUI. Also when IH999946a is double clicked, in the presence of RBL 0.65b, it recognizes RBL.dll 0.65b.
I have an idea what is causing your crash. Give me few minutes let me upload a build for you to test and see if it crashes. The library is not the issue.
Thanks for the quick fix on such short notice :D . This fix works. It loads just fine without problems in Winboard GUI and is playing against another engine...

Thank you very much. I appreciate this.
Great, what I will do is probably rebuild the x64 Windows binaries and re-upload them.
Thanks. We await for the fix ;)

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: IvanHoe 999946 Beta

Post by kingliveson » Fri Nov 18, 2011 2:53 pm

IvanHoe 999946f has been re-built and re-uploaded after applying a couple bug fixes including one discussed in previous posts, and another of my own introduction.

In addition, ComradesGUI and RobboExplorative, both Java GUIs, are also included.

Image


Image


1e95b026c4db802e7b44544155f9365a IvanHoe999946f.7z

Code: Select all

7950400cfd7536b384d924cd512afcb1  ./ComradesGUI/ComradesGUI.jar
e2e9ce17682a383d9f2db2dc262c4229  ./RobboExplorative/RobboExplorative.jar
0bd62884675c412aea7f6b705c7ad474  ./Linux/Mode_Analysis/x86-64/IvanHoe999946f
136e565d306934a9ead14b3c5a5854b9  ./Linux/Mode_Analysis/x86-32/IvanHoe999946f
4f0df2672bce8850024dd2122879c7c6  ./Linux/Mode_Game_Play/x86-64/RobboBaseLib.so
5fe1324ee9adf6613d134fdb79b02134  ./Linux/Mode_Game_Play/x86-64/IvanHoe999946f
535fd28c732fee3da6a99bf02e9272a8  ./Linux/Mode_Game_Play/x86-32/RobboBaseLib.so
9bff1ca8d02483b240ceaaf433761dbf  ./Linux/Mode_Game_Play/x86-32/IvanHoe999946f
5aaaf537da03f82cf104a3509c6449fa  ./Linux/RobboExplorer/x86-64/RobboExplorer
4425875c019f49b3f789d060c95a9e68  ./Linux/RobboExplorer/x86-32/RobboExplorer
a5783705cbda03d794b916612fe564c1  ./Windows/Mode_Analysis/x86-64/IvanHoe999946f.exe
30c02558c67ac46a415c6192ad6c6434  ./Windows/Mode_Analysis/x86-32/IvanHoe999946f.exe
2c8b9ad58dc30451aeab84421baa9d7c  ./Windows/Mode_Game_Play/x86-64/RobboBaseLib.dll
ee161655fb5dd2b7fb2bcd5ecdcd1571  ./Windows/Mode_Game_Play/x86-64/IvanHoe999946f.exe
42cd4a33195d2f96953ddfc2972532e4  ./Windows/Mode_Game_Play/x86-32/RobboBaseLib.dll
70df9e208a449ea831233cd76a76e400  ./Windows/Mode_Game_Play/x86-32/IvanHoe999946f.exe
fb5882d4ab669a271a56555681c37005  ./Windows/RobboExplorer/x86-64/RobboExplorer.exe
93453297ba8a7fedfb43189b10b2bc16  ./Windows/RobboExplorer/x86-32/RobboExplorer.exe
PAWN : Knight >> Bishop >> Rook >>Queen

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: IvanHoe 999946 Beta

Post by kingliveson » Mon Nov 28, 2011 3:04 am

A little blunder with Linux 32-bit builds is now corrected. They were 64-bit binaries. :oops: The archive has been re-uploaded.

00588ae26276594c2cc6049267ca166c IvanHoe999946f.7z

Code: Select all

da5321cf0ffc1cc6a93262c063c02930  ./Linux/Mode_Analysis/x86-32/IvanHoe999946f
37edfbfbdf216bbdad0ce80584a06134  ./Linux/Mode_Game_Play/x86-32/RobboBaseLib.so
c1ecfe6f2075d615593a090b58ecc279  ./Linux/Mode_Game_Play/x86-32/IvanHoe999946f
e7f249944cedf382cffa2a4c7efbe47c  ./Linux/RobboExplorer/x86-32/RobboExplorer
PAWN : Knight >> Bishop >> Rook >>Queen

stevenaaus
Posts: 9
Joined: Tue Oct 25, 2011 8:53 pm

Re: IvanHoe 999946 Beta

Post by stevenaaus » Fri Dec 02, 2011 9:30 am

Hmmm... I coudn't find any instructions about compiling.

Trying the new 32 bit binaries i get
/lib/libc.so.6: version `GLIBC_2.7' not found

And "make IvanHoe" gives

Code: Select all

gcc -g -O3 -fstrict-aliasing -fomit-frame-pointer -fno-exceptions -Wall -I../include/  -Dx86_64  -DVERSION=\"999946f-RobboLib\" -DEPONYM=\"IvanHoe\" -DCON_ROBBO_BUILD  -DCHESS_960  -DYUSUF_MULTICORE  -DBENCHMARK -DMODE_GAME_PLAY -o utility.o -c utility.c
In file included from ../include/RobboLito.h:175,
                 from utility.c:1:
../include/arrays.h:33: warning: integer constant is too large for ‘long’ type
../include/arrays.h:33: warning: integer constant is too large for ‘long’ type
../include/arrays.h:34: warning: integer constant is too large for ‘long’ type
../include/arrays.h:34: warning: integer constant is too large for ‘long’ type
../include/arrays.h:47: warning: integer constant is too large for ‘long’ type
../include/arrays.h:47: warning: integer constant is too large for ‘long’ type
../include/arrays.h:48: warning: integer constant is too large for ‘long’ type
../include/arrays.h:48: warning: integer constant is too large for ‘long’ type
../include/arrays.h:49: warning: integer constant is too large for ‘long’ type
../include/arrays.h:49: warning: integer constant is too large for ‘long’ type
../include/arrays.h:50: warning: integer constant is too large for ‘long’ type
../include/arrays.h:50: warning: integer constant is too large for ‘long’ type
../include/arrays.h:133: warning: integer constant is too large for ‘long’ type
../include/arrays.h:134: warning: integer constant is too large for ‘long’ type
../include/arrays.h:135: warning: integer constant is too large for ‘long’ type
../include/arrays.h:136: warning: integer constant is too large for ‘long’ type
../include/arrays.h:137: warning: integer constant is too large for ‘long’ type
../include/arrays.h:138: warning: integer constant is too large for ‘long’ type
../include/arrays.h:139: warning: integer constant is too large for ‘long’ type
../include/arrays.h:140: warning: integer constant is too large for ‘long’ type
../include/arrays.h:141: warning: integer constant is too large for ‘long’ type
../include/arrays.h:142: warning: integer constant is too large for ‘long’ type
../include/arrays.h:143: warning: integer constant is too large for ‘long’ type
../include/arrays.h:144: warning: integer constant is too large for ‘long’ type
../include/arrays.h:147: warning: integer constant is too large for ‘long’ type
../include/arrays.h:148: warning: integer constant is too large for ‘long’ type
../include/arrays.h:149: warning: integer constant is too large for ‘long’ type
../include/arrays.h:150: warning: integer constant is too large for ‘long’ type
../include/arrays.h:155: warning: integer constant is too large for ‘long’ type
../include/arrays.h:156: warning: integer constant is too large for ‘long’ type
../include/arrays.h:157: warning: integer constant is too large for ‘long’ type
utility.c: In function ‘InitBitboards’:
utility.c:150: warning: integer constant is too large for ‘long’ type
utility.c:192: warning: integer constant is too large for ‘long’ type
utility.c:195: warning: integer constant is too large for ‘long’ type
utility.c:79: warning: unused variable ‘b’
/tmp/ccmSy009.s: Assembler messages:
/tmp/ccmSy009.s:2006: Error: suffix or operands invalid for `bsf'
/tmp/ccmSy009.s:2024: Error: suffix or operands invalid for `bsf'
make[1]: *** [utility.o] Error 1

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: IvanHoe 999946 Beta

Post by kingliveson » Fri Dec 02, 2011 10:02 pm

stevenaaus wrote:Hmmm... I coudn't find any instructions about compiling.

Trying the new 32 bit binaries i get
/lib/libc.so.6: version `GLIBC_2.7' not found

And "make IvanHoe" gives

Code: Select all

gcc -g -O3 -fstrict-aliasing -fomit-frame-pointer -fno-exceptions -Wall -I../include/  -Dx86_64  -DVERSION=\"999946f-RobboLib\" -DEPONYM=\"IvanHoe\" -DCON_ROBBO_BUILD  -DCHESS_960  -DYUSUF_MULTICORE  -DBENCHMARK -DMODE_GAME_PLAY -o utility.o -c utility.c
In file included from ../include/RobboLito.h:175,
                 from utility.c:1:
../include/arrays.h:33: warning: integer constant is too large for ‘long’ type
../include/arrays.h:33: warning: integer constant is too large for ‘long’ type
../include/arrays.h:34: warning: integer constant is too large for ‘long’ type
../include/arrays.h:34: warning: integer constant is too large for ‘long’ type
../include/arrays.h:47: warning: integer constant is too large for ‘long’ type
../include/arrays.h:47: warning: integer constant is too large for ‘long’ type
../include/arrays.h:48: warning: integer constant is too large for ‘long’ type
../include/arrays.h:48: warning: integer constant is too large for ‘long’ type
../include/arrays.h:49: warning: integer constant is too large for ‘long’ type
../include/arrays.h:49: warning: integer constant is too large for ‘long’ type
../include/arrays.h:50: warning: integer constant is too large for ‘long’ type
../include/arrays.h:50: warning: integer constant is too large for ‘long’ type
../include/arrays.h:133: warning: integer constant is too large for ‘long’ type
../include/arrays.h:134: warning: integer constant is too large for ‘long’ type
../include/arrays.h:135: warning: integer constant is too large for ‘long’ type
../include/arrays.h:136: warning: integer constant is too large for ‘long’ type
../include/arrays.h:137: warning: integer constant is too large for ‘long’ type
../include/arrays.h:138: warning: integer constant is too large for ‘long’ type
../include/arrays.h:139: warning: integer constant is too large for ‘long’ type
../include/arrays.h:140: warning: integer constant is too large for ‘long’ type
../include/arrays.h:141: warning: integer constant is too large for ‘long’ type
../include/arrays.h:142: warning: integer constant is too large for ‘long’ type
../include/arrays.h:143: warning: integer constant is too large for ‘long’ type
../include/arrays.h:144: warning: integer constant is too large for ‘long’ type
../include/arrays.h:147: warning: integer constant is too large for ‘long’ type
../include/arrays.h:148: warning: integer constant is too large for ‘long’ type
../include/arrays.h:149: warning: integer constant is too large for ‘long’ type
../include/arrays.h:150: warning: integer constant is too large for ‘long’ type
../include/arrays.h:155: warning: integer constant is too large for ‘long’ type
../include/arrays.h:156: warning: integer constant is too large for ‘long’ type
../include/arrays.h:157: warning: integer constant is too large for ‘long’ type
utility.c: In function ‘InitBitboards’:
utility.c:150: warning: integer constant is too large for ‘long’ type
utility.c:192: warning: integer constant is too large for ‘long’ type
utility.c:195: warning: integer constant is too large for ‘long’ type
utility.c:79: warning: unused variable ‘b’
/tmp/ccmSy009.s: Assembler messages:
/tmp/ccmSy009.s:2006: Error: suffix or operands invalid for `bsf'
/tmp/ccmSy009.s:2024: Error: suffix or operands invalid for `bsf'
make[1]: *** [utility.o] Error 1

There are a few issues. With regards to not being able to run 32-bit build in the archive, you may need to do an update to your system. What is the output of ldd --version? Mine looks like this:

Code: Select all

ldd (GNU libc) 2.14.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Building errors you see is, one, you are trying to build x86_64 source with 32-bit compiler. You need to make the necessary adjustment in the Makefile [IvanHoeSource]. Second, it appears the developers probably only do their testings in 64-bit OS, so another error you see with bsf is due to:

Code: Select all

static int BSF (uint64 w)
{
  uint64 x;
  asm ("bsfq %1,%0\n": "=&r" (x):"r" (w));
  return x;
}
change it to [RobboBaseLibTester.c]:

Code: Select all

static int BSF (uint64 w)
{
  int x1, x2;
  asm ("bsf %0,%0\n" "jnz 1f\n" "bsf %1,%0\n" "jz 1f\n" "addl $32,%0\n" "1:":
       "=&q" (x1), "=&q" (x2):
       "1" ((int) (w >> 32)), "0" ((int) w));
  return x1;
}
Another approach is to remove "TESTING_SOURCES = RobboBaseLibTester.c" from the Makefile [RobboBaseLib-0.65a].

[Rant]
I personally was thinking of stopping 32-bit binary builds soon. It is setback for progress. If some had it their way, we would still be on 16-bit architecture. But apparently there is still demand...
[/Rant]
PAWN : Knight >> Bishop >> Rook >>Queen

stevenaaus
Posts: 9
Joined: Tue Oct 25, 2011 8:53 pm

Re: IvanHoe 999946 Beta

Post by stevenaaus » Fri Dec 02, 2011 10:25 pm

Thanks.
Sorry for being such a noob.
I found the -Dx86_64 definition in the IvanHoe Makefile, and despite some awful warnings it compiles and runs ok. :)

My main system is ancient BTW (Fedora 7). But you can get away with running an old Linux generally as long as you're prepared to compile everything yourself

Code: Select all

> ldd --version

ldd (GNU libc) 2.6
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: IvanHoe 999946 Beta

Post by kingliveson » Sun Dec 04, 2011 1:32 am

stevenaaus wrote:Thanks.
Sorry for being such a noob.
I found the -Dx86_64 definition in the IvanHoe Makefile, and despite some awful warnings it compiles and runs ok. :)

My main system is ancient BTW (Fedora 7). But you can get away with running an old Linux generally as long as you're prepared to compile everything yourself

Code: Select all

> ldd --version

ldd (GNU libc) 2.6
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Glad you got it working. Fedora 7 is over half a decade old, no wonder... :) Also, I think the Makefile could be a little more friendlier where you don't have to go in and make changes -- it could also use a help option on how to build. By the way, are you maintainer of Scid vs. PC?
PAWN : Knight >> Bishop >> Rook >>Queen

stevenaaus
Posts: 9
Joined: Tue Oct 25, 2011 8:53 pm

Re: IvanHoe 999946 Beta

Post by stevenaaus » Sun Dec 04, 2011 2:24 am

Yes

Post Reply