timeout variable


NAME

  timeout -job timeout control variable

DESCRIPTION

The timeout variable controls the amount of time (in seconds) given to GP to attempt to save results before a batch job is interrupted by the operating system. Setting timeout to a positive value causes GP to register a signal request with the operating system. Subsequently, the operating system sends a signal to GP timeout seconds before the end of the batch job. The signal causes GP to interrupt any currently executing run command after completing the current iteration. The successive commands in the GP input file are executed, except for other run commands which are skipped. This is useful if the save and sysfile commands are used after the run command, in which case the wavefunctions and atomic positions can be saved before job completion.

If the timeout variable is zero, the timeout mechanism is disabled.

Note: the timeout mechanism is only available on machines supporting the DPCS job control system (see man dpcs). On DPCS systems, the prm command with the -gt (grace time) option can also be used to interrupt GP jobs in a similar, soft way. For example, "prm -gt 120 <job_id>" sends a signal to GP 2 minutes before actually killing the batch job. This signal causes GP to interrupt its current run command, and skip to subsequent commands.
Signals sent by the prm -gt command are caught irrespective of the value of timeout.

DEFAULT VALUE

0

ALLOWED VALUES

non-negative integers

RELATED INFORMATION
 



GP Home