Skip to content
Snippets Groups Projects
Commit 106666cb authored by Nathan Rini's avatar Nathan Rini Committed by Danny Auble
Browse files

Add description of return code to man pages of sbatch and salloc.

Bug 6208.
parent 0fdc677c
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,11 @@ settings and is designed to be executed in the foreground. If you need to
execute salloc in the background, set its standard input to some file, for
example: "salloc \-n16 a.out </dev/null &"
.SH "RETURN VALUE"
If salloc is unable to execute the user script, it will
return 1 and print errors to stderr. Else if success or if killed by signals
HUP, INT, KILL, or QUIT: it will return 0.
.SH "OPTIONS"
.LP
......
......@@ -36,6 +36,9 @@ allocation of cpus to jobs and tasks.
.br
https://slurm.schedmd.com/cpu_management.html
.SH "RETURN VALUE"
sbatch will return 0 on success or error code on failure.
.SH "OPTIONS"
.LP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment