Author |
Topic: Segmentation Faults running Occam (Read 1161 times) |
|
moretti
Forum Junior Member
Arimaa player #6472
Gender:
Posts: 6
|
|
Segmentation Faults running Occam
« on: Sep 8th, 2011, 5:07pm » |
Quote 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:
Posts: 605
|
|
Re: Segmentation Faults running Occam
« Reply #1 on: Sep 8th, 2011, 6:00pm » |
Quote 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:
Posts: 6
|
|
Re: Segmentation Faults running Occam
« Reply #2 on: Sep 8th, 2011, 6:10pm » |
Quote 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:
Posts: 605
|
|
Re: Segmentation Faults running Occam
« Reply #3 on: Sep 8th, 2011, 6:29pm » |
Quote 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:
Posts: 6
|
|
Re: Segmentation Faults running Occam
« Reply #4 on: Sep 8th, 2011, 7:39pm » |
Quote 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 |
|
|
|
|