My Mac seems to have a relatively old version of gcc:

$ g++ -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
--program-prefix= --host=i686-apple-darwin8
--target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
c-24-6-157-150:~ skybrian

But I just installed Xcode 2.4.1 which included a gcc upgrade, so
apparently this is current on OS X.  I'll have to figure out how to
use Xcode and Shark.

- Brian

On 2/22/07, Łukasz Lew <[EMAIL PROTECTED]> wrote:
I do not understand it. Maybe someone does?
I've made some tests on 2 core processors, and I have strange results.
Some of 2 core processors got results exactly 2x times worse than they should.
Why?
I have no idea.
But 2.8 Ghz 2 core works exactly like my 1.4 laptop.


Also version of g++ does matter.
Łukasz

On 2/21/07, Brian Slesinsky <[EMAIL PROTECTED]> wrote:
> The only real change is to link against the Boost libraries I
> installed using DarwinPorts.  Here are the diffs:
>
> -CFLAGS += -Wall #-static #-Wno-long-long -Wextra -Wno-variadic-macros
> +CFLAGS += -Wall -I/opt/local/include -L/opt/local/lib
>
> It's a desktop and I don't see any options for power management.
> Maybe it's just a difference in processors?  It's a two core chip but
> perhaps not as fast at single-threaded apps.  Adding multithreading
> might help.
>
> - Brian
>
> On 2/21/07, Łukasz Lew <[EMAIL PROTECTED]> wrote:
> > On 2/21/07, Brian Slesinsky <[EMAIL PROTECTED]> wrote:
> > > [resending; apologies if you get this twice.]
> > >
> > > Hi,
> >
> > Hi Brian,
> >
> > >
> > > This is my first post to the list, so I'll introduce myself:   I'm a
> > > software developer and just getting started with playing Go.  I read
> > > the article in the Economist and thought that the work on Monte-Carlo
> > > based Go programs sounds promising.  I'm not interested in writing my
> > > own Go program but would like to experiment with improving existing
> > > programs.
> >
> > Have fun ;)
> >
> > >
> > > I built and started libego on an iMac with a 2GHz Intel Core Duo.  The
> > > initial benchmark reports these results:
> > >
> > > Performance:
> > >   100000 playouts
> > >   1.84255 seconds
> > >   54.2727 kpps
> > > Black wins = 43983
> > > White wins = 56017
> > > P(black win) = 0.43983
> > >
> > > Are these numbers to be expected?
> >
> > They are correct, except rather low performance.
> > It should be rather about 80 kpps (kilo playouts per second)
> >
> > There are few possible reasons for this:
> >  - You are using a laptop with power management
> >   - You changed Makefile or some source files to make it compile on Mac?
> >
> > Best Regards,
> > Łukasz Lew
> >
> > >
> > > - Brian
> > > _______________________________________________
> > > computer-go mailing list
> > > computer-go@computer-go.org
> > > http://www.computer-go.org/mailman/listinfo/computer-go/
> > >
> >
> > _______________________________________________
> > computer-go mailing list
> > computer-go@computer-go.org
> > http://www.computer-go.org/mailman/listinfo/computer-go/
> >
>
> _______________________________________________
> computer-go mailing list
> computer-go@computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to