Welcome, Guest. Please Login or Register.
Nov 27th, 2024, 5:35am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Segmentation Faults running Occam »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Segmentation Faults running Occam
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Segmentation Faults running Occam  (Read 1161 times)
moretti
Forum Junior Member
**



Arimaa player #6472

   


Gender: male
Posts: 6
Segmentation Faults running Occam
« on: Sep 8th, 2011, 5:07pm »
Quote Quote Modify Modify

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!
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Segmentation Faults running Occam
« Reply #1 on: Sep 8th, 2011, 6:00pm »
Quote Quote Modify Modify

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
« Last Edit: Sep 8th, 2011, 6:01pm by rbarreira » IP Logged
moretti
Forum Junior Member
**



Arimaa player #6472

   


Gender: male
Posts: 6
Re: Segmentation Faults running Occam
« Reply #2 on: Sep 8th, 2011, 6:10pm »
Quote Quote Modify Modify

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).
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Segmentation Faults running Occam
« Reply #3 on: Sep 8th, 2011, 6:29pm »
Quote Quote Modify Modify

Did you set the bot_hash and bot_threads options? For example, use something like:
 
bot_hash = 128
bot_threads = 1
IP Logged
moretti
Forum Junior Member
**



Arimaa player #6472

   


Gender: male
Posts: 6
Re: Segmentation Faults running Occam
« Reply #4 on: Sep 8th, 2011, 7:39pm »
Quote Quote Modify Modify

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!)
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

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