[ADMB Users] windows version of admb
Jim Ianelli
Jim.Ianelli at noaa.gov
Sat Dec 6 10:58:13 PST 2008
This installation worked well (the Rtools28.exe option) and was seamless
with the link that Dave provided below. Thanks for that.
My initial impression is that the compile-time is considerably slower than
the Borland compiler (old version 5.2) . Runtime seems is improved
considerable (all within windows vista 32bit). The Borland compiled code
for a basic assessment model took 39 seconds while the gcc compiled version
took only 25 seconds(no screen IO, I used the redirect ">NUL"). The same
model compiled in "safe" admb mode using the gcc compiler took 33 seconds.
Regarding the distribution of CPU load over the 2 processors was the same in
both cases (appearing to load one by about 1/3 and the other by about 2/3
capacity).
So it seems that using admb with the Borland compiler for development has
advantages (fast compile times, workable debugger) but for execution, the
gcc has clear advantages.
I would like to open the discussion of debuggers. I notice that the rtools
distribution doesn't seem to include the gdb tools or maybe I'm missing
what's commonly used. Have folks that use MSVS C++ had luck configuring the
debugger to work well?
Cheers,
Jim
James Ianelli
REFM Division, Alaska Fisheries Science Center, NOAA
7600 Sand Point Way NE
Seattle WA 98115
Ph. 206 526 6510
-----Original Message-----
From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org]
On Behalf Of Gabor Grothendieck
Sent: Friday, December 05, 2008 1:27 PM
To: Schnute, Jon
Cc: users at admb-project.org
Subject: Re: [ADMB Users] windows version of admb
Rtools28.exe is an automated installer which will isntall
a 4.2.1 binary of g++ together with an various other assorted tools.
See:
http://www.murdoch-sutherland.com/Rtools/
C:\tmp2>g++ --version
g++ (GCC) 4.2.1-sjlj (mingw32-2)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
On Fri, Dec 5, 2008 at 3:48 PM, Schnute, Jon <Jon.Schnute at dfo-mpo.gc.ca>
wrote:
> Dave - Thanks for this. I'd like to try it, but I'm having trouble
> finding a Windows binary version of gcc 4.3.2
> (http://gcc.gnu.org/gcc-4.3/). The seemingly official distribution site
> for Windows versions of gcc
>
> http://sourceforge.net/project/showfiles.php?group_id=2435
>
> suggests that gcc 4.x is still at a testing phase and that the current
> release is gcc 3.4.5. The older release 3.4.2 from 2004 is still
> available.
>
> Do you perhaps mean gcc 3.4.2, rather than gcc 4.3.2 as the name of your
> exe file suggests? If you really are using 4.3.2, where did you get the
> binary distribution for Windows?
>
> Thanks for your help,
> Jon
>
> ******************************************
> Jon Schnute, Scientist Emeritus
> Pacific Biological Station
> 3190 Hammond Bay Road
> Nanaimo, BC V9T 6N7
> CANADA
>
> NEW email: Jon.Schnute at dfo-mpo.gc.ca
> (formerly schnutej at pac.dfo-mpo.gc.ca)
> ******************************************
>
>
> -----Original Message-----
> From: users-bounces at admb-project.org
> [mailto:users-bounces at admb-project.org] On Behalf Of dave fournier
> Sent: Thursday, December 04, 2008 9:25 AM
> To: users at admb-project.org
> Subject: [ADMB Users] windows version of admb
>
>
> I have made a more windows friendly packjage for the mingw32 gcc432
> compiler that you can test if you want.It uses the inno installer.
> give it a try and see what you think.
>
> http://otter-rsch.com/admb-org-rc/setupADMB_gcc432_mingw32.exe
>
>
> --
> David A. Fournier
> P.O. Box 2040,
> Sidney, B.C. V8l 3S3
> Canada
> Phone/FAX 250-655-3364
> http://otter-rsch.com
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users at admb-project.org
http://lists.admb-project.org/mailman/listinfo/users
More information about the Users
mailing list