Skip to content
Snippets Groups Projects
Commit 82b1a6d0 authored by Danny Auble's avatar Danny Auble
Browse files
parents d282ddc4 c9b9fc79
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,8 @@ documents those changes that are of interest to users and admins. ...@@ -56,6 +56,8 @@ documents those changes that are of interest to users and admins.
-- BLUEGENE - fixed epilog to wait until MMCS job is totally complete before -- BLUEGENE - fixed epilog to wait until MMCS job is totally complete before
finishing. finishing.
-- BLUEGENE - more robust checking for states when freeing blocks. -- BLUEGENE - more robust checking for states when freeing blocks.
-- Added correct files to the slurm.spec file for correct perl api rpm
creation.
* Changes in SLURM 2.2.0 * Changes in SLURM 2.2.0
======================== ========================
......
...@@ -435,7 +435,6 @@ rm -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/.packlist ...@@ -435,7 +435,6 @@ rm -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurm/.packlist
rm -f $RPM_BUILD_ROOT/%{_perlarchlibdir}/perllocal.pod rm -f $RPM_BUILD_ROOT/%{_perlarchlibdir}/perllocal.pod
rm -f $RPM_BUILD_ROOT/%{_perldir}/perllocal.pod rm -f $RPM_BUILD_ROOT/%{_perldir}/perllocal.pod
rm -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/.packlist rm -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/.packlist
rm -f $RPM_BUILD_ROOT/%{_perldir}/auto/Slurmdb/autosplit.ix
%if ! %{slurm_with blcr} %if ! %{slurm_with blcr}
# remove these if they exist # remove these if they exist
...@@ -619,6 +618,7 @@ rm -rf $RPM_BUILD_ROOT ...@@ -619,6 +618,7 @@ rm -rf $RPM_BUILD_ROOT
%{_perldir}/Slurmdb.pm %{_perldir}/Slurmdb.pm
%{_perldir}/auto/Slurmdb/Slurmdb.so %{_perldir}/auto/Slurmdb/Slurmdb.so
%{_perldir}/auto/Slurmdb/Slurmdb.bs %{_perldir}/auto/Slurmdb/Slurmdb.bs
%{_perldir}/auto/Slurmdb/autosplit.ix
%{_perlman3dir}/Slurm* %{_perlman3dir}/Slurm*
############################################################################# #############################################################################
......
...@@ -389,7 +389,7 @@ void slurm_sprint_mem_bind_type(char *str, mem_bind_type_t mem_bind_type) ...@@ -389,7 +389,7 @@ void slurm_sprint_mem_bind_type(char *str, mem_bind_type_t mem_bind_type)
void slurm_print_cpu_bind_help(void) void slurm_print_cpu_bind_help(void)
{ {
if (_have_task_affinity()) { if (!_have_task_affinity()) {
printf("CPU bind options not supported with current " printf("CPU bind options not supported with current "
"configuration\n"); "configuration\n");
} else { } else {
......
...@@ -1675,7 +1675,8 @@ preempt: ...@@ -1675,7 +1675,8 @@ preempt:
"at %ld on %s(%s) %d", "at %ld on %s(%s) %d",
local_mode, mode, job_ptr->job_id, local_mode, mode, job_ptr->job_id,
starttime, bg_record->bg_block_id, starttime, bg_record->bg_block_id,
bg_record->nodes, SELECT_IS_MODE_RUN_NOW(local_mode)); bg_record->nodes,
SELECT_IS_MODE_RUN_NOW(local_mode));
if (SELECT_IS_MODE_RUN_NOW(local_mode)) { if (SELECT_IS_MODE_RUN_NOW(local_mode)) {
set_select_jobinfo( set_select_jobinfo(
......
...@@ -406,7 +406,8 @@ static void _remove_jobs_on_block_and_reset(rm_job_list_t *job_list, ...@@ -406,7 +406,8 @@ static void _remove_jobs_on_block_and_reset(rm_job_list_t *job_list,
#else #else
/* Simpulate better job completion since on a real system it /* Simpulate better job completion since on a real system it
* could take up minutes to kill a job. */ * could take up minutes to kill a job. */
sleep(2); if (jobs)
sleep(2);
#endif #endif
/* remove the block's users */ /* remove the block's users */
slurm_mutex_lock(&block_state_mutex); slurm_mutex_lock(&block_state_mutex);
...@@ -482,6 +483,11 @@ static void _reset_block_list(List block_list) ...@@ -482,6 +483,11 @@ static void _reset_block_list(List block_list)
while ((bg_record = list_next(itr))) { while ((bg_record = list_next(itr))) {
info("Queue clearing of users of BG block %s", info("Queue clearing of users of BG block %s",
bg_record->bg_block_id); bg_record->bg_block_id);
#ifdef HAVE_BG_FILES
/* simulate jobs running and need to be cleared from MMCS */
if (bg_record->job_ptr)
jobs = 1;
#endif
_remove_jobs_on_block_and_reset(job_list, jobs, _remove_jobs_on_block_and_reset(job_list, jobs,
bg_record->bg_block_id); bg_record->bg_block_id);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment