Skip to content

Commit

Permalink
new tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyauble committed Oct 8, 2009
1 parent c4177fb commit 0b2d911
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion META
Expand Up @@ -11,7 +11,7 @@
Minor: 0 Minor: 0
Micro: 6 Micro: 6
Version: 2.0.6 Version: 2.0.6
Release: 1 Release: 3
## ##
# When changing API_CURRENT update src/common/slurm_protocol_common.h # When changing API_CURRENT update src/common/slurm_protocol_common.h
# with a new SLURM_PROTOCOL_VERSION signifing the old one and the version # with a new SLURM_PROTOCOL_VERSION signifing the old one and the version
Expand Down
21 changes: 6 additions & 15 deletions src/plugins/select/bluegene/block_allocator/block_allocator.c
Expand Up @@ -1894,22 +1894,13 @@ extern int set_all_bps_except(char *bps)
y = temp; y = temp;
temp = start % HOSTLIST_BASE; temp = start % HOSTLIST_BASE;
z = temp; z = temp;
if(ba_system_ptr->grid[x][y][z].state != NODE_STATE_IDLE) { if((ba_system_ptr->grid[x][y][z].state == NODE_STATE_UNKNOWN)
error("we can't use this node %c%c%c", || (ba_system_ptr->grid[x][y][z].state == NODE_STATE_IDLE))
alpha_num[x], ba_system_ptr->grid[x][y][z].state = NODE_STATE_END;
alpha_num[y],
alpha_num[z]);

return SLURM_ERROR;
}
ba_system_ptr->grid[x][y][z].state = NODE_STATE_END;
#else #else
if(ba_system_ptr->grid[x].state != NODE_STATE_IDLE) { if((ba_system_ptr->grid[x].state == NODE_STATE_UNKNOWN)
error("we can't use this node %d", x); || (ba_system_ptr->grid[x].state == NODE_STATE_IDLE))

ba_system_ptr->grid[x].state = NODE_STATE_END;
return SLURM_ERROR;
}
ba_system_ptr->grid[x].state = NODE_STATE_END;
#endif #endif
free(host); free(host);
} }
Expand Down
14 changes: 12 additions & 2 deletions src/plugins/select/bluegene/plugin/bg_block_info.c
Expand Up @@ -382,7 +382,17 @@ extern int update_block_list()
xfree(bg_record->target_name); xfree(bg_record->target_name);
bg_record->target_name = bg_record->target_name =
xstrdup(bg_record->user_name); xstrdup(bg_record->user_name);
} } else if((bg_record->state
== RM_PARTITION_DEALLOCATING)
&& (state == RM_PARTITION_CONFIGURING))
/* This is a funky state IBM says
isn't a bug, but all their
documentation says this doesn't
happen, but IBM says oh yeah, you
weren't really suppose to notice
that. So we will just skip this
state and act like this didn't happen. */
goto nochange_state;


bg_record->state = state; bg_record->state = state;


Expand Down Expand Up @@ -425,8 +435,8 @@ extern int update_block_list()
trigger_block_error(); trigger_block_error();
} }
updated = 1; updated = 1;

} }
nochange_state:


/* check the boot state */ /* check the boot state */
debug3("boot state for block %s is %d", debug3("boot state for block %s is %d",
Expand Down

0 comments on commit 0b2d911

Please sign in to comment.