[Gretl-users] problem with simulation loop times

Sven Schreiber svetosch at gmx.net
Mon Feb 11 04:38:53 EST 2008


Am 11.02.2008 02:22, Allin Cottrell schrieb:
> On Sun, 10 Feb 2008, Riccardo (Jack) Lucchetti wrote:
> 
>> On linux, you have a poor man's version of the --quiet switch, that is
>> redirecting output to /dev/null, as in
>>
>> outfile "/dev/null" --write
>> vecm 2 3 1 2 3
>> outfile "/dev/null" --close
> 
> A couple of observations here.
> 
> First, I've added a portable version of the above:
> 
> outfile null --write
> ...
> outfile --close
> 
> Using the keyword "null" in place of a real filename disables 
> gretl's printing functions -- they become no-ops.

very nice!

> 
> Second, Sven, if you're using plain "gretl" (i.e. gretl_x11) for 
> large-scale simulations, don't.  Use gretlcli instead.  This saves 
> you all the GUI overhead.

Good point -- although with the /dev/null trick it's running ok for me. 
But I'm not sure if what I do already qualifies as "large-scale". 
Anyway, I will experiment a little and see if using gretcli provides 
another noticeable speedup.

thanks,
sven


More information about the Gretl-users mailing list