extern int select_p_job_suspend(struct job_record *job_ptr, bool indf_susp) { if (job_ptr == NULL) return SLURM_SUCCESS; if (do_basil_switch(job_ptr, 1) != SLURM_SUCCESS) return SLURM_ERROR; return other_job_suspend(job_ptr, indf_susp); }
extern int select_p_job_suspend(struct job_record *job_ptr, bool indf_susp) { if (job_ptr == NULL) return SLURM_SUCCESS; if (slurmctld_primary && !_zero_size_job(job_ptr) && (do_basil_switch(job_ptr, 1) != SLURM_SUCCESS)) return SLURM_ERROR; return other_job_suspend(job_ptr, indf_susp); }
extern int select_p_job_suspend(struct job_record *job_ptr, bool indf_susp) { #ifdef HAVE_NATIVE_CRAY ListIterator i; struct step_record *step_ptr = NULL; // Make an event for each job step if (aeld_running) { i = list_iterator_create(job_ptr->step_list); while ((step_ptr = (struct step_record *)list_next(i)) != NULL) { _update_app(job_ptr, step_ptr, ALPSC_EV_SUSPEND); } list_iterator_destroy(i); } #endif return other_job_suspend(job_ptr, indf_susp); }
extern int select_p_job_suspend(struct job_record *job_ptr, bool indf_susp) { return other_job_suspend(job_ptr, indf_susp); }
extern int select_p_job_suspend(struct job_record *job_ptr) { return other_job_suspend(job_ptr); }