Currently, 255, at least for PWscf: !---------------------------------------------------------------------------- SUBROUTINE run_pwscf ( exit_status )
!---------------------------------------------------------------------------- ! ! ... Run an instance of the Plane Wave Self-Consistent Field code ! ... MPI initialization and input data reading is performed in the ! ... calling code - returns in exit_status the exit code for pw.x, ! ... returned in the shell. Values are: ! ... * 0: completed successfully ! ... * 1: an error has occurred (value returned by the errore() routine) ! ... * 2-127: convergence error ! ... * 2: scf convergence error ! ... * 3: ion convergence error ! ... * 128-255: code exited due to specific trigger ! * 255: exit due to user request, or signal trapped, ! or time > max_seconds ! ... (note: in the future, check_stop_now could also return a value ! ... to specify the reason of exiting, and the value could be used ! .. to return a different value for different reasons) On Wed, May 18, 2016 at 7:05 PM, <[email protected]> wrote: > Dear all, > I want to write a script that would automatically restart a job if maximum > time limit has reached for that I need to now what is value returned to > the operating system by pw.x once the time limit has exceeded. > Thanks, > Sayan > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > _______________________________________________ > Pw_forum mailing list > [email protected] > http://pwscf.org/mailman/listinfo/pw_forum > -- Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche, Univ. Udine, via delle Scienze 208, 33100 Udine, Italy Phone +39-0432-558216, fax +39-0432-558222
_______________________________________________ Pw_forum mailing list [email protected] http://pwscf.org/mailman/listinfo/pw_forum
