[gmx-users] gmx tools output option

David spoel at xray.bmc.uu.se
Sun Nov 14 10:05:08 CET 2004

On Sat, 2004-11-13 at 18:42 -0800, Sidney Elmer wrote:
> Hi,
> I am just wondering if there is any way to specify the output file to
> be STDOUT in the gmx tools? As far as I know, I am always required to
> give a filename or the output is directed to the default filename. In
> order to make scripting easier when doing analysis with gmx tools, it
> would be nice to be able to redirect the output to STDOUT.  Thanks.
There is no straightforward way, although it probably could be
implemented, e.g. by specifying "-" as the output file name. However
some programs write more than one file and in addition they write to the
stdout as well, e.g. g_energy writes the averages etc. This would then
be mixed with your other output and you would have to decipher which
part of the output you need. It probably is easier the way it is now,
even for scripting (I do it all the time..)
> Sid
> PS.  Sorry if this should’ve been sent to a different place but I
> couldn’t find a requests page on the website, so this is the only
> other place I could think of sending this request.  Thank you.
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,          75124 Uppsala, Sweden
phone:  46 18 471 4205          fax: 46 18 511 755
spoel at xray.bmc.uu.se    spoel at gromacs.org   http://xray.bmc.uu.se/~spoel

More information about the gromacs.org_gmx-users mailing list