Thomas Kappler created an executable file for Windows 64-bit too on the following website
https://onedrive.live.com/?cid=53e547e3 ... DZcCK96VmU
Donna, a new UCI chess engine by Michael Dvorkin
Moderators: hgm, Rebel, chrisw
-
- Posts: 1643
- Joined: Tue May 20, 2008 4:57 pm
- Location: Augsburg - Germany
-
- Posts: 1643
- Joined: Tue May 20, 2008 4:57 pm
- Location: Augsburg - Germany
Re: My test
AIBiODZcCK96VmU must be added to the given URL for download Donna 1.0 MK x64
Norbert
Norbert
-
- Posts: 41472
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: Donna, a new UCI chess engine by Michael Dvorkin
When I run Donna under ChessGUI, it installs okay, but on its first move just keeps thinking (and displaying the output) until it loses on time.cdani wrote:Hi!
Here it is a 64 bit version:
http://www.andscacs.com/donna/donna1.rar
I had to copy the source in
src\donna (from $GOROOT)
to be able to compile it with
go build -gcflags -B ./donna.go
Also I changed the first import of donna.go:
import (
`donna`
Any suggestions?
gbanksnz at gmail.com
-
- Posts: 41472
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: Donna, a new UCI chess engine by Michael Dvorkin
Works okay on a modern computer, but not on a non-popcount one.Graham Banks wrote:When I run Donna under ChessGUI, it installs okay, but on its first move just keeps thinking (and displaying the output) until it loses on time.cdani wrote:Hi!
Here it is a 64 bit version:
http://www.andscacs.com/donna/donna1.rar
I had to copy the source in
src\donna (from $GOROOT)
to be able to compile it with
go build -gcflags -B ./donna.go
Also I changed the first import of donna.go:
import (
`donna`
Any suggestions?
Guess I need to ask Daniel nicely for a non-popcount 64-bit compile.
gbanksnz at gmail.com
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: Donna, a new UCI chess engine by Michael Dvorkin
I'm sorry that I find no documentation in internet to do this. May be someone with knowledge of Go can do it.Graham Banks wrote: Works okay on a modern computer, but not on a non-popcount one.
Guess I need to ask Daniel nicely for a non-popcount 64-bit compile.
Daniel José - http://www.andscacs.com
-
- Posts: 41472
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: Donna, a new UCI chess engine by Michael Dvorkin
Thanks for replying Daniel.cdani wrote:I'm sorry that I find no documentation in internet to do this. May be someone with knowledge of Go can do it.Graham Banks wrote: Works okay on a modern computer, but not on a non-popcount one.
Guess I need to ask Daniel nicely for a non-popcount 64-bit compile.
Is anybody else able to do this?
gbanksnz at gmail.com
-
- Posts: 41472
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: Donna, a new UCI chess engine by Michael Dvorkin
Strangely enough, Donna works on my Q8200, but not on my Q6600.Graham Banks wrote:Thanks for replying Daniel.cdani wrote:I'm sorry that I find no documentation in internet to do this. May be someone with knowledge of Go can do it.Graham Banks wrote: Works okay on a modern computer, but not on a non-popcount one.
Guess I need to ask Daniel nicely for a non-popcount 64-bit compile.
Is anybody else able to do this?
gbanksnz at gmail.com
-
- Posts: 22
- Joined: Sun Jun 17, 2012 9:45 am
Re: Donna, a new UCI chess engine by Michael Dvorkin
Norbert Raimund Leisner wrote:From Donna's source directory run the build command:
$ go build -gcflags -B ./cmd/donna.go
Best wishes,
Norbert
using the "-B" gc flag (disabeling boundary checking) is a very bad idea.
quoting a go core developer (dave cheney): "It is important to note that -B is an unsupported flag. The goal of Go is a safe language, one where array subscripts are bounds checked when they are not provably safe. Go already elides bounds checks when you use range loops, and future compilers will improve this. It is also important to note that none of the builders test -B so it might even generate incorrect code. In summary, when the compiler improves, -B will go away, so don’t get too attached."
so chances are high that creating an executable with "go build" will solve the problems.
-
- Posts: 22
- Joined: Sun Jun 17, 2012 9:45 am
Re: Donna, a new UCI chess engine by Michael Dvorkin
1. set the enviroment variable GOPATH to where you want the go projekt to residecdani wrote:Hi!
Here it is a 64 bit version:
http://www.andscacs.com/donna/donna1.rar
I had to copy the source in
src\donna (from $GOROOT)
to be able to compile it with
go build -gcflags -B ./donna.go
Also I changed the first import of donna.go:
import (
`donna`
2. "go get github.com/michaeldv/donna/cmd"
3. you will find an executable file named "cmd" in $GOPATH/bin
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: Donna, a new UCI chess engine by Michael Dvorkin
Thanks for the info! Was the first compile I have done in Go. Also the -B flag was proposed by the author of the engine.spambanane wrote:1. set the enviroment variable GOPATH to where you want the go projekt to residecdani wrote:Hi!
Here it is a 64 bit version:
http://www.andscacs.com/donna/donna1.rar
I had to copy the source in
src\donna (from $GOROOT)
to be able to compile it with
go build -gcflags -B ./donna.go
Also I changed the first import of donna.go:
import (
`donna`
2. "go get github.com/michaeldv/donna/cmd"
3. you will find an executable file named "cmd" in $GOPATH/bin
Do you know if this changes something about the problem of Graham?
Daniel José - http://www.andscacs.com