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
6dc63b4b
Commit
6dc63b4b
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add copyright notice to patch.
parent
d34fdacc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/ptrace.patch
+31
-8
31 additions, 8 deletions
etc/ptrace.patch
with
31 additions
and
8 deletions
etc/ptrace.patch
+
31
−
8
View file @
6dc63b4b
Without this change TotalView will not operate properly with
/*****************************************************************************\
SLURM launched jobs. We want the tasks to be in a STOPPED
* Copyright (C) 2002 The Regents of the University of California.
state and detached from the slurmd daemon. The default
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
code leaves an extra SIGSTOP pending. Any time the task is
* Written by moe jette <jette1@llnl.gov>.
allowed to process pending signals, it will be stopped again
* UCRL-CODE-2002-040.
and confuse TotalView.
*
===============================================================
* This file is part of SLURM, a resource management program.
* For details, see <http://www.llnl.gov/linux/slurm/>.
*
* SLURM is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* SLURM is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along
* with SLURM; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*****************************************************************************
* Without this change, TotalView will not operate properly with
* SLURM launched jobs on some versions of Linux. We want the tasks
* to be in a STOPPED state and detached from the slurmd daemon.
* The default code leaves an extra SIGSTOP pending. Any time the
* task is allowed to process pending signals, it will be stopped
* again and confuse TotalView.
\*****************************************************************************/
--- ptrace.c 18 Sep 2003 23:50:00 -0000 1.3.2.1.4.1
--- ptrace.c 18 Sep 2003 23:50:00 -0000 1.3.2.1.4.1
+++ ptrace.c 22 Mar 2004 19:58:29 -0000
+++ ptrace.c 22 Mar 2004 19:58:29 -0000
@@ -113,7 +113,10 @@
int ptrace_attach(struct task_struct *ta
@@ -113,7 +113,10 @@
int ptrace_attach(struct task_struct *ta
...
@@ -19,4 +42,4 @@ and confuse TotalView.
...
@@ -19,4 +42,4 @@ and confuse TotalView.
return 0;
return 0;
bad:
bad:
===============================================================
/********************************** END **************************************/
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