[ADMB Users] Changes in getting/not getting an std file between Versions 9 and 10

Weihai Liu liuweih at msu.edu
Fri Nov 11 10:13:44 PST 2011


I run both ADMB version 9 and 10 on MinGW compiler on windows, your example
in list (2)  can not create .std file on both version and both complain.
also your examples in list(5) both worked on the two version, which they
should. So I guess it may due to the different compiler, you are using
borland. The other thing is you may have to delete the .std file before you
run the test, or at least check the time stamp of the file.

weihai



On Mon, Nov 7, 2011 at 9:39 AM, Larry Jacobson <ljacobso at mercury.wh.whoi.edu
> wrote:

> Folks-
>
> 1) I have an observation, a suggestion and a request for information about
> convergence and std file generation in ADMB Version 10 in Windows (Borland
> compiler).
>
> 2) Observation: Version 10 in Windows does not give an std file after in
> some cases were Version 9 did.
>
> In particular, Version 10 seems to be pickier and will not generate an std
> file unless all of the parameters and sdreport objects are fully converged.
>  For example,  code like:
>
> PARAMETER_SECTION
>  sdreport_number xx
> PROCEDURE_SECTION
>  xx=0.0;
>
> would generate an std file under version 9 (with the complaint "Estimated
> covariance matrix may not be positive definite") but version 10 does not
> (and it doesn't complain).
>
> 3) Suggestion: I don't have a problem with the new approach but it would
> be helpful to get a diagnostic or a message.  It would be particularly good
> if the offending parameter(s) were identified (is this possible?).
>
> 4) Request: Can someone describe the current algorithm for determining if
> the std file is written?  Is there anything about the algorithm that might
> help locate problems quickly?
>
> 5) I attach a real world example (from Mike Wilberg at the University of
> Maryland, Chesapeake Bay Laboratory).  This code sets certain elements of
> an sdreport_vector called qr to zero (which admittedly it shouldn't do).
>  Anyway, the tpl prefixed NO_ generates an std file under version 9 but not
> under version 10.  The tpl prefixed YES_ generates an std file under both
> versions.  The only difference between the two is that the vector qr is a
> vector in NO_ and an sdreport_vector in YES_ (see line 167).
>
> 6) I am getting anal in my old age...
>
> Cheers!
>
>
> --
>
>
> **********************
> "The contents of this message do not reflect
>  any position of the Government or NOAA."
> **********************
> Larry Jacobson
> National Marine Fisheries Service
> Northeast Fisheries Science Center
> 166 Water Street
> Woods Hole, MA 02543-1026
> Voice: 508-495-2317
> Fax: 508-495-2393
> E-mail: larry.jacobson at noaa.gov
> **********************
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20111111/fd31ea55/attachment.html>


More information about the Users mailing list