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
e28e7efb
Commit
e28e7efb
authored
20 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
tested with 404 contains code for future versions.
parent
4075bfa6
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
src/plugins/select/bluegene/bgl_job_run.c
+4
-1
4 additions, 1 deletion
src/plugins/select/bluegene/bgl_job_run.c
src/plugins/select/bluegene/bluegene.c
+9
-0
9 additions, 0 deletions
src/plugins/select/bluegene/bluegene.c
with
13 additions
and
1 deletion
src/plugins/select/bluegene/bgl_job_run.c
+
4
−
1
View file @
e28e7efb
...
@@ -135,8 +135,11 @@ static int _remove_job(db_job_id_t job_id)
...
@@ -135,8 +135,11 @@ static int _remove_job(db_job_id_t job_id)
/* Cancel or remove the job */
/* Cancel or remove the job */
if
(
job_state
==
RM_JOB_RUNNING
)
{
if
(
job_state
==
RM_JOB_RUNNING
)
{
(
void
)
jm_signal_job
(
job_id
,
SIGKILL
);
debug
(
"I am sending the signal to job %d
\n
"
,
job_id
);
jm_signal_job
(
job_id
,
SIGKILL
);
debug
(
"I just sent the signal to job %d
\n
"
,
job_id
);
rc
=
jm_cancel_job
(
job_id
);
rc
=
jm_cancel_job
(
job_id
);
debug
(
"I just tried to cancel job %d
\n
"
,
job_id
);
}
else
}
else
rc
=
rm_remove_job
(
job_id
);
rc
=
rm_remove_job
(
job_id
);
if
(
rc
!=
STATUS_OK
)
{
if
(
rc
!=
STATUS_OK
)
{
...
...
This diff is collapsed.
Click to expand it.
src/plugins/select/bluegene/bluegene.c
+
9
−
0
View file @
e28e7efb
...
@@ -683,7 +683,16 @@ static int _delete_old_partitions(void)
...
@@ -683,7 +683,16 @@ static int _delete_old_partitions(void)
part_name
);
part_name
);
continue
;
continue
;
}
}
debug
(
"removing the jobs on partition %s
\n
"
,
(
char
*
)
part_name
);
term_jobs_on_part
(
part_name
);
debug
(
"destroying %s
\n
"
,(
char
*
)
part_name
);
rc
=
bgl_free_partition
(
part_name
);
rm_remove_partition
(
part_name
);
rm_remove_partition
(
part_name
);
debug
(
"done
\n
"
);
//sleep(3);
//sleep(3);
//debug("Removed Freed Partition %s",part_name);
//debug("Removed Freed Partition %s",part_name);
}
}
...
...
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