What software would you suggest for Mac?

For discussing go computing, software announcements, etc.
Post Reply
User avatar
fstop
Beginner
Posts: 17
Joined: Sun Nov 16, 2014 8:09 am
Rank: 9k
GD Posts: 0
KGS: 9k
Universal go server handle: fstop
Has thanked: 5 times
Been thanked: 2 times

What software would you suggest for Mac?

Post by 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!
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
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
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: What software would you suggest for Mac?

Post by RBerenguel »

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
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: What software would you suggest for Mac?

Post by Mike Novack »

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.
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
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
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: What software would you suggest for Mac?

Post by RBerenguel »

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
User avatar
oren
Oza
Posts: 2777
Joined: Sun Apr 18, 2010 5:54 pm
GD Posts: 0
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Location: Seattle, WA
Has thanked: 251 times
Been thanked: 549 times

Re: What software would you suggest for Mac?

Post by oren »

Get Windows. :)
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: What software would you suggest for Mac?

Post by Mike Novack »

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.
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
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
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: What software would you suggest for Mac?

Post by RBerenguel »

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
User avatar
fstop
Beginner
Posts: 17
Joined: Sun Nov 16, 2014 8:09 am
Rank: 9k
GD Posts: 0
KGS: 9k
Universal go server handle: fstop
Has thanked: 5 times
Been thanked: 2 times

Re: What software would you suggest for Mac?

Post by 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!
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
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
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: What software would you suggest for Mac?

Post by RBerenguel »

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:
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: Select all

# 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
Post Reply