Permalink
Browse files

Shared resource bug

This prevented jobs from sharing nodes
  • Loading branch information...
1 parent dd01673 commit ff45f184545619ce8048a6ccc7289d2bb2f83780 @jette jette committed Mar 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/slurmctld/node_scheduler.c
@@ -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;

0 comments on commit ff45f18

Please sign in to comment.