> I'm now running md and sometimes encounter " Suspended (tty input)"
> errors, but sometimes it's okay. Would you kindly help me?
This is a UNIX question (rather than an AMBER question) and relates to a
shell process that has been placed in the background yet expects input
from the shell/user.
If you append "&" to a command executed at the shell, it places this in
the background. Sometimes these processes expect input from the shell in
which case the message above is displayed. [You can also place a running
job in the background by typing <ctrl>-Z and then "bg" to put it in the
background. To see what jobs you have running (or in the background) in
the current shell-- assuming csh or tcsh is your shell-- type "jobs -l".
If input is needed either you have to pipe this input into the command or
put the job back into the foreground and supply the info. If you use the
jobs -l command (in csh) you can see a list of the jobs and one of these
will state that it is waiting for input,
<tunnelarch1 123> gzip traj.143 &
[3] 19499
gzip: traj.143.gz already exists; do you wish to overwrite (y or n)?
<tunnelarch1 124> jobs -l
[1] - 19497 Running gunzip traj.143.gz
[2] 19498 Running gunzip traj.142.gz
[3] + 19499 Suspended (tty input) gzip traj.143
"fg %3" will bring this the foreground and you can type "y" or "n" to
overwrite or not in this case.
Consult the WWW for more information on UNIX shell commands.
Good luck.
p.s. to run a sander job in the background and to get all of the
information put out, you want to capture both stdout and stderr.
(sander -O -i mdin -p prmtop >& sander.out )&
will put it in the background and collect output info to a file named
sander.out
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Fri Jan 21 2005 - 00:53:00 PST