Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Bot Development >> Segmentation Faults running Occam
(Message started by: moretti on Sep 8th, 2011, 5:07pm)

Title: Segmentation Faults running Occam
Post by moretti on Sep 8th, 2011, 5:07pm
Hi, I'm getting a segmentation fault when I try to run Occam bot (from the download page) using roundrobin.py

This is the bot entry:
[occam]
# command line
cmdline = ../linux_bots/occam/getMove

I'm pretty sure I'm missing something. maybe a parameter?

Thanks!

Title: Re: Segmentation Faults running Occam
Post by rbarreira on Sep 8th, 2011, 6:00pm
If I understand correctly, you're trying to run a quite old bot with the new AEI interface. Older bots used a different interface. So you either have to use the old interface, or a AEI bot.

I'm not sure what, if any sample bots in the download page are AEI-compatible. The one I released a while ago is (not on the download page I believe):

http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=devTalk;action=display;num=1310425745

Title: Re: Segmentation Faults running Occam
Post by moretti on Sep 8th, 2011, 6:10pm
yes, I was just reading about that. I didn't know there was such implementation... btw, I just downloaded your bot and I tried to play against it, but I get broken pipe errors and things like that (I'm using arimaa-client to play against bots offline).

Title: Re: Segmentation Faults running Occam
Post by rbarreira on Sep 8th, 2011, 6:29pm
Did you set the bot_hash and bot_threads options? For example, use something like:

bot_hash = 128
bot_threads = 1

Title: Re: Segmentation Faults running Occam
Post by moretti on Sep 8th, 2011, 7:39pm
now it's working. Sadly... I was doing some wrong things with the timecontrol. somehow the settings where not valid.


works now. Thanks!


BTW, I also got the getMove bots to work with the adapt.py file from arimaa-client. (awesome!)



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.