[Wien] running wien2k_05 as a background process

Jeff Spirko spirko at lehigh.edu
Tue Mar 22 21:00:53 CET 2005


On Tue, Mar 22, 2005 at 08:44:15PM +0100, buero at luitz.at wrote:
> On Tue, 22 Mar 2005, Rebecca Nicholls wrote:
> 
> >I am having trouble running WIEN2k_05 as a background process,
> >and I was wondering if anyone else has come across this?
> >I can run run_lapw fine as long as I don't log out.  This is
> >not a problem I had with the previous versions.
> 
> Some shells terminate all child processes when you exit. In such a 
> case you should use the "nohup" command, like e.g.
> 
> nohup run_lapw &
> 

The nohup command will still sometimes allow the job to be killed,
for example if your X terminal crashes.  It's best to redirect stdin
at the same time, which will completely prevent bash from killing
the job.  The output goes to nohup.out.  I don't know about tcsh.

  nohup run_lapw -ec 0.001     </dev/null &

-Jeff Spirko


> Then it's no problem to log out afterwards, the job will continue to run. 
> However all standard output will thereafter be sent to /dev/null and thus 
> is no more accessible. Therefor I rather recommend submitting your job to 
> a "batch" or "at" queue.
> 
> Best
>   Joachim

-- 
Jeff Spirko   spirko at lehigh.edu   spirko at yahoo.com   WD3V   |=>

The study of non-linear physics is like the study of non-elephant biology.

All theoretical chemistry is really physics;
and all theoretical chemists know it. -- Richard P. Feynman 




More information about the Wien mailing list