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
d0b71473
Commit
d0b71473
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r11305:11310
https://eris.llnl.gov/svn/slurm/branches/slurm-1.1
parent
6a369502
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
NEWS
+5
-0
5 additions, 0 deletions
NEWS
src/plugins/sched/wiki2/job_signal.c
+9
-0
9 additions, 0 deletions
src/plugins/sched/wiki2/job_signal.c
with
14 additions
and
0 deletions
NEWS
+
5
−
0
View file @
d0b71473
...
...
@@ -268,6 +268,11 @@ documents those changes that are of interest to users and admins.
the code)
-- Added support for OSX build.
* Changes in SLURM 1.1.35
=========================
- In sched/wiki - Add support for CMD=SIGNALJOB to accept option
of VALUE=SIGXXX in addition to VALUE=# and VALUE=XXX options
* Changes in SLURM 1.1.34
=========================
- Insure that slurm_signal_job_step() is defined in srun for mvapich
...
...
This diff is collapsed.
Click to expand it.
src/plugins/sched/wiki2/job_signal.c
+
9
−
0
View file @
d0b71473
...
...
@@ -40,6 +40,12 @@
#include
"src/slurmctld/locks.h"
#include
"src/slurmctld/slurmctld.h"
/* translate a signal value to the numeric value, sig_ptr value
* can have three different forms:
* 1. A number
* 2. SIGUSR1 (or other suffix)
* 3. USR1
*/
static
uint16_t
_xlate_signal
(
char
*
sig_ptr
)
{
uint16_t
sig_val
;
...
...
@@ -52,6 +58,9 @@ static uint16_t _xlate_signal(char *sig_ptr)
return
sig_val
;
}
if
(
strncasecmp
(
sig_ptr
,
"SIG"
,
3
)
==
0
)
sig_ptr
+=
3
;
if
(
strncasecmp
(
sig_ptr
,
"HUP"
,
3
)
==
0
)
return
SIGHUP
;
if
(
strncasecmp
(
sig_ptr
,
"INT"
,
3
)
==
0
)
...
...
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