[Pw_forum] Inconsistent behaviour of check_stop_init

Paolo Giannozzi giannozz at democritos.it
Fri Feb 5 15:14:57 CET 2010


On Feb 5, 2010, at 12:33 , Riccardo Di Meo wrote:

> a) exit if an "EXIT" file is found, even at the very start of the  
> execution.
> I think this is the expected behaviour and I would strongly  
> encourage to
> follow this course of action, if possible.

not sure which behavior should be expected, but this is a sensible  
solution.
The removal of the EXIT file is hardly needed: the code removes it  
anyway
before stopping, so the likelihood that a leftover EXIT file may  
cause an
unexpected stop is quite small.

About sending signal to the code: good in theory, a portability hell  
in practice.
The EXIT file is not elegant but it always works (sort of)

Paolo
---
Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222





More information about the Pw_forum mailing list