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
8cfe42d9
"README.rst" did not exist on "a2fce978995be8b7b8e41d8725149e4a45bb204f"
Commit
8cfe42d9
authored
16 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r14569:14574
https://eris.llnl.gov/svn/slurm/branches/slurm-1.2
parent
2cdb48a1
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
+2
-2
2 additions, 2 deletions
NEWS
src/srun/srun.c
+16
-6
16 additions, 6 deletions
src/srun/srun.c
with
18 additions
and
8 deletions
NEWS
+
2
−
2
View file @
8cfe42d9
...
...
@@ -407,13 +407,13 @@ documents those changes that are of interest to users and admins.
* Changes in SLURM 1.2.33
=========================
-- Cancelled or Failed jobs will now report ther
e
job and step id on exit
-- Cancelled or Failed jobs will now report the
i
r job and step id on exit
-- Add SPANK items available to get: SLURM_VERSION, SLURM_VERSION_MAJOR,
SLURM_VERISON_MINOR and SLURM_VERSION_MICRO.
-- Fixed handling of SIGPIPE in srun. Abort job.
-- Fix bug introduced to MVAPICH plugin preventing use of TotalView debugger.
-- Modify slurmctld to get srun/salloc network address based upon the incoming
message rather than hostname set by the user command (
more reliable
).
message rather than hostname set by the user command (
backport of logic in SLURM v1.3
).
* Changes in SLURM 1.2.32
=========================
...
...
This diff is collapsed.
Click to expand it.
src/srun/srun.c
+
16
−
6
View file @
8cfe42d9
...
...
@@ -120,6 +120,7 @@ static int _become_user (void);
static
int
_call_spank_local_user
(
srun_job_t
*
job
);
static
void
_define_symbols
(
void
);
static
void
_handle_intr
();
static
void
_handle_pipe
(
int
signo
);
static
void
_handle_signal
(
int
signo
);
static
void
_print_job_information
(
resource_allocation_response_msg_t
*
resp
);
static
void
_pty_restore
(
void
);
...
...
@@ -241,11 +242,6 @@ int srun(int ac, char **av)
if
(
!
job
||
create_job_step
(
job
)
<
0
)
exit
(
1
);
/* ignore sigpipe for steps. This is already done
* when allocating nodes elsewhere.
*/
xsignal
(
SIGPIPE
,
ignore_signal
);
}
else
{
got_alloc
=
1
;
/* Combined job allocation and job step launch */
...
...
@@ -1080,6 +1076,16 @@ static void _handle_intr()
}
}
static
void
_handle_pipe
(
int
signo
)
{
static
int
ending
=
0
;
if
(
ending
)
return
;
ending
=
1
;
slurm_step_launch_abort
(
job
->
step_ctx
);
}
static
void
_handle_signal
(
int
signo
)
{
debug2
(
"got signal %d"
,
signo
);
...
...
@@ -1116,7 +1122,7 @@ static int _setup_signals()
{
int
sigarray
[]
=
{
SIGINT
,
SIGQUIT
,
/*SIGTSTP,*/
SIGCONT
,
SIGTERM
,
SIGALRM
,
SIGUSR1
,
SIGUSR2
,
/*
SIGPIPE,*/
0
SIGALRM
,
SIGUSR1
,
SIGUSR2
,
/*SIGPIPE,*/
0
};
int
rc
=
SLURM_SUCCESS
,
i
=
0
,
signo
;
...
...
@@ -1125,6 +1131,10 @@ static int _setup_signals()
while
((
signo
=
sigarray
[
i
++
]))
xsignal
(
signo
,
_handle_signal
);
/* special case for SIGPIPE since we don't want to print stuff
* and get into a locked up state
*/
xsignal
(
SIGPIPE
,
_handle_pipe
);
return
rc
;
}
...
...
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