[gmx-users] running in background?

Oliver Beckstein oliver at biop.ox.ac.uk
Thu Apr 15 14:13:01 CEST 2004


> How is it possible to put a simulation running in the
> "background" so that the job continues running
> after closin' the command shell/loggin' off?

Under Linux I use 'nohup' which lets a command ignore hangup signals
(which are emitted by the shell on logout), and redirect all terminal
output into a file (which I delete after the job has completed).

(b)ash:

  nohup mdrun [options] >output.log  2>&1 &

(t)csh:

  nohup mdrun [options] >& output.log &

Oliver


-- 
Oliver Beckstein * oliver at biop.ox.ac.uk
 http://sansom.biop.ox.ac.uk/oliver/





More information about the gromacs.org_gmx-users mailing list