|
Lines 748-754
extern int do_basil_reserve(struct job_record *job_ptr)
Link Here
|
| 748 |
|
748 |
|
| 749 |
if (cray_conf->sub_alloc) { |
749 |
if (cray_conf->sub_alloc) { |
| 750 |
mppdepth = MAX(1, job_ptr->details->cpus_per_task); |
750 |
mppdepth = MAX(1, job_ptr->details->cpus_per_task); |
| 751 |
mppnppn = job_ptr->details->ntasks_per_node; |
751 |
if (!job_ptr->details->ntasks_per_node |
|
|
752 |
&& job_ptr->details->num_tasks) { |
| 753 |
mppnppn = (job_ptr->details->num_tasks + |
| 754 |
job_ptr->job_resrcs->nhosts - 1) / |
| 755 |
job_ptr->job_resrcs->nhosts; |
| 756 |
} else |
| 757 |
mppnppn = job_ptr->details->ntasks_per_node; |
| 752 |
} else { |
758 |
} else { |
| 753 |
/* always be 1 */ |
759 |
/* always be 1 */ |
| 754 |
mppdepth = 1; |
760 |
mppdepth = 1; |