On 9/03/2010 12:22 PM, Justin A. Lemkul wrote:


Dian Jiao wrote:
Hi gmx users,

I was running g_mindist as a batch job for a big number of files on a
pbs cluster. The huge amount of output was redirected to the error
file which has a size limit. Is there way to discard the output of
g_mindist. I tried /dev/null as below, it didn't work.

g_mindist -f tra.pdb -n tra.ndx-od log < grp.txt > /dev/null

where grp.txt is a input file which specifies the groups.


Use &>/dev/null. You can also use the -quiet flag (hidden option) to
suppress some of the information printed out by any of the Gromacs tools.

Or, depending on your shell, redirect both stdout and stderr to files so that you get to keep the output for when you need it. (Presumably only the PBS stderr is subject to the limitation you're running into. A child process stderr won't be.)

Mark
--
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to