Skip to content
Snippets Groups Projects
Commit 1e5c978d authored by Moe Jette's avatar Moe Jette
Browse files
parent 81c24dc0
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,6 @@ static int _wait_bluegene_block_ready(resource_allocation_response_msg_t *alloc) ...@@ -239,7 +239,6 @@ static int _wait_bluegene_block_ready(resource_allocation_response_msg_t *alloc)
int max_delay = BG_FREE_PREVIOUS_BLOCK + BG_MIN_BLOCK_BOOT + int max_delay = BG_FREE_PREVIOUS_BLOCK + BG_MIN_BLOCK_BOOT +
(BG_INCR_BLOCK_BOOT * alloc->node_cnt); (BG_INCR_BLOCK_BOOT * alloc->node_cnt);
pending_job_id = alloc->job_id;
select_g_select_jobinfo_get(alloc->select_jobinfo, select_g_select_jobinfo_get(alloc->select_jobinfo,
SELECT_JOBDATA_BLOCK_ID, SELECT_JOBDATA_BLOCK_ID,
&block_id); &block_id);
...@@ -279,7 +278,6 @@ static int _wait_bluegene_block_ready(resource_allocation_response_msg_t *alloc) ...@@ -279,7 +278,6 @@ static int _wait_bluegene_block_ready(resource_allocation_response_msg_t *alloc)
is_ready = 0; is_ready = 0;
xfree(block_id); xfree(block_id);
pending_job_id = 0;
return is_ready; return is_ready;
} }
...@@ -464,6 +462,7 @@ allocate_nodes(void) ...@@ -464,6 +462,7 @@ allocate_nodes(void)
/* /*
* Allocation granted! * Allocation granted!
*/ */
pending_job_id = resp->job_id;
#ifdef HAVE_BG #ifdef HAVE_BG
if (!_wait_bluegene_block_ready(resp)) { if (!_wait_bluegene_block_ready(resp)) {
if(!destroy_job) if(!destroy_job)
......
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