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
80a9df11
Commit
80a9df11
authored
11 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Change task/cray logging to "error()"
The fprintf(stderr will generally fail as stderr will usually be closed.
parent
37ee8012
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
src/plugins/task/cray/task_cray.c
+1
-1
1 addition, 1 deletion
src/plugins/task/cray/task_cray.c
with
1 addition
and
1 deletion
src/plugins/task/cray/task_cray.c
+
1
−
1
View file @
80a9df11
...
@@ -369,7 +369,7 @@ extern int task_p_post_term (stepd_step_rec_t *job,
...
@@ -369,7 +369,7 @@ extern int task_p_post_term (stepd_step_rec_t *job,
// Check the result
// Check the result
if
(
status
==
0
)
{
if
(
status
==
0
)
{
// Cancel the job step, since we didn't find the exiting msg
// Cancel the job step, since we didn't find the exiting msg
fprintf
(
stderr
,
"Terminating job step, task %d improper exit
\n
"
,
error
(
"Terminating job step, task %d improper exit"
,
job
->
envtp
->
procid
);
job
->
envtp
->
procid
);
slurm_terminate_job_step
(
job
->
jobid
,
job
->
stepid
);
slurm_terminate_job_step
(
job
->
jobid
,
job
->
stepid
);
}
}
...
...
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