Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
1fcda3ef
Commit
1fcda3ef
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Note srun --pty option not supported on AIX
parent
e891bfd2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man1/srun.1
+2
-1
2 additions, 1 deletion
doc/man/man1/srun.1
src/srun/opt.c
+6
-0
6 additions, 0 deletions
src/srun/opt.c
with
8 additions
and
1 deletion
doc/man/man1/srun.1
+
2
−
1
View file @
1fcda3ef
\." $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
...
...
This diff is collapsed.
Click to expand it.
src/srun/opt.c
+
6
−
0
View file @
1fcda3ef
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment