It is currently Fri May 09, 2025 5:28 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
Offline
 Post subject: What software would you suggest for Mac?
Post #1 Posted: Sun Nov 16, 2014 8:42 am 
Beginner
User avatar

Posts: 17
Liked others: 5
Was liked: 2
Rank: 9k
KGS: 9k
Universal go server handle: fstop
Hi! :)

I would like to get a strong go playing program on my mac, but did not find anything that seemed close to decent. Ideally, it should make use of the gpu power. It would also be nice to have a review function to help me see mistakes in my game (like crazyStone has, i think).

I've seen that Zen can run on mac pros, but the program seems available only on windows... I rather not install windows just for that.

I have a mac pro with 6 core 3.5, 16 gb ram and AMD FirePro D500 3072 MB graphic card. Ios 10.9.5

Any suggestions as what program I should get?

Thanks!

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #2 Posted: Sun Nov 16, 2014 8:45 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
fstop wrote:
Hi! :)

I would like to get a strong go playing program on my mac, but did not find anything that seemed close to decent. Ideally, it should make use of the gpu power. It would also be nice to have a review function to help me see mistakes in my game (like crazyStone has, i think).

I've seen that Zen can run on mac pros, but the program seems available only on windows... I rather not install windows just for that.

I have a mac pro with 6 core 3.5, 16 gb ram and AMD FirePro D500 3072 MB graphic card. Ios 10.9.5

Any suggestions as what program I should get?

Thanks!


I don't remember which, but one of pachi or fuego actually would make use of multi-cpu easily. GPU? No go engine I know is using GPUs afaik.

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net


This post by RBerenguel was liked by: fstop
Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #3 Posted: Sun Nov 16, 2014 1:55 pm 
Lives in sente

Posts: 1045
Liked others: 0
Was liked: 182
When you say strong I am going to assume you meant "significantly stronger than me". So fuego should be OK for now though pachi stronger.


You say "get" and that could be e problem with either of those programs. They are "open source" but all that means is that you can certainly get the source code (but nobody is obligated to provide you with an executable.

Have you ever worked at the command line of your Mac?
Have you ever compiled something from source?

If the answer to both of those is "no" and neither project is offering an already complied executable for your Mac you are going to need some help. Maybe somebody here could provide that if you ask.

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #4 Posted: Sun Nov 16, 2014 2:46 pm 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Mike Novack wrote:
When you say strong I am going to assume you meant "significantly stronger than me". So fuego should be OK for now though pachi stronger.


You say "get" and that could be e problem with either of those programs. They are "open source" but all that means is that you can certainly get the source code (but nobody is obligated to provide you with an executable.

Have you ever worked at the command line of your Mac?
Have you ever compiled something from source?

If the answer to both of those is "no" and neither project is offering an already complied executable for your Mac you are going to need some help. Maybe somebody here could provide that if you ask.


I'm crossing my fingers for a yes-yes, having a Mac Pro.

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #5 Posted: Sun Nov 16, 2014 8:11 pm 
Oza
User avatar

Posts: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Get Windows. :)

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #6 Posted: Mon Nov 17, 2014 7:37 am 
Lives in sente

Posts: 1045
Liked others: 0
Was liked: 182
oren wrote:
Get Windows. :)


Ya work for MS?

That wasn't a reasonable response. It wouldn't even be reasonable if the person said that they had hardware on which an operating system from MS could run (except of course were they running a 'nix of some sort they would be more likely to know how to run from the command line).

Commercial programs might only be made available for a subset of the operating systems in use but the open source programs are available in the sense "at least source code which can be compiled for your machine". The issue we are addressing is perhaps getting help for somebody who doesn't know how to do that for themselves. Note that what I mean by that is perhaps less help than teaching them how to do it for themselves. Another mac user who does know how to compile from source could do that to create a run exec that fstop could them install.

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #7 Posted: Mon Nov 17, 2014 7:39 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Mike Novack wrote:
oren wrote:
Get Windows. :)


Ya work for MS?

That wasn't a reasonable response. It wouldn't even be reasonable if the person said that they had hardware on which an operating system from MS could run (except of course were they running a 'nix of some sort they would be more likely to know how to run from the command line).

Commercial programs might only be made available for a subset of the operating systems in use but the open source programs are available in the sense "at least source code which can be compiled for your machine". The issue we are addressing is perhaps getting help for somebody who doesn't know how to do that for themselves. Note that what I mean by that is perhaps less help than teaching them how to do it for themselves. Another mac user who does know how to compile from source could do that to create a run exec that fstop could them install.


Wouldn't work, IIRC both need boost libraries correctly installed and compiled

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #8 Posted: Mon Nov 17, 2014 8:52 am 
Beginner
User avatar

Posts: 17
Liked others: 5
Was liked: 2
Rank: 9k
KGS: 9k
Universal go server handle: fstop
Thank you all :)

I found and bought Sente:Goban at 10$; It uses pachi and easy to install.

It's realy good for 10$ but would rather pay 50$-100$ for more options, like moves suggestions and better game navigation.

By the way, pachi is weird for the fuseki : Openings at sides instead of corners... still WAY better than Gnu-go.

If someone finds something else, keep me posted!

Top
 Profile  
 
Offline
 Post subject: Re: What software would you suggest for Mac?
Post #9 Posted: Mon Nov 17, 2014 9:25 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
fstop wrote:
Thank you all :)

I found and bought Sente:Goban at 10$; It uses pachi and easy to install.

It's realy good for 10$ but would rather pay 50$-100$ for more options, like moves suggestions and better game navigation.

By the way, pachi is weird for the fuseki : Openings at sides instead of corners... still WAY better than Gnu-go.

If someone finds something else, keep me posted!


Whoah, Sen:te used to be free (I have it, didn't pay for it and I wasn't supposed to...). Well, it is a nice app, I guess the developer deserves a little money for its work. I guess if pachi comes bundled, then it is fuego the engine which had more complications with libraries. It was a bad idea installing one just after the other: the details of what was weird mix between both. Pachi can analyse positions, but:

1. It is damn slow for 19x19
2. It is unreliable
3. It is "highly" non-trivial to setup (based on a perl program on the tools directory which IIRC has a bug somewhere)

I wrote my own set of helpers to analyse 9x9 games, but it's not that helpful unless you are fluid with command-line applications. To give some context, invoking it on an OGS game (I analysed with it some games of a Turing tournament) would be:

Quote:
time (tools/sgf2gtp.pl < ~/Downloads/887735-048-rberenguel-ST000MA.sgf | gawk -v START=51 -f ~/Dropbox/Codi/awk/pachi-eval.awk)


So, converting the game to GTP commands, and then passing it through my own "pachi-eval." If someone out there knows some awk and want to play with my highly-non-cleaned-up code, find it below behind spoilers (it is not specially commented, but it can be more or less followed around and removing the comments from debug prints is helpful for it). You'd need cpulimit (a helper program to keep pachi from getting my cpu's at 100%, I'd rather keep them cool and wait a little longer) or removing it from the exec. Paths are hardcoded, YMMV. It generates some files in /tmp/ that can be used to generate some plots.

In my long-term todo list I have using this to auto-generate nice graphs you can check in a browser. Not yet, at all.

Code:
# FUTURE: ./tools/pattern_bayes_gen.sh ~/Downloads/player_games/*.sgf > player-patterns

BEGIN {
    total=4
    commands[1]=""
    move[1]=""
    engine="-e uct"
    plays="-t =10000"
    pachi_exec="cpulimit -l 50 ./pachi"
    pachi=pachi_exec " " engine " " plays " -d 0 dynkomi=none"
    file="/tmp/gorate"
    file2="/tmp/goratemv"
    system("rm " file)
    system("rm " file2)
    pachi_exec "  -a 2>&1 | head -n 2 | tail -n 1\n" | getline
    printf "Using " plays " plays and " engine " engine.\n" $0 "\n\n"
    printf "For each move evaluate the board and generate a next\nmove. Evaluating the board and generating a move give\ndifferent values, even for the same move.\n\nGenerating also /tmp/gorate with format:\n Pwin generated, Evaluate value | -1 , Exact match move? (i.e. like 0.55, -1,  1)\n\n"
}

NR<=4{
    commands[NR]=$0
}

NR==3{
    move[1]=$3
}
NR==4{
    move[2]=$3
}

# Will process output from sgf2gtp, repeating
(NR>4){
    total=total+1
    mvc=NR-3
    commands[NR]=$0
    #printf commands[NR]
    move[mvc]=toupper($3)
    tomove[mvc]=$2
    #printf "Move: " move[NR] "\n"
}

END {
    for(i=1;i<START-3;i++){
   printf move[i] ", , , , -1" >> file2
    }
    for(j=START;j<=total;j++){ #Starts at 5 and evaluates starting at j=Move to study+3
   mvc=j-3
   count=count?0:1
   color="unknown"
   steps=0
   while (color=="unknown"&&steps<5){
       steps=steps+1
       for (i=1;i<=j-1;i++){
#      printf "DEBUG: Issuing command #"i": " commands[i] "\n"
      printf commands[i] "\n" |& pachi
       }
#       printf "DEBUG: Issuing command: evaluate " tomove[mvc] "\n"
       printf "pachi-evaluate " tomove[mvc] "\n" |& pachi
#       printf "DEBUG: Issuing command: genmove " tomove[mvc] "\n"
       printf "genmove " tomove[mvc] "\n" |& pachi
#       printf "DEBUG: Issuing command: pachi-result\n"
       printf "pachi-result\n" |& pachi
#       printf "DEBUG: Issuing command: quit\n"
       printf "quit\n" |& pachi
       countreply=0
       score=""
       while(pachi |& getline >0){
#      printf "DEBUG: " $0 "->" $1 " " $2 " " $3 "\n"
      if ($2!=""){
          # format color move playouts pwin dynkomi for pachi-result
          color=$2
          genmove=$3
          pwin=$5
          if($4==""){
#         print "DEBUG: $4 is null: " $0 " " $1 " " $2
          }
          # For pachi-evaluate, move and pwin
          if(color==move[mvc]&&$3!=""){
#         printf "DEBUG: Match evaluate"
         score=genmove
          }
          if($1==move[mvc]){
#         printf "DEBUG: Match evaluate-2"
         score=$2
          }      
      }
       }
       close(pachi)
   }
   printf pwin ", " >> file
   printf move[mvc] ", " >> file2
   if(score==""){
       printf "-1, " >> file
       printf "-1, " >> file2
   }
   else{
       printf score ", " >> file
       printf score ", " >> file2
   }
   printf genmove ", " pwin ", ">> file2
   if(move[mvc]==genmove){
       printf " 1\n" >> file #Correct hit
       printf " 1\n" >> file2 #Correct hit
   }
   else{
       printf " 0\n" >> file #Wrong hit
       printf " 0\n" >> file2 #Wrong hit
   }
   if(score!=""){
       printf mvc ": Original " tomove[mvc] " move: " move[mvc] " has possible P(win) " score ". Suggested " color " move: " genmove " P(win): " pwin "\n"
   }else{
       printf mvc ": Original " tomove[mvc] " move: " move[mvc] ". Suggested " color " move: " genmove " pwin: " pwin "\n"
   }

    }

    close(pachi)
}

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group