Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 7673294baac36ebbdba826e3096b7843 > files > 8

gnugo-3.2-1mdk.ppc.rpm

                 GNU GO INSTALLATION INSTRUCTIONS

Get the most recent tar file from ftp.gnu.org or a mirror (see
http://www.gnu.org/order/ftp.html for a list).

Untar the sources, change to the directory gnugo-3.2. Now do:

   ./configure [OPTIONS]
   make

Several configure options will be explained in detail below.
You do not need to set these unless you are dissatisfied
with GNU Go's performance or wish to vary the experimental
options.

As an example

   ./configure --enable-cache-size=32 --enable-level=8

creates a 32 Mb cache in RAM and sets the level to 8. Both these
defaults can be overridden at run time. If you do not specify any
options, the default level is 10 (highest supported) and the
default cache size is 8. These defaults are probably suitable for
most systems unless GNU Go seems too slow.

You have now made a binary called interface/gnugo. Now
(running as root) type

   make install

to install gnugo in /usr/local/bin. This will also install the man
page gnugo.6 into /usr/man/man6. Fuller documentation can be found
in the doc/ directory. (See THE MANUAL below.)
  
After you have installed GNU Go, you can save disk space (and still keep
the source files) by typing:

  make clean
  
There are different methods of using GNU Go. You may run it from the
command line by just typing:

   gnugo

but it is nicer to run it using CGoban 1 (under X-Windows) or Jago
(on any platform with a Java runtime environment).

Obtain the most recent version of CGoban 1 from Bill Shubert's web site:
http://www.igoweb.org/~wms/comp/cgoban/index.html. The CGoban version number
MUST be 1.9.1 at least or it won't work. CGoban 2 will not work.

See the README file for instructions on how to run GNU Go from Cgoban.

                          RAM CACHE

By default, GNU Go makes a cache of 8 Megabytes in RAM for its
internal use. The cache is used to store intermediate results during
its analysis of the position.

Increasing the cache size will often give a modest speed improvement.
If your system has lots of RAM, consider increasing the cache
size. But if the cache is too large, swapping will occur,
causing hard drive accesses and degrading performance. If
your hard drive seems to be running excessively your cache
may be too large. On GNU/Linux systems, you may detect swapping
using the program 'top'. Use the 'f' command to toggle SWAP
display.

You may override the size of the default cache at compile time 
by running one of:

   ./configure --enable-cache-size=n

To set the cache size to n. For example

   ./configure --enable-cache-size=48

creates a cache of size 48. If you omit this, your default
cache size will be 8. You must recompile and reinstall GNU Go
after reconfiguring it by running make and make install.

You may override the compile-time defaults by running gnugo with
the option `--cache-size n', where n is the size (in megabytes) of 
the cache you want, and `--level n' where n is the level desired.
We will discuss setting these parameters next in detail.

                        DEFAULT LEVEL

GNU Go can play at different levels. Up to level 10 is
supported. At level 10 GNU Go is much more accurate but takes
an average of about 1.6 times longer to play than at level 8.

The level can be set at run time using the --level option.
If you don't set this, the default level will be used. You
can set the default level with the configure option
--enable-level=n. For example

./configure --enable-level=9

sets the default level to 9. If you omit this parameter,
the compiler sets the default level to 10. We recommend
using level 10 unless you find it too slow. If you decide
you want to change the default you may rerun configure
and recompile the program.

                            DFA

GNU Go has two versions of the pattern matcher. The default
version uses a Discrete Finite Automaton (DFA). It can be
disabled, giving the old matcher (which was the default in
GNU Go 3.0) with './configure --disable-dfa'.

                     EXPERIMENTAL OPTIONS

--enable-experimental-semeai enables an experimental semeai
module. This will result in an engine that is probably stronger 
but slightly slower and less debugged. It is not guaranteed
that the semeai code could not cause crashes in some situations.

--enable-owl-threats will result in an engine that does more
life and death analysis. It will be stronger but slower.

There are other experimental options but we only mention these.

                            WINDOWS

Windows installation is described in a separate file, called WINDOWS.

                           MACINTOSH

If you have Mac OS X you can build GNU Go using Apple's compiler, 
which is derived from GCC. We recommend adding the flag -no-cpp-precomp
to CFLAGS.

                          THE MANUAL

You can obtain  a printed copy of the  manual by running 'make
gnugo.ps' in  the doc/ directory, then  printing the resulting
postscript file  @file{gnugo.ps}. The manual  contains a great
deal of information about the algorithms of GNU Go. The first
few sections serve as a user's manual.

On platforms supporting info documentation, you can usually
install the manual by executing `make install' (running as
root) from the doc/ directory. The info documentation can
be read conveniently from within Emacs by executing the
command `Control-h i'.