[Wien] runsp_lapw dies offline
Laurence Marks
L-marks at northwestern.edu
Sat Apr 4 18:28:20 CEST 2009
If you close the terminal window in which a task is running, unless
you have redirected I/O and separated the task from the windown you
send a quite command to all children of the sh running in the
terminal.
On Sat, Apr 4, 2009 at 11:08 AM, Yurko Natanzon
<yurko.natanzon at gmail.com> wrote:
> it is quite strange, runsp_lapw is just a csh shell script. what is
> the value of your $SHELL? If it is /bin/csh, *maybe* all csh processes
> die when you close the terminal window.
>
>>nohup ... &
> have you also tried "screen" instead of nohup? it is more powerful and
> it works great, no matter which program are you running inside the
> screen.
>
> regards,
> Yurko
>
> 2009/4/4 <apostnik at uni-osnabrueck.de>:
>> Dear community,
>> I have a mixed Linux-Wien2k question -
>> don't remember it being answered (at least recently);
>> my apologies if I've overlooked the solution.
>>
>> The problem:
>> a shell script containing runsp_lapw ,
>> or apparently the runsp_lapw itself,
>> when started in a terminal session on a remote machine,
>> lives only as long as the terminal session lives
>> (the last WIEN executable does of course continue
>> to its conclusion but the next one from the script crashes).
>> If the session stays on, everything proceeds fine.
>>
>> - Why?
>> - How to avoid?
>>
>> nohup ... &
>> does not help.
>>
>> There must be something related to the contents
>> of run_lapw because other more straightforward scripts do execute
>> correctly in the off-sesion regime.
>>
>> Thanks
>>
>> Andrei Postnikov
>>
>> _______________________________________________
>> Wien mailing list
>> Wien at zeus.theochem.tuwien.ac.at
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>>
>
>
>
> --
> Yurko (aka Yuriy, Iurii, Jurij etc) Natanzon
> PhD student
> Department for Structural Research (NZ31)
> Henryk Niewodniczański Institute of Nuclear Physics
> Polish Academy of Sciences
> ul. Radzikowskiego 152,
> 31-342 Krakow, Poland
> E-mail: Yurii.Natanzon at ifj.edu.pl, yurko.natanzon at gmail.com
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
--
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60208, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L-marks at northwestern dot edu
Web: www.numis.northwestern.edu
Chair, Commission on Electron Crystallography of IUCR
www.numis.northwestern.edu/
Electron crystallography is the branch of science that uses electron
scattering to study the structure of matter.
More information about the Wien
mailing list