[Pw_forum] What are the return vaules of quantum espresso under different circumstaces
Paolo Giannozzi
p.giannozzi at gmail.com
Wed May 18 19:08:28 CEST 2016
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, <sayandas at physics.iisc.ernet.in> 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
> Pw_forum at pwscf.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20160518/d6e5c34c/attachment.html>
More information about the users
mailing list