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

Don't boot partitions on assignment to user.

parent 25227d02
No related branches found
No related tags found
No related merge requests found
...@@ -226,6 +226,10 @@ static int _set_part_owner(pm_partition_id_t bgl_part_id, char *user) ...@@ -226,6 +226,10 @@ static int _set_part_owner(pm_partition_id_t bgl_part_id, char *user)
*/ */
static int _boot_part(pm_partition_id_t bgl_part_id) static int _boot_part(pm_partition_id_t bgl_part_id)
{ {
#ifdef USE_BGL_FILES
/* Due to various system problems, we do not want to boot BGL
* partitions when each job is started, but only at slurmctld
* startup on an as needed basis. */
int rc; int rc;
info("Booting partition %s", bgl_part_id); info("Booting partition %s", bgl_part_id);
...@@ -234,6 +238,7 @@ static int _boot_part(pm_partition_id_t bgl_part_id) ...@@ -234,6 +238,7 @@ static int _boot_part(pm_partition_id_t bgl_part_id)
bgl_part_id, bgl_err_str(rc)); bgl_part_id, bgl_err_str(rc));
return SLURM_ERROR; return SLURM_ERROR;
} }
#endif
return SLURM_SUCCESS; return SLURM_SUCCESS;
} }
......
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