[Wien] running wien2k_05 as a background process
Gilles Hug
gilles.hug at onera.fr
Wed Mar 23 15:30:07 CET 2005
I found it also useful to redirect manually the standard output because
in some implementation it not automatically sent to nohup.out :
nohup time run_lapw -p -ec 0.0001 > nohup.out &
Does this command work :
nohup time run_lapw -p -ec 0.0001 > nohup.out </dev/null &
??
I'm not sure about the syntax .
Best
Gilles
Le 22 mars 05, à 21:00, Jeff Spirko a écrit :
> 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
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>
Dr. Gilles Hug
LEM ONERA-CNRS
BP 72
92322 Châtillon
France
+33 1 46 73 45 42
gilles.hug at onera.fr
More information about the Wien
mailing list