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
e4798fcf
Commit
e4798fcf
authored
10 years ago
by
Jens Dreger
Committed by
Morris Jette
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Correct PTY use FAQ
parent
9b1bbb1a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/html/faq.shtml
+3
-3
3 additions, 3 deletions
doc/html/faq.shtml
with
3 additions
and
3 deletions
doc/html/faq.shtml
+
3
−
3
View file @
e4798fcf
...
@@ -403,8 +403,8 @@ as part of the process launch.</p>
...
@@ -403,8 +403,8 @@ as part of the process launch.</p>
<p><a name="prompt"><b>12. How can I get shell prompts in interactive
<p><a name="prompt"><b>12. How can I get shell prompts in interactive
mode?</b></a><br>
mode?</b></a><br>
<i>srun -
u
bash -i</i><br>
<i>srun -
-pty
bash -i</i><br>
Srun's <i>-
u
</i> option
turns off buffering of stdout
.
Srun's <i>-
-pty
</i> option
runs task zero in pseudo terminal mode
.
Bash's <i>-i</i> option tells it to run in interactive mode (with prompts).
Bash's <i>-i</i> option tells it to run in interactive mode (with prompts).
<p><a name="batch_out"><b>13. How can I get the task ID in the output
<p><a name="batch_out"><b>13. How can I get the task ID in the output
...
@@ -1931,6 +1931,6 @@ sacctmgr delete user name=adam cluster=tux account=chemistry
...
@@ -1931,6 +1931,6 @@ sacctmgr delete user name=adam cluster=tux account=chemistry
<p class="footer"><a href="#top">top</a></p>
<p class="footer"><a href="#top">top</a></p>
<p style="text-align:center;">Last modified
30 April
2014</p>
<p style="text-align:center;">Last modified
12 June
2014</p>
<!--#include virtual="footer.txt"-->
<!--#include virtual="footer.txt"-->
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