[ADMB Users] Quiet random effects module?

Coilin Minto mintoc at gmail.com
Fri Aug 24 09:01:06 PDT 2012


Hi Mark,

Not sure if there is a general command line argument to do this but it
could be flexibly hacked by piping the standard output to something
that understands regular expressions, e.g. on my linux machine:

./myadmbreexec | grep -v -P '^Newton|^\sinner|\sf'

filters the standard output removing lines that start with "Newton", "
inner", " f". The arguments "-v" and "-P" supplied to grep invert the
match and implement Perl regular expressions (not available on all
versions of grep). If you want a particular line only that would be
easier again, e.g.

./myadmbreexec | grep '^max'

would only output those lines that start with "max".

All the best,
Coilin

On Thu, Aug 23, 2012 at 11:18 AM, Mark Payne <mpa at aqua.dtu.dk> wrote:
>  Hi,
>
> Is there anyway to quieten the output of ADMB when running in the random effects module? In particular, I'd like to turn off the messages about the interoptimsation... e.g.
>
> Newton raphson 1   f = -550.1180800204573 max g = 2.69206879011108e-12
> Newton raphson 2   f = -550.1180800204576 max g = 1.98241423277068e-12
>  inner maxg = -2.104524721602274e-06  Inner f = -550.1180734707649
>  f = -550.1180734707649 max g = 2.104524721602274e-06
>
> Mark
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list