extern int slurm_sched_g_reconfig(void) { if ( slurm_sched_init() < 0 ) return SLURM_ERROR; gs_reconfig(); return (*(ops.reconfig))(); }
/* *********************************************************************** */ void slurm_sched_partition_change( void ) { if ( slurm_sched_init() < 0 ) return; if ( (slurm_get_preempt_mode() & PREEMPT_MODE_GANG) && (gs_reconfig() != SLURM_SUCCESS)) error( "cannot reconfigure gang scheduler" ); (*(g_sched_context->ops.partition_change))(); }
/* *********************************************************************** */ extern int slurm_sched_reconfig( void ) { if ( slurm_sched_init() < 0 ) return SLURM_ERROR; if ( (slurm_get_preempt_mode() & PREEMPT_MODE_GANG) && (gs_reconfig() != SLURM_SUCCESS)) error( "cannot reconfigure gang scheduler" ); return (*(g_sched_context->ops.reconfig))(); }