Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Shared resource bug

This prevented jobs from sharing nodes
  • Loading branch information...
commit ff45f184545619ce8048a6ccc7289d2bb2f83780 1 parent dd01673
Morris Jette jette authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/slurmctld/node_scheduler.c
2  src/slurmctld/node_scheduler.c
View
@@ -695,7 +695,7 @@ _resolve_shared_status(struct job_record *job_ptr, uint16_t part_max_share,
return 1;
if (cons_res_flag) {
- if ((job_ptr->details->share_res != 1) || /* 0 or NO_VAL */
+ if ((job_ptr->details->share_res == 0) ||
(job_ptr->details->whole_node == 1))
return 0;
return 1;
Please sign in to comment.
Something went wrong with that request. Please try again.