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
7767f275
Commit
7767f275
authored
16 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Note the ptrace.patch is no longer required by most systems.
parent
0e83a255
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
contribs/README
+2
-0
2 additions, 0 deletions
contribs/README
contribs/ptrace.patch
+3
-2
3 additions, 2 deletions
contribs/ptrace.patch
with
5 additions
and
2 deletions
contribs/README
+
2
−
0
View file @
7767f275
...
...
@@ -47,6 +47,8 @@ of the SLURM contribs distribution follows:
modification.
ptrace.patch [ Linux Kernel patch required to for TotalView use ]
0. This has been fixed on most recent Linux kernels. Older versions of
Linux may need this patch support TotalView.
1. gdb and other tools cannot attach to a stopped process. The wait that
follows the PTRACE_ATTACH will block indefinitely.
2. It is not possible to use PTRACE_DETACH to leave a process stopped,
...
...
This diff is collapsed.
Click to expand it.
contribs/ptrace.patch
+
3
−
2
View file @
7767f275
<http://linux.llnl.gov/software/kernel/ptrace.html>
CHAOS
kernels must implement ptrace semantics required by the TotalView
The Linux
kernels must implement ptrace semantics required by the TotalView
debugger. In order to initiate a parallel job under debugger control, a
resource manager or job launch utility must be able to start all tasks
in a stopped state, notify TotalView, and then allow TotalView debugger
...
...
@@ -9,7 +9,8 @@ servers to attach to all tasks. This functionality requires the ability to:
* Detach from a traced process and leave the process stopped
* Attach to a stopped process
Under Linux (CHAOS 1.2), both of the above are impossible without the
Most newer versions of the Linux kernel support this functionality. For
some older Linux kernels, both of the above are impossible without the
following patch by Vic Zandy:
* initial posting <http://seclists.org/linux-kernel/2001/Dec/5146.html>
...
...
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