[ADMB Users] mcmc screen output

Allan.Hicks at noaa.gov Allan.Hicks at noaa.gov
Mon Jun 28 16:00:28 PDT 2010


Thanks Steve and Jim,

That is a great idea to pipe the output. I am actually using the system
command in R to run the simulations and set the option
"show.output.on.console=T" to send the ouptut back to an R object.

A quick comparison showed that this saves about 5% of running time,
which over 200 simulations will save me about an hour.

Thanks again,
Allan

----- Original Message -----
From: Jim Ianelli <Jim.Ianelli at noaa.gov>
Date: Monday, June 28, 2010 3:48 pm
Subject: Re: [ADMB Users] mcmc screen output

> and optionally, you could make use of cerr vs cout.  I.e., make 
> your own 
> counter and send it to cerr and execute as follows:
> 
> mymod >NUL
> 
> and the screen will display your cerr statements and dump 
> everything else.
> 
> 
> Jim Ianelli
> NOT sent from my iphone...
> 
> 
> On 6/28/2010 3:31 PM, Steve Martell wrote:
> > Use >NUL this wil suspend all screen output
> >
> > Steve Martell
> > Martell.Steve at gmail.com
> > Sent from my iPhone
> >
> >
> > On 2010-06-28, at 2:14 PM, Allan.Hicks at noaa.gov wrote:
> >
> >> Hi All,
> >>
> >> Does anyone know how to change the frequency at which mcmc 
> output is
> >> displayed to the screen?  For example, instead of the acceptance 
> rate>> reported every 200th mcmc draw, is it possible to have it 
> report every
> >> 1000th?  Screen output can be time consuming and I am trying to 
> reduce>> the time of my simulations.
> >>
> >> The options -nox and -iprint seem to have an effect only during the
> >> estimation portion and not during the mcmc.
> >>
> >> Thanks,
> >> Allan
> >> _______________________________________________
> >> 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