Skip to content
Snippets Groups Projects
Commit fcb7e94b authored by Moe Jette's avatar Moe Jette
Browse files

Set psetnum (I/O node code) at bglblock creation time (the IBM API is

 broken at this time, so this is just a placeholder for now).
parent 3526992f
No related branches found
No related tags found
No related merge requests found
This file describes changes in recent versions of SLURM. It primarily
documents those changes that are of interest to users and admins.
* Changes in SLURM 0.4.0 (production release)
=============================================
-- Specify number of I/O nodes associated with BlueGene partition
* Changes in SLURM 0.4.0-pre9
=============================
-- Change in /etc/init.d/slurm for RedHat and Suze compatability
......
......@@ -67,6 +67,7 @@
#include "bgl_job_run.h"
#include "state_test.h"
#define PSETS_PER_BP 8
#define USER_NAME "nobody"
/* Global variables */
......
......@@ -89,6 +89,8 @@ static void _print_list(List list)
*/
static void _pre_allocate(bgl_record_t *bgl_record)
{
int psets = (PSETS_PER_BP * bgl_record->bp_count);
rm_set_data(bgl_record->bgl_part, RM_PartitionBlrtsImg,
bluegene_blrts);
rm_set_data(bgl_record->bgl_part, RM_PartitionLinuxImg,
......@@ -101,6 +103,7 @@ static void _pre_allocate(bgl_record_t *bgl_record)
&bgl_record->conn_type);
rm_set_data(bgl_record->bgl_part, RM_PartitionMode,
&bgl_record->node_use);
rm_set_data(bgl_record->bgl_part, RM_PartitionPsetNum, &psets);
rm_set_data(bgl_record->bgl_part, RM_PartitionUserName, USER_NAME);
}
......
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