Skip to content
Snippets Groups Projects
Commit 1fcda3ef authored by Moe Jette's avatar Moe Jette
Browse files

Note srun --pty option not supported on AIX

parent e891bfd2
No related branches found
No related tags found
No related merge requests found
\." $Id$
.\"
.TH SRUN "1" "July 2007" "srun 1.2" "slurm components"
.TH SRUN "1" "July 2007" "srun 1.3" "slurm components"
.SH "NAME"
srun \- run parallel jobs
......@@ -692,6 +692,7 @@ Execute task zero in pseudo terminal.
Implicitly sets \fB\-\-unbuffered\fR.
Implicitly sets \fB\-\-error\fR and \fB\-\-output\fR to /dev/null
for all tasks except task zero.
Not currently supported on AIX platforms.
.TP
\fB\-Q\fR, \fB\-\-quiet\fR
......
......@@ -1877,6 +1877,7 @@ static void set_options(const int argc, char **argv)
opt.get_user_env = true;
break;
case LONG_OPT_PTY:
#ifdef HAVE_PTY_H
opt.pty = true;
opt.unbuffered = true; /* implicit */
if (opt.ifname)
......@@ -1885,6 +1886,9 @@ static void set_options(const int argc, char **argv)
fatal("--output incompatable with --pty option");
if (opt.efname)
fatal("--error incompatable with --pty option");
#else
error("--pty not currently supported on this system type");
#endif
break;
default:
if (spank_process_option (opt_char, optarg) < 0) {
......@@ -2689,7 +2693,9 @@ static void _help(void)
" --multi-prog if set the program name specified is the\n"
" configuration specification for multiple programs\n"
" --get-user-env used by Moab. See srun man page.\n"
#ifdef HAVE_PTY_H
" --pty run task zero in pseudo terminal\n"
#endif
"\n"
"Constraint options:\n"
" --mincpus=n minimum number of cpus per node\n"
......
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