From 59ba4a0fd4a729bb7a63c8dd0052409c15e953a3 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 26 Nov 2002 02:22:33 +0000 Subject: [PATCH] Define new option -W or --wait, how long to wait after first task exist before killing job. --- doc/man/man1/srun.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/man/man1/srun.1 b/doc/man/man1/srun.1 index 5ae5f9c3655..81f7bec592b 100644 --- a/doc/man/man1/srun.1 +++ b/doc/man/man1/srun.1 @@ -151,6 +151,12 @@ with "#!" followed by the fully qualified pathname of a valid shell. verbose operation. Multiple \fB-v\fR's will further increase the verbosity of .B srun. .TP +\fB\-W\fR, \fB\-\-wait\fR=\fIseconds\fR +Specify how long to wait after the first task terminates before terminating +all remaining tasks. The default value is unlimited. This can be useful to +insure that a a job is terminated in a timely fashion in the event that one +or more tasks terminate prematurely. +.TP \fB\-d\fR, \fB\-\-debug\fR enable debug output. Multiple \fB-d\fR's increase the debug level of .B srun -- GitLab